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

Method push

fdbclient/WriteMap.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void OperationStack::push(RYWMutation entry) {
38 if (defaultConstructed) {
39 singletonOperation = entry;
40 defaultConstructed = false;
41 } else if (hasVector())
42 optionalOperations.get().push_back(entry);
43 else {
44 optionalOperations = std::vector<RYWMutation>();
45 optionalOperations.get().push_back(entry);
46 }
47}
48
49bool OperationStack::isDependent() const {
50 if (!size())

Callers 15

operator()Method · 0.45
delayMethod · 0.45
onMainThreadFunction · 0.45
launchMethod · 0.45
enqueueMethod · 0.45
RYWIterator.cppFile · 0.45
returnConnectionMethod · 0.45
initializePQMethod · 0.45
getNext_implMethod · 0.45
mutateMethod · 0.45
coalesceOverMethod · 0.45

Calls 2

getMethod · 0.65
push_backMethod · 0.45

Tested by

no test coverage detected