Lines Matching refs:Slice
44 void (*deleter)(const Slice&, void* value);
55 Slice key() const { in key()
59 return *(reinterpret_cast<Slice*>(value)); in key()
61 return Slice(key_data, key_length); in key()
76 LRUHandle* Lookup(const Slice& key, uint32_t hash) { in Lookup()
96 LRUHandle* Remove(const Slice& key, uint32_t hash) { in Remove()
116 LRUHandle** FindPointer(const Slice& key, uint32_t hash) { in FindPointer()
162 Cache::Handle* Insert(const Slice& key, uint32_t hash,
164 void (*deleter)(const Slice& key, void* value));
165 Cache::Handle* Lookup(const Slice& key, uint32_t hash);
167 void Erase(const Slice& key, uint32_t hash);
255 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()
270 const Slice& key, uint32_t hash, void* value, size_t charge, in Insert()
271 void (*deleter)(const Slice& key, void* value)) { in Insert()
318 void LRUCache::Erase(const Slice& key, uint32_t hash) { in Erase()
344 static inline uint32_t HashSlice(const Slice& s) { in HashSlice()
361 virtual Handle* Insert(const Slice& key, void* value, size_t charge, in Insert()
362 void (*deleter)(const Slice& key, void* value)) { in Insert()
366 virtual Handle* Lookup(const Slice& key) { in Lookup()
374 virtual void Erase(const Slice& key) { in Erase()