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

Method Compare

src/leveldb/table/table_test.cc:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 int Compare(const Slice& a, const Slice& b) const override {
46 return BytewiseComparator()->Compare(Reverse(a), Reverse(b));
47 }
48
49 void FindShortestSeparator(std::string* start,
50 const Slice& limit) const override {

Callers 1

operator()Method · 0.45

Calls 2

BytewiseComparatorFunction · 0.85
ReverseFunction · 0.85

Tested by

no test coverage detected