MCPcopy Create free account
hub / github.com/ElementsProject/elements / Release

Method Release

src/leveldb/util/cache.cc:261–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void LRUCache::Release(Cache::Handle* handle) {
262 MutexLock l(&mutex_);
263 Unref(reinterpret_cast<LRUHandle*>(handle));
264}
265
266Cache::Handle* LRUCache::Insert(const Slice& key, uint32_t hash, void* value,
267 size_t charge,

Callers 7

ReleaseBlockFunction · 0.45
LookupMethod · 0.45
InsertMethod · 0.45
TESTFunction · 0.45
ReleaseMethod · 0.45
UnrefEntryFunction · 0.45
GetMethod · 0.45

Calls

no outgoing calls

Tested by 3

LookupMethod · 0.36
InsertMethod · 0.36
TESTFunction · 0.36