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

Method key

src/leveldb/util/cache.cc:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 char key_data[1]; // Beginning of key
54
55 Slice key() const {
56 // next_ is only equal to this if the LRU handle is the list head of an
57 // empty list. List heads never have meaningful keys.
58 assert(next != this);
59
60 return Slice(key_data, key_length);
61 }
62};
63
64// We provide our own simple hash table since it removes a whole bunch

Callers 5

InsertMethod · 0.45
FindPointerMethod · 0.45
UnrefMethod · 0.45
InsertMethod · 0.45
PruneMethod · 0.45

Calls 1

SliceClass · 0.70

Tested by

no test coverage detected