Lines Matching refs:table_options

136   BlockBasedTableOptions table_options;  in TEST_F()  local
137 table_options.cache_index_and_filter_blocks = true; in TEST_F()
138 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
139 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
1062 BlockBasedTableOptions table_options; in TEST_F() local
1063 table_options.block_size = kBlockSizeBytes; in TEST_F()
1118 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
1190 BlockBasedTableOptions table_options; in TEST_F() local
1191 table_options.cache_index_and_filter_blocks = true; in TEST_F()
1192 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
1484 BlockBasedTableOptions table_options; in CreateTwoLevels() local
1485 table_options.cache_index_and_filter_blocks = true; in CreateTwoLevels()
1486 table_options.pin_l0_filter_and_index_blocks_in_cache = true; in CreateTwoLevels()
1487 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in CreateTwoLevels()
1488 options->table_factory.reset(new BlockBasedTableFactory(table_options)); in CreateTwoLevels()
1498 table_options.block_cache = NewLRUCache(64 * 1024); in CreateTwoLevels()
1499 options->table_factory.reset(NewBlockBasedTableFactory(table_options)); in CreateTwoLevels()
1509 table_options.block_cache->EraseUnRefEntries(); in CreateTwoLevels()
1524 BlockBasedTableOptions table_options; in TEST_P() local
1525 table_options.cache_index_and_filter_blocks = true; in TEST_P()
1526 table_options.pin_l0_filter_and_index_blocks_in_cache = true; in TEST_P()
1527 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_P()
1528 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1961 BlockBasedTableOptions table_options; in TEST_F() local
1962 table_options.persistent_cache.reset( in TEST_F()
1964 table_options.no_block_cache = true; in TEST_F()
1965 table_options.block_cache = bsize ? NewLRUCache(bsize) : nullptr; in TEST_F()
1966 table_options.block_cache_compressed = nullptr; in TEST_F()
1967 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
2640 BlockBasedTableOptions* table_options = in TEST_F() local
2643 ASSERT_TRUE(table_options != nullptr); in TEST_F()
2644 std::shared_ptr<Cache> cache = table_options->block_cache; in TEST_F()
3087 BlockBasedTableOptions table_options; in TEST_F() local
3088 table_options.no_block_cache = true; in TEST_F()
3089 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
3757 BlockBasedTableOptions table_options; in TEST_F() local
3758 table_options.cache_index_and_filter_blocks = true; in TEST_F()
3759 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
4311 BlockBasedTableOptions table_options; in TEST_F() local
4313 table_options.block_size = 300; in TEST_F()
4314 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_F()
4315 table_options.index_shortening = in TEST_F()
4317 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
4373 BlockBasedTableOptions table_options; in TEST_F() local
4383 table_options.partition_filters = use_partitioned_filter; in TEST_F()
4385 table_options.index_type = in TEST_F()
4388 table_options.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_F()
4390 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
4532 BlockBasedTableOptions table_options; in TEST_F() local
4534 table_options.block_size = 300; in TEST_F()
4535 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_F()
4536 table_options.index_shortening = in TEST_F()
4538 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
4575 BlockBasedTableOptions table_options; in TEST_F() local
4577 table_options.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_F()
4578 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()