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

Function ShortSuccessor

src/leveldb/db/dbformat_test.cc:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static std::string ShortSuccessor(const std::string& s) {
25 std::string result = s;
26 InternalKeyComparator(BytewiseComparator()).FindShortSuccessor(&result);
27 return result;
28}
29
30static void TestKey(const std::string& key, uint64_t seq, ValueType vt) {
31 std::string encoded = IKey(key, seq, vt);

Callers 1

TESTFunction · 0.85

Calls 3

BytewiseComparatorFunction · 0.85
FindShortSuccessorMethod · 0.45

Tested by

no test coverage detected