Lines Matching refs:bbto

44   BlockBasedTableOptions bbto;  in TEST_P()  local
46 bbto.no_block_cache = false; in TEST_P()
47 bbto.cache_index_and_filter_blocks = true; in TEST_P()
48 bbto.block_cache = NewLRUCache(1); in TEST_P()
50 bbto.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_P()
51 bbto.whole_key_filtering = false; in TEST_P()
52 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
61 if (bbto.block_cache) { in TEST_P()
62 bbto.block_cache->EraseUnRefEntries(); in TEST_P()
2073 BlockBasedTableOptions bbto; in TEST_F() local
2077 bbto.use_delta_encoding = false; in TEST_F()
2079 bbto.block_cache = NewLRUCache(1024 * 1024 * 1024); in TEST_F()
2080 bbto.read_amp_bytes_per_bit = bytes_per_bit[k]; in TEST_F()
2081 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
2182 BlockBasedTableOptions bbto; in TEST_F() local
2184 bbto.use_delta_encoding = false; in TEST_F()
2186 bbto.block_cache = lru_cache; in TEST_F()
2187 bbto.read_amp_bytes_per_bit = bytes_per_bit[k]; in TEST_F()
2188 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
2877 BlockBasedTableOptions bbto; in TEST_F() local
2878 bbto.block_size = 16384; in TEST_F()
2879 bbto.no_block_cache = true; in TEST_F()
2880 options.table_factory.reset(new BlockBasedTableFactory(bbto)); in TEST_F()
3604 BlockBasedTableOptions bbto; in TEST_F() local
3605 bbto.no_block_cache = false; in TEST_F()
3606 bbto.cache_index_and_filter_blocks = false; in TEST_F()
3607 bbto.block_cache = NewLRUCache(100000); in TEST_F()
3608 bbto.block_size = 400; // small block size in TEST_F()
3609 options.table_factory.reset(new BlockBasedTableFactory(bbto)); in TEST_F()
3623 ASSERT_EQ(0, bbto.block_cache->GetPinnedUsage()); in TEST_F()
3634 ASSERT_GT(bbto.block_cache->GetPinnedUsage(), 0); in TEST_F()
3635 ASSERT_LT(bbto.block_cache->GetPinnedUsage(), 800); in TEST_F()
3643 ASSERT_GT(bbto.block_cache->GetPinnedUsage(), 0); in TEST_F()
3644 ASSERT_LT(bbto.block_cache->GetPinnedUsage(), 800); in TEST_F()
3649 ASSERT_GT(bbto.block_cache->GetPinnedUsage(), 0); in TEST_F()
3650 ASSERT_LT(bbto.block_cache->GetPinnedUsage(), 800); in TEST_F()
3652 ASSERT_EQ(0, bbto.block_cache->GetPinnedUsage()); in TEST_F()
3662 bbto.block_cache->SetCapacity(0); in TEST_F()
3663 bbto.block_cache->SetCapacity(100000); in TEST_F()
4000 BlockBasedTableOptions bbto; in TEST_F() local
4001 bbto.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_F()
4002 bbto.whole_key_filtering = false; in TEST_F()
4003 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
4040 BlockBasedTableOptions bbto; in TEST_F() local
4041 bbto.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_F()
4042 bbto.whole_key_filtering = false; in TEST_F()
4043 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()