Searched refs:cache_opts (Results 1 – 3 of 3) sorted by relevance
545 std::shared_ptr<Cache> NewLRUCache(const LRUCacheOptions& cache_opts) { in NewLRUCache() argument546 return NewLRUCache(cache_opts.capacity, cache_opts.num_shard_bits, in NewLRUCache()547 cache_opts.strict_capacity_limit, in NewLRUCache()548 cache_opts.high_pri_pool_ratio, in NewLRUCache()549 cache_opts.memory_allocator, cache_opts.use_adaptive_mutex, in NewLRUCache()550 cache_opts.metadata_charge_policy); in NewLRUCache()
495 LRUCacheOptions cache_opts; in ParseBlockBasedTableOption() local496 if (!ParseOptionHelper(reinterpret_cast<char*>(&cache_opts), in ParseBlockBasedTableOption()500 cache = NewLRUCache(cache_opts); in ParseBlockBasedTableOption()
121 extern std::shared_ptr<Cache> NewLRUCache(const LRUCacheOptions& cache_opts);