Lines Matching defs:CacheHandle
177 struct CacheHandle { struct
178 using Deleter = Cache::Deleter;
180 Slice key;
181 uint32_t hash;
182 void* value;
183 size_t charge;
184 Deleter* deleter;
192 std::atomic<uint32_t> flags;
196 CacheHandle(const CacheHandle& a) { *this = a; } in CacheHandle() argument
198 CacheHandle(const Slice& k, void* v, Deleter* del) in CacheHandle() argument
201 CacheHandle& operator=(const CacheHandle& a) { in operator =()
209 inline static size_t CalcTotalCharge( in CalcTotalCharge()
225 inline size_t CalcTotalCharge( in CalcTotalCharge()