Lines Matching refs:table_options
38 BlockBasedTableOptions table_options; in GetTableOptions() local
40 table_options.block_size = 1; in GetTableOptions()
41 return table_options; in GetTableOptions()
44 Options GetOptions(const BlockBasedTableOptions& table_options) { in GetOptions() argument
50 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in GetOptions()
152 auto table_options = GetTableOptions(); in TEST_F() local
153 auto options = GetOptions(table_options); in TEST_F()
157 table_options.block_cache = cache; in TEST_F()
158 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
176 auto table_options = GetTableOptions(); in TEST_F() local
177 auto options = GetOptions(table_options); in TEST_F()
181 table_options.block_cache = cache; in TEST_F()
182 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
229 auto table_options = GetTableOptions(); in TEST_F() local
230 auto options = GetOptions(table_options); in TEST_F()
236 table_options.block_cache = cache; in TEST_F()
237 table_options.block_cache_compressed = compressed_cache; in TEST_F()
238 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
296 BlockBasedTableOptions table_options; in TEST_F() local
297 table_options.cache_index_and_filter_blocks = true; in TEST_F()
298 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
299 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
349 auto table_options = GetTableOptions(); in TEST_F() local
350 auto options = GetOptions(table_options); in TEST_F()
354 table_options.block_cache = cache; in TEST_F()
355 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
382 BlockBasedTableOptions table_options; in TEST_F() local
383 table_options.cache_index_and_filter_blocks = true; in TEST_F()
391 table_options.block_cache = cache; in TEST_F()
392 table_options.filter_policy.reset(NewBloomFilterPolicy(20, true)); in TEST_F()
393 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
467 BlockBasedTableOptions table_options; in TEST_F() local
468 table_options.cache_index_and_filter_blocks = true; in TEST_F()
469 table_options.block_cache.reset(new MockCache()); in TEST_F()
470 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
471 table_options.cache_index_and_filter_blocks_with_high_priority = in TEST_F()
473 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
525 BlockBasedTableOptions table_options; in TEST_F() local
526 table_options.cache_index_and_filter_blocks = false; in TEST_F()
527 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
528 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
580 BlockBasedTableOptions table_options; in TEST_F() local
584 table_options.block_cache = NewLRUCache(8 * 1024); in TEST_F()
585 table_options.block_cache_compressed = nullptr; in TEST_F()
586 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
590 table_options.no_block_cache = true; in TEST_F()
591 table_options.block_cache = nullptr; in TEST_F()
592 table_options.block_cache_compressed = NewLRUCache(8 * 1024); in TEST_F()
593 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
597 table_options.block_cache = NewLRUCache(1024); in TEST_F()
598 table_options.block_cache_compressed = NewLRUCache(8 * 1024); in TEST_F()
599 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
604 table_options.block_cache = NewLRUCache(1024 * 1024); in TEST_F()
605 table_options.block_cache_compressed = NewLRUCache(8 * 1024 * 1024); in TEST_F()
606 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_F()
709 BlockBasedTableOptions table_options; in TEST_F() local
710 table_options.cache_index_and_filter_blocks = true; in TEST_F()
711 table_options.block_cache.reset(new MockCache()); in TEST_F()
712 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()