| /rocksdb-6.9/tools/block_cache_analyzer/ |
| D | block_cache_pysim_test.py | 86 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/ |
| D | cache_test.cc | 107 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/ |
| D | options.cc | 418 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/ |
| D | cachable_entry.h | 46 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
|
| D | reader_common.cc | 16 Cache* cache = reinterpret_cast<Cache*>(arg); in ForceReleaseCachedEntry() local
|
| D | block_based_table_factory.cc | 490 std::shared_ptr<Cache> cache; in ParseBlockBasedTableOption() local
|
| /rocksdb-6.9/java/rocksjni/ |
| D | persistent_cache.cc | 35 auto* cache = in Java_org_rocksdb_PersistentCache_newPersistentCache() local 53 auto* cache = in Java_org_rocksdb_PersistentCache_disposeInternal() local
|
| /rocksdb-6.9/memtable/ |
| D | write_buffer_manager_test.cc | 59 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
|
| D | write_buffer_manager.cc | 52 std::shared_ptr<Cache> cache) in WriteBufferManager()
|
| /rocksdb-6.9/env/ |
| D | io_posix_test.cc | 34 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/ |
| D | options_util.cc | 20 std::shared_ptr<Cache>* cache) { in LoadOptionsFromFile() 78 std::shared_ptr<Cache>* cache) { in LoadLatestOptions()
|
| D | options_util_test.cc | 101 std::shared_ptr<Cache> cache = NewLRUCache(1 * 1024); in TEST_F() local
|
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | persistent_cache_bench.cc | 67 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
|
| D | persistent_cache_test.cc | 133 auto cache = NewTieredCache(max_volatile_cache_size, opt); in NewTieredCache() local 290 std::shared_ptr<PersistentCache> cache; in TEST_F() local
|
| D | block_cache_tier.cc | 397 std::shared_ptr<PersistentCache>* cache) { in NewPersistentCache()
|
| D | block_cache_tier_file.h | 76 explicit Writer(PersistentCacheTier* const cache) : cache_(cache) {} in Writer()
|
| /rocksdb-6.9/db/ |
| D | db_block_cache_test.cc | 156 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
|
| D | table_cache.cc | 38 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()
|
| D | db_logical_block_size_cache_test.cc | 16 EnvWithCustomLogicalBlockSizeCache(Env* env, LogicalBlockSizeCache* cache) in EnvWithCustomLogicalBlockSizeCache()
|
| /rocksdb-6.9/utilities/memory/ |
| D | memory_util.cc | 43 for (const auto* cache : cache_set) { in GetApproximateMemoryUsageByType() local
|
| /rocksdb-6.9/java/src/main/java/org/rocksdb/ |
| D | WriteBufferManager.java | 26 public WriteBufferManager(final long bufferSizeBytes, final Cache cache){ in WriteBufferManager()
|
| /rocksdb-6.9/java/src/test/java/org/rocksdb/ |
| D | BlockBasedTableConfigTest.java | 105 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()
|
| D | MemoryUtilTest.java | 39 try (final Cache cache = new LRUCache(8 * 1024 * 1024); in getApproximateMemoryUsageByType()
|
| /rocksdb-6.9/utilities/simulator_cache/ |
| D | sim_cache.cc | 157 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/ |
| D | options_file_example.cc | 48 auto cache = NewLRUCache(1 * 1024 * 1024 * 1024); in main() local
|