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

Method Value

src/leveldb/util/cache.cc:375–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373 shard_[Shard(hash)].Erase(key, hash);
374 }
375 void* Value(Handle* handle) override {
376 return reinterpret_cast<LRUHandle*>(handle)->value;
377 }
378 uint64_t NewId() override {
379 MutexLock l(&id_mutex_);
380 return ++(last_id_);

Callers 3

BlockReaderMethod · 0.45
LookupMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

LookupMethod · 0.36
TESTFunction · 0.36