Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 37) sorted by relevance

12

/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_pysim_test.py86 def assert_metrics(cache, expected_value, expected_value_size=1, custom_hashtable=True): argument
128 def test_cache(cache, expected_value, custom_hashtable=True): argument
259 def test_lru_cache(cache, custom_hashtable): argument
290 def test_mix(cache): argument
433 def test_hybrid(cache): argument
/rocksdb-6.9/cache/
Dcache_test.cc107 int Lookup(std::shared_ptr<Cache> cache, int key) { in Lookup()
116 void Insert(std::shared_ptr<Cache> cache, int key, int value, in Insert()
121 void Erase(std::shared_ptr<Cache> cache, int key) { in Erase()
447 auto cache = NewCache(1, 0, false); in TEST_P() local
457 Cache* const cache = static_cast<Cache*>(value); in TEST_P() local
464 std::shared_ptr<Cache> cache = NewCache(10, 0, false); in TEST_P() local
536 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
551 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
571 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
616 std::shared_ptr<Cache> cache = NewCache(5, 0, false); in TEST_P() local
[all …]
/rocksdb-6.9/options/
Doptions.cc418 std::shared_ptr<Cache> cache = NewLRUCache(16 << 20); in OptimizeForSmallDb() local
476 DBOptions* DBOptions::OptimizeForSmallDb(std::shared_ptr<Cache>* cache) { in OptimizeForSmallDb()
490 std::shared_ptr<Cache>* cache) { in OptimizeForSmallDb()
603 ReadOptions::ReadOptions(bool cksum, bool cache) in ReadOptions()
/rocksdb-6.9/table/block_based/
Dcachable_entry.h46 CachableEntry(T* value, Cache* cache, Cache::Handle* cache_handle, in CachableEntry()
164 void SetCachedValue(T* value, Cache* cache, Cache::Handle* cache_handle) { in SetCachedValue()
200 Cache* const cache = static_cast<Cache*>(arg1); in ReleaseCacheHandle() local
Dreader_common.cc16 Cache* cache = reinterpret_cast<Cache*>(arg); in ForceReleaseCachedEntry() local
Dblock_based_table_factory.cc490 std::shared_ptr<Cache> cache; in ParseBlockBasedTableOption() local
/rocksdb-6.9/java/rocksjni/
Dpersistent_cache.cc35 auto* cache = in Java_org_rocksdb_PersistentCache_newPersistentCache() local
53 auto* cache = in Java_org_rocksdb_PersistentCache_disposeInternal() local
/rocksdb-6.9/memtable/
Dwrite_buffer_manager_test.cc59 std::shared_ptr<Cache> cache = NewLRUCache(co); in TEST_F() local
133 std::shared_ptr<Cache> cache = NewLRUCache(1024 * 1024 * 1024, 4); in TEST_F() local
Dwrite_buffer_manager.cc52 std::shared_ptr<Cache> cache) in WriteBufferManager()
/rocksdb-6.9/env/
Dio_posix_test.cc34 LogicalBlockSizeCache cache(get_fd_block_size, get_dir_block_size); in TEST_F() local
100 LogicalBlockSizeCache cache(get_fd_block_size, get_dir_block_size); in TEST_F() local
/rocksdb-6.9/utilities/options/
Doptions_util.cc20 std::shared_ptr<Cache>* cache) { in LoadOptionsFromFile()
78 std::shared_ptr<Cache>* cache) { in LoadLatestOptions()
Doptions_util_test.cc101 std::shared_ptr<Cache> cache = NewLRUCache(1 * 1024); in TEST_F() local
/rocksdb-6.9/utilities/persistent_cache/
Dpersistent_cache_bench.cc67 std::unique_ptr<PersistentCacheTier> cache(new BlockCacheTier(opt)); in NewBlockCache() local
113 explicit CacheTierBenchmark(std::shared_ptr<PersistentCacheTier>&& cache) in CacheTierBenchmark()
332 std::shared_ptr<ROCKSDB_NAMESPACE::PersistentCacheTier> cache; in main() local
Dpersistent_cache_test.cc133 auto cache = NewTieredCache(max_volatile_cache_size, opt); in NewTieredCache() local
290 std::shared_ptr<PersistentCache> cache; in TEST_F() local
Dblock_cache_tier.cc397 std::shared_ptr<PersistentCache>* cache) { in NewPersistentCache()
Dblock_cache_tier_file.h76 explicit Writer(PersistentCacheTier* const cache) : cache_(cache) {} in Writer()
/rocksdb-6.9/db/
Ddb_block_cache_test.cc156 std::shared_ptr<Cache> cache = NewLRUCache(0, 0, false); in TEST_F() local
180 std::shared_ptr<Cache> cache = NewLRUCache(0, 0, false); in TEST_F() local
234 std::shared_ptr<Cache> cache = NewLRUCache(0, 0, false); in TEST_F() local
353 std::shared_ptr<Cache> cache = NewLRUCache(10, 0, true); in TEST_F() local
390 std::shared_ptr<Cache> cache = NewLRUCache(co); in TEST_F() local
Dtable_cache.cc38 Cache* cache = reinterpret_cast<Cache*>(arg1); in UnrefEntry() local
61 const FileOptions& file_options, Cache* const cache, in TableCache()
606 void TableCache::Evict(Cache* cache, uint64_t file_number) { in Evict()
Ddb_logical_block_size_cache_test.cc16 EnvWithCustomLogicalBlockSizeCache(Env* env, LogicalBlockSizeCache* cache) in EnvWithCustomLogicalBlockSizeCache()
/rocksdb-6.9/utilities/memory/
Dmemory_util.cc43 for (const auto* cache : cache_set) { in GetApproximateMemoryUsageByType() local
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DWriteBufferManager.java26 public WriteBufferManager(final long bufferSizeBytes, final Cache cache){ in WriteBufferManager()
/rocksdb-6.9/java/src/test/java/org/rocksdb/
DBlockBasedTableConfigTest.java105 final Cache cache = new LRUCache(17 * 1024 * 1024); in blockCache()
114 try (final Cache cache = new LRUCache(8 * 1024 * 1024); in blockCacheIntegration()
159 try (final Cache cache = new LRUCache(17 * 1024 * 1024); in blockCacheCompressed()
DMemoryUtilTest.java39 try (final Cache cache = new LRUCache(8 * 1024 * 1024); in getApproximateMemoryUsageByType()
/rocksdb-6.9/utilities/simulator_cache/
Dsim_cache.cc157 SimCacheImpl(std::shared_ptr<Cache> sim_cache, std::shared_ptr<Cache> cache) in SimCacheImpl()
332 std::shared_ptr<SimCache> NewSimCache(std::shared_ptr<Cache> cache, in NewSimCache()
342 std::shared_ptr<Cache> cache, in NewSimCache()
/rocksdb-6.9/examples/
Doptions_file_example.cc48 auto cache = NewLRUCache(1 * 1024 * 1024 * 1024); in main() local

12