Home
last modified time | relevance | path

Searched defs:LRUHandle (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/leveldb/util/
H A Dcache.cc43 struct LRUHandle { struct
44 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 …]
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/io/
H A Dcache.cc55 struct LRUHandle { struct
56 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 …]