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

Method writeDelta

fdbserver/VersionedBTree.actor.cpp:8488–8494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8486 int deltaSize(const IntIntPair& base, int skipLen, bool worstcase) const { return sizeof(Delta); }
8487
8488 int writeDelta(Delta& d, const IntIntPair& base, int commonPrefix = -1) const {
8489 d.prefixSource = false;
8490 d.deleted = false;
8491 d.dk = k - base.k;
8492 d.dv = v - base.v;
8493 return sizeof(Delta);
8494 }
8495
8496 int k;
8497 int v;

Callers 6

deltaTestFunction · 0.45
insertMethod · 0.45
buildSubtreeMethod · 0.45
insertMethod · 0.45
buildSubtreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected