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

Function EncodeValue

src/leveldb/util/cache_test.cc:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 return DecodeFixed32(k.data());
22}
23static void* EncodeValue(uintptr_t v) { return reinterpret_cast<void*>(v); }
24static int DecodeValue(void* v) { return reinterpret_cast<uintptr_t>(v); }
25
26class CacheTest {

Callers 2

InsertMethod · 0.85
InsertAndReturnHandleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected