Searched refs:ShardedCache (Results 1 – 7 of 7) sorted by relevance
| /rocksdb-6.9/cache/ |
| D | sharded_cache.cc | 18 ShardedCache::ShardedCache(size_t capacity, int num_shard_bits, in ShardedCache() function in ROCKSDB_NAMESPACE::ShardedCache 27 void ShardedCache::SetCapacity(size_t capacity) { in SetCapacity() 59 bool ShardedCache::Ref(Handle* handle) { in Ref() 69 void ShardedCache::Erase(const Slice& key) { in Erase() 74 uint64_t ShardedCache::NewId() { in NewId() 78 size_t ShardedCache::GetCapacity() const { in GetCapacity() 83 bool ShardedCache::HasStrictCapacityLimit() const { in HasStrictCapacityLimit() 88 size_t ShardedCache::GetUsage() const { in GetUsage() 98 size_t ShardedCache::GetUsage(Handle* handle) const { in GetUsage() 102 size_t ShardedCache::GetPinnedUsage() const { in GetPinnedUsage() [all …]
|
| D | sharded_cache.h | 56 class ShardedCache : public Cache { 58 ShardedCache(size_t capacity, int num_shard_bits, bool strict_capacity_limit, 60 virtual ~ShardedCache() = default;
|
| D | cache_test.cc | 745 ShardedCache* sc = dynamic_cast<ShardedCache*>(cache.get()); in TEST_P() 749 sc = dynamic_cast<ShardedCache*>(cache.get()); in TEST_P() 753 sc = dynamic_cast<ShardedCache*>(cache.get()); in TEST_P()
|
| D | clock_cache.cc | 702 class ClockCache final : public ShardedCache { 706 : ShardedCache(capacity, num_shard_bits, strict_capacity_limit) { in ClockCache()
|
| D | lru_cache.h | 312 : public ShardedCache {
|
| D | lru_cache.cc | 471 : ShardedCache(capacity, num_shard_bits, strict_capacity_limit, in LRUCache()
|
| /rocksdb-6.9/options/ |
| D | options_test.cc | 601 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 608 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 624 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 634 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 651 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 658 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 674 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F() 682 ASSERT_EQ(std::dynamic_pointer_cast<ShardedCache>( in TEST_F()
|