| /rocksdb-6.9/java/src/main/java/org/rocksdb/ |
| D | LRUCache.java | 11 public class LRUCache extends Cache { class 18 public LRUCache(final long capacity) { in LRUCache() method in LRUCache 33 public LRUCache(final long capacity, final int numShardBits) { in LRUCache() method in LRUCache 50 public LRUCache(final long capacity, final int numShardBits, in LRUCache() method in LRUCache 72 public LRUCache(final long capacity, final int numShardBits, in LRUCache() method in LRUCache
|
| /rocksdb-6.9/cache/ |
| D | lru_cache.cc | 466 LRUCache::LRUCache(size_t capacity, int num_shard_bits, in LRUCache() function in ROCKSDB_NAMESPACE::LRUCache 484 LRUCache::~LRUCache() { in ~LRUCache() 494 CacheShard* LRUCache::GetShard(int shard) { in GetShard() 498 const CacheShard* LRUCache::GetShard(int shard) const { in GetShard() 502 void* LRUCache::Value(Handle* handle) { in Value() 506 size_t LRUCache::GetCharge(Handle* handle) const { in GetCharge() 510 uint32_t LRUCache::GetHash(Handle* handle) const { in GetHash() 514 void LRUCache::DisownData() { in DisownData() 529 size_t LRUCache::TEST_GetLRUSize() { in TEST_GetLRUSize() 537 double LRUCache::GetHighPriPoolRatio() { in GetHighPriPoolRatio() [all …]
|
| D | lru_cache.h | 308 class LRUCache 314 LRUCache(size_t capacity, int num_shard_bits, bool strict_capacity_limit, 320 virtual ~LRUCache();
|
| /rocksdb-6.9/java/src/test/java/org/rocksdb/ |
| D | MemoryUtilTest.java | 39 try (final Cache cache = new LRUCache(8 * 1024 * 1024); in getApproximateMemoryUsageByType() 100 try (final Cache cache1 = new LRUCache(1 * 1024 * 1024); in getApproximateMemoryUsageByTypeMultiple() 107 final Cache cache2 = new LRUCache(1 * 1024 * 1024); in getApproximateMemoryUsageByTypeMultiple()
|
| 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() 175 try (final Cache compressedCache = new LRUCache(8 * 1024 * 1024); in blockCacheCompressedIntegration()
|
| D | LRUCacheTest.java | 22 try(final Cache lruCache = new LRUCache(capacity, in newLRUCache()
|
| D | DBOptionsTest.java | 451 final Cache cache = new LRUCache(1 * 1024 * 1024); in setWriteBufferManager() 461 final Cache cache = new LRUCache(1 * 1024 * 1024); in setWriteBufferManagerWithZeroBufferSize() 654 try(final Cache lruCache = new LRUCache(1000)) { in rowCache()
|
| D | OptionsTest.java | 670 final Cache cache = new LRUCache(1 * 1024 * 1024); in setWriteBufferManager() 680 final Cache cache = new LRUCache(1 * 1024 * 1024); in setWriteBufferManagerWithZeroBufferSize() 873 try(final Cache lruCache = new LRUCache(1000)) { in rowCache()
|
| /rocksdb-6.9/options/ |
| D | options_test.cc | 604 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>( in TEST_F() 611 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>( in TEST_F() 628 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>(new_opt.block_cache) in TEST_F() 639 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>(new_opt.block_cache_compressed) in TEST_F() 654 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>( in TEST_F() 661 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>(new_opt.block_cache_compressed) in TEST_F() 677 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>(new_opt.block_cache) in TEST_F() 685 ASSERT_EQ(std::dynamic_pointer_cast<LRUCache>(new_opt.block_cache_compressed) in TEST_F()
|
| /rocksdb-6.9/db/ |
| D | db_block_cache_test.cc | 436 class MockCache : public LRUCache { 442 : LRUCache((size_t)1 << 25 /*capacity*/, 0 /*num_shard_bits*/, in MockCache() 453 return LRUCache::Insert(key, value, charge, deleter, handle, priority); in Insert()
|
| D | db_test.cc | 6338 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F() 6347 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F() 6352 reinterpret_cast<LRUCache*>(options.row_cache.get())->TEST_GetLRUSize(), in TEST_F()
|
| /rocksdb-6.9/tools/block_cache_analyzer/ |
| D | block_cache_pysim_test.py | 16 LRUCache, 691 test_lru_cache(LRUCache(3, enable_cache_row_key=0), custom_hashtable=False)
|
| D | block_cache_pysim.py | 1456 class LRUCache(Cache): class 1462 super(LRUCache, self).__init__(cache_size, enable_cache_row_key) 1626 return LRUCache(cache_size, enable_cache_row_key)
|
| /rocksdb-6.9/java/ |
| D | CMakeLists.txt | 155 src/main/java/org/rocksdb/LRUCache.java 421 org.rocksdb.LRUCache
|
| D | Makefile | 39 org.rocksdb.LRUCache\
|
| /rocksdb-6.9/ |
| D | HISTORY.md | 427 * With LRUCache, when high_pri_pool_ratio > 0, midpoint insertion strategy will be enabled to put l…
|