MCPcopy Create free account
hub / github.com/apple/foundationdb / compare

Method compare

flow/IndexedSet.cpp:436–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434 Counter(const Counter& r) : value(r.value) { count++; }
435 void operator=(const Counter& r) { value = r.value; }
436 int compare(const Counter& r) const { return ::compare(value, r.value); }
437 bool operator<(const Counter& r) const { return value < r.value; }
438 };
439 IndexedSet<Counter, NoMetric> mySet;

Callers 7

testCompressionFunction · 0.45
testCompression2Function · 0.45
parse_with_suffixFunction · 0.45
parseDurationFunction · 0.45

Calls 1

compareFunction · 0.50

Tested by

no test coverage detected