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

Function ReleaseBlock

src/leveldb/table/table.cc:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147static void ReleaseBlock(void* arg, void* h) {
148 Cache* cache = reinterpret_cast<Cache*>(arg);
149 Cache::Handle* handle = reinterpret_cast<Cache::Handle*>(h);
150 cache->Release(handle);
151}
152
153// Convert an index iterator value (i.e., an encoded BlockHandle)
154// into an iterator over the contents of the corresponding block.

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected