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

Function getWriteMapCount

fdbclient/RYWIterator.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412//}
413
414static int getWriteMapCount(WriteMap* p) {
415 // printWriteMap(p);
416 int count = 0;
417 WriteMap::iterator it(p);
418 for (it.skip(allKeys.begin); it.beginKey() < allKeys.end; ++it) {
419 count += 1;
420 }
421 return count;
422}
423
424TEST_CASE("/fdbclient/WriteMap/emptiness") {
425 Arena arena = Arena();

Callers 1

RYWIterator.cppFile · 0.85

Calls 2

skipMethod · 0.45
beginKeyMethod · 0.45

Tested by

no test coverage detected