Ticket #7017: test_simple_seg_storage.cpp.2.patch
File test_simple_seg_storage.cpp.2.patch, 859 bytes (added by , 10 years ago) |
---|
-
libs/pool/test/test_simple_seg_storage.cpp
156 156 test_simp_seg_store tstore2; 157 157 char* const pc2 = track_allocator::malloc(75); 158 158 tstore2.add_block(pc2, 24, partition_sz); 159 tstore2.add_block(pc2 + 4 9, 24, partition_sz);160 tstore2.add_block(pc2 + 2 5, 24, partition_sz);159 tstore2.add_block(pc2 + 48, 24, partition_sz); 160 tstore2.add_block(pc2 + 24, 24, partition_sz); 161 161 tstore2.add_block(track_allocator::malloc(23), 23, partition_sz); 162 162 std::size_t nchunk_ref = (3*(24/partition_sz)) + (23/partition_sz); 163 163 for(nchunk = 0; !tstore2.empty(); tstore2.malloc(), ++nchunk) {}