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

Method Release

src/leveldb/util/cache.cc:367–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 return shard_[Shard(hash)].Lookup(key, hash);
366 }
367 void Release(Handle* handle) override {
368 LRUHandle* h = reinterpret_cast<LRUHandle*>(handle);
369 shard_[Shard(h->hash)].Release(handle);
370 }
371 void Erase(const Slice& key) override {
372 const uint32_t hash = HashSlice(key);
373 shard_[Shard(hash)].Erase(key, hash);

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected