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

Method erase

flow/WriteOnlySet.actor.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65template <class T, class IndexType, IndexType CAPACITY>
66bool WriteOnlySet<T, IndexType, CAPACITY>::erase(Index idx) {
67 ASSERT(idx >= 0 && idx < CAPACITY);
68 auto res = eraseImpl(idx);
69 ASSERT(freeQueue.push(idx));
70 return res;
71}
72
73template <class T, class IndexType, IndexType CAPACITY>
74bool WriteOnlySet<T, IndexType, CAPACITY>::replace(Index idx, const Reference<T>& lineage) {

Callers 15

~StreamCipherKeyMethod · 0.45
~StreamCipherMethod · 0.45
removeRoleMethod · 0.45
clearPrefix_internalFunction · 0.45
removeWhitespaceFunction · 0.45
writerFunction · 0.45
removeMethod · 0.45
fromStringsFunction · 0.45
unregisterHistogramMethod · 0.45
whenFunction · 0.45
reduceFilenameFunction · 0.45
resolveIssueMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by 5

clearMethod · 0.36
workloadDoneMethod · 0.36
granule_free_loadFunction · 0.36
doContinueAfterMethod · 0.36
onFutureReadyMethod · 0.36