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

Function DumpInternalIter

src/leveldb/db/db_iter.cc:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19#if 0
20static void DumpInternalIter(Iterator* iter) {
21 for (iter->SeekToFirst(); iter->Valid(); iter->Next()) {
22 ParsedInternalKey k;
23 if (!ParseInternalKey(iter->key(), &k)) {
24 fprintf(stderr, "Corrupt '%s'\n", EscapeString(iter->key()).c_str());
25 } else {
26 fprintf(stderr, "@ '%s'\n", k.DebugString().c_str());
27 }
28 }
29}
30#endif
31
32namespace {

Callers

nothing calls this directly

Calls 7

ParseInternalKeyFunction · 0.85
EscapeStringFunction · 0.85
SeekToFirstMethod · 0.45
ValidMethod · 0.45
NextMethod · 0.45
keyMethod · 0.45
DebugStringMethod · 0.45

Tested by

no test coverage detected