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

Method Find

src/leveldb/db/version_set_test.cc:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 int Find(const char* key) {
33 InternalKey target(key, 100, kTypeValue);
34 InternalKeyComparator cmp(BytewiseComparator());
35 return FindFile(cmp, files_, target.Encode());
36 }
37
38 bool Overlaps(const char* smallest, const char* largest) {
39 InternalKeyComparator cmp(BytewiseComparator());

Callers

nothing calls this directly

Calls 3

BytewiseComparatorFunction · 0.85
FindFileFunction · 0.85
EncodeMethod · 0.45

Tested by

no test coverage detected