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

Method Compare

src/leveldb/db/db_test.cc:1511–1513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1509 public:
1510 const char* Name() const override { return "leveldb.NewComparator"; }
1511 int Compare(const Slice& a, const Slice& b) const override {
1512 return BytewiseComparator()->Compare(a, b);
1513 }
1514 void FindShortestSeparator(std::string* s, const Slice& l) const override {
1515 BytewiseComparator()->FindShortestSeparator(s, l);
1516 }

Callers 1

AllEntriesForMethod · 0.45

Calls 1

BytewiseComparatorFunction · 0.85

Tested by

no test coverage detected