Searched defs:LRUHandle (Results 1 – 2 of 2) sorted by relevance
43 struct LRUHandle { struct44 void* value;45 void (*deleter)(const Slice&, void* value);46 LRUHandle* next_hash;47 LRUHandle* next;48 LRUHandle* prev;49 size_t charge; // TODO(opt): Only allow uint32_t?50 size_t key_length;51 bool in_cache; // Whether entry is in the cache.52 uint32_t refs; // References, including cache reference, if present.[all …]
55 struct LRUHandle { struct56 void* value;57 void (*deleter)(const Slice&, void* value);58 LRUHandle* next_hash;59 LRUHandle* next;60 LRUHandle* prev;61 size_t charge; // TODO(opt): Only allow uint32_t?62 size_t key_length;63 bool in_cache; // Whether entry is in the cache.64 uint32_t refs; // References, including cache reference, if present.[all …]