| /rocksdb-6.9/cache/ |
| D | cache_test.cc | 125 int Lookup(int key) { in Lookup() function in ROCKSDB_NAMESPACE::CacheTest 126 return Lookup(cache_, key); in Lookup() 281 ASSERT_EQ(-1, Lookup(100)); in TEST_P() 306 ASSERT_EQ(2, Lookup(1)); in TEST_P() 347 ASSERT_EQ(-1, Lookup(100)); in TEST_P() 368 ASSERT_EQ(-1, Lookup(200)); in TEST_P() 394 ASSERT_EQ(-1, Lookup(100)); in TEST_P() 423 ASSERT_EQ(-1, Lookup(100)); in TEST_P() 424 ASSERT_EQ(-1, Lookup(101)); in TEST_P() 425 ASSERT_EQ(-1, Lookup(102)); in TEST_P() [all …]
|
| D | lru_cache_test.cc | 48 bool Lookup(const std::string& key) { in Lookup() function in ROCKSDB_NAMESPACE::LRUCacheTest 57 bool Lookup(char key) { return Lookup(std::string(1, key)); } in Lookup() function in ROCKSDB_NAMESPACE::LRUCacheTest 104 ASSERT_FALSE(Lookup("b")); in TEST_F() 106 ASSERT_TRUE(Lookup("e")); in TEST_F() 108 ASSERT_TRUE(Lookup("z")); in TEST_F() 112 ASSERT_TRUE(Lookup("d")); in TEST_F() 135 ASSERT_TRUE(Lookup("d")); in TEST_F() 170 ASSERT_TRUE(Lookup("v")); in TEST_F() 174 ASSERT_TRUE(Lookup("X")); in TEST_F() 176 ASSERT_TRUE(Lookup("Z")); in TEST_F() [all …]
|
| D | sharded_cache.h | 32 virtual Cache::Handle* Lookup(const Slice& key, uint32_t hash) = 0; 76 virtual Handle* Lookup(const Slice& key, Statistics* stats) override;
|
| D | sharded_cache.cc | 54 Cache::Handle* ShardedCache::Lookup(const Slice& key, Statistics* /*stats*/) { in Lookup() function in ROCKSDB_NAMESPACE::ShardedCache 56 return GetShard(Shard(hash))->Lookup(key, hash); in Lookup()
|
| D | lru_cache.h | 161 LRUHandle* Lookup(const Slice& key, uint32_t hash); 216 virtual Cache::Handle* Lookup(const Slice& key, uint32_t hash) override; in ALIGN_AS()
|
| D | lru_cache.cc | 34 LRUHandle* LRUHandleTable::Lookup(const Slice& key, uint32_t hash) { in Lookup() function in ROCKSDB_NAMESPACE::LRUHandleTable 271 Cache::Handle* LRUCacheShard::Lookup(const Slice& key, uint32_t hash) { in Lookup() function in ROCKSDB_NAMESPACE::LRUCacheShard 273 LRUHandle* e = table_.Lookup(key, hash); in Lookup()
|
| D | clock_cache.cc | 275 Cache::Handle* Lookup(const Slice& key, uint32_t hash) override; 635 Cache::Handle* ClockCacheShard::Lookup(const Slice& key, uint32_t hash) { in Lookup() function in ROCKSDB_NAMESPACE::__anon9da5ff120111::ClockCacheShard
|
| /rocksdb-6.9/utilities/simulator_cache/ |
| D | cache_simulator_test.cc | 80 auto handle = sim_cache->Lookup(block); in AssertCache() 87 sim_cache->Lookup("0_" + ExtractUserKey(row_key).ToString()); in AssertCache() 136 auto handle = sim_cache->Lookup(access.block_key); in TEST_F() 139 handle = sim_cache->Lookup(compaction_access.block_key); in TEST_F() 174 auto handle = sim_cache->Lookup(access.block_key); in TEST_F() 238 handle = sim_cache->Lookup(kBlockKeyPrefix + std::to_string(i)); in TEST_F() 264 handle = sim_cache->Lookup(kBlockKeyPrefix + std::to_string(i)); in TEST_F() 292 handle = sim_cache->Lookup(kBlockKeyPrefix + std::to_string(i)); in TEST_F() 398 auto handle = sim_cache->Lookup("0_" + kRefKeyPrefix + key); in TEST_F() 421 auto handle = sim_cache->Lookup("0_" + kRefKeyPrefix + key); in TEST_F() [all …]
|
| D | sim_cache.cc | 177 Handle* h = key_only_cache_->Lookup(key); in Insert() 191 Handle* Lookup(const Slice& key, Statistics* stats) override { in Lookup() function in ROCKSDB_NAMESPACE::__anona55187990111::SimCacheImpl 192 Handle* h = key_only_cache_->Lookup(key); in Lookup() 206 return cache_->Lookup(key, stats); in Lookup()
|
| D | cache_simulator.cc | 20 auto handle = sim_cache_->Lookup(lookup_key); in Admit() 42 auto handle = sim_cache_->Lookup(access.block_key); in Access() 98 auto handle = sim_cache_->Lookup(key); in AccessKVPair()
|
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | hash_table_bench.cc | 48 virtual bool Lookup(const Key& key, Value* val) = 0; 114 bool status = impl_->Lookup(k, &s); in RunRead() 208 bool Lookup(const size_t& key, string* val) override { in Lookup() function in ROCKSDB_NAMESPACE::SimpleImpl 238 bool Lookup(const size_t& key, string* val) override { in Lookup() function in ROCKSDB_NAMESPACE::GranularLockImpl
|
| D | block_cache_tier.cc | 230 if (metadata_.Lookup(key, &lba)) { in InsertImpl() 266 Status BlockCacheTier::Lookup(const Slice& key, std::unique_ptr<char[]>* val, in Lookup() function in ROCKSDB_NAMESPACE::BlockCacheTier 272 status = metadata_.Lookup(key, &lba); in Lookup() 279 BlockCacheFile* const file = metadata_.Lookup(lba.cache_id_); in Lookup()
|
| D | block_cache_tier_metadata.h | 60 BlockCacheFile* Lookup(const uint32_t cache_id); 67 bool Lookup(const Slice& key, LBA* lba);
|
| D | block_cache_tier_metadata.cc | 17 BlockCacheFile* BlockCacheTierMetadata::Lookup(const uint32_t cache_id) { in Lookup() function in ROCKSDB_NAMESPACE::BlockCacheTierMetadata 47 bool BlockCacheTierMetadata::Lookup(const Slice& key, LBA* lba) { in Lookup() function in ROCKSDB_NAMESPACE::BlockCacheTierMetadata
|
| D | volatile_tier_impl.cc | 82 Status VolatileCacheTier::Lookup(const Slice& page_key, in Lookup() function in ROCKSDB_NAMESPACE::VolatileCacheTier 103 return next_tier()->Lookup(page_key, result, size); in Lookup()
|
| D | persistent_cache_tier.cc | 142 Status PersistentTieredCache::Lookup(const Slice& page_key, in Lookup() function in ROCKSDB_NAMESPACE::PersistentTieredCache 146 return tiers_.front()->Lookup(page_key, data, size); in Lookup()
|
| D | persistent_cache_tier.h | 261 virtual Status Lookup(const Slice& page_key, std::unique_ptr<char[]>* data, 304 Status Lookup(const Slice& page_key, std::unique_ptr<char[]>* data,
|
| D | persistent_cache_test.h | 164 if (!cache_->Lookup(key, &block, &block_size).ok()) { 171 ASSERT_OK(cache_->Lookup(key, &block, &block_size));
|
| D | volatile_tier_impl.h | 56 Status Lookup(const Slice& page_key, std::unique_ptr<char[]>* data,
|
| D | block_cache_tier.h | 61 Status Lookup(const Slice& key, std::unique_ptr<char[]>* data,
|
| /rocksdb-6.9/table/ |
| D | persistent_cache_helper.cc | 62 Status s = cache_options.persistent_cache->Lookup(key, raw_data, &size); in LookupRawPage() 95 Status s = cache_options.persistent_cache->Lookup(key, &data, &size); in LookupUncompressedPage()
|
| /rocksdb-6.9/include/rocksdb/ |
| D | persistent_cache.h | 44 virtual Status Lookup(const Slice& key, std::unique_ptr<char[]>* data,
|
| D | cache.h | 191 virtual Handle* Lookup(const Slice& key, Statistics* stats = nullptr) = 0;
|
| /rocksdb-6.9/table/block_based/ |
| D | data_block_hash_index.h | 122 uint8_t Lookup(const char* data, uint32_t map_offset, const Slice& key) const;
|
| D | data_block_hash_index.cc | 85 uint8_t DataBlockHashIndex::Lookup(const char* data, uint32_t map_offset, in Lookup() function in ROCKSDB_NAMESPACE::DataBlockHashIndex
|