Searched refs:Cache (Results 1 – 13 of 13) sorted by relevance
26 class Cache; variable30 extern Cache* NewLRUCache(size_t capacity);32 class Cache {34 Cache() { } in Cache() function38 virtual ~Cache();104 Cache(const Cache&);105 void operator=(const Cache&);
12 class Cache; variable98 Cache* block_cache;
27 Cache* cache = reinterpret_cast<Cache*>(arg1); in UnrefEntry()28 Cache::Handle* h = reinterpret_cast<Cache::Handle*>(arg2); in UnrefEntry()46 Cache::Handle** handle) { in FindTable()90 Cache::Handle* handle = NULL; in NewIterator()111 Cache::Handle* handle = NULL; in Get()
54 Cache* cache_;56 Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle**);
16 Cache* tiny_cache_;
19 using leveldb::Cache;53 struct leveldb_cache_t { Cache* rep; };
31 Cache* tiny_cache_;
366 Cache* tiny_cache_;
319 Cache* cache_;
38 Cache* cache_;49 Cache::Handle* handle = cache_->Lookup(EncodeKey(key)); in Lookup()62 Cache::Handle* InsertAndReturnHandle(int key, int value, int charge = 1) { in InsertAndReturnHandle()117 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST()121 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST()144 Cache::Handle* h = cache_->Lookup(EncodeKey(300)); in TEST()161 std::vector<Cache::Handle*> h; in TEST()213 Cache::Handle* handle = cache_->Lookup(EncodeKey(1)); in TEST()
16 Cache::~Cache() { in ~Cache()162 Cache::Handle* Insert(const Slice& key, uint32_t hash,165 Cache::Handle* Lookup(const Slice& key, uint32_t hash);166 void Release(Cache::Handle* handle);255 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()261 return reinterpret_cast<Cache::Handle*>(e); in Lookup()264 void LRUCache::Release(Cache::Handle* handle) { in Release()269 Cache::Handle* LRUCache::Insert( in Insert()302 return reinterpret_cast<Cache::Handle*>(e); in Insert()338 class ShardedLRUCache : public Cache {[all …]
157 Cache* cache = reinterpret_cast<Cache*>(arg); in ReleaseBlock()158 Cache::Handle* handle = reinterpret_cast<Cache::Handle*>(h); in ReleaseBlock()168 Cache* block_cache = table->rep_->options.block_cache; in BlockReader()170 Cache::Handle* cache_handle = NULL; in BlockReader()
338 ### Cache subsection