MCPcopy Create free account
hub / github.com/bytedance/bolt / currentBytes

Method currentBytes

bolt/common/memory/MemoryPool.cpp:868–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868int64_t MemoryPoolImpl::currentBytes() const {
869 return usedBytes();
870}
871
872int64_t MemoryPoolImpl::releasableReservation() const {
873 if (isLeaf()) {

Callers 15

tryEvictMethod · 0.45
reclaimFixedSizeMethod · 0.45
ensureInputFitsMethod · 0.45
ensureOutputFitsMethod · 0.45
reclaimTaskMethod · 0.45
ensureInputFitsMethod · 0.45
ensureInputFitsMethod · 0.45
runInternalMethod · 0.45
ensureInputFitsMethod · 0.45
getOutputMethod · 0.45
reclaimMethod · 0.45

Calls

no outgoing calls

Tested by 15

DEBUG_ONLY_TEST_FFunction · 0.36
testCycleMethod · 0.36
TEST_FFunction · 0.36
DEBUG_ONLY_TEST_PFunction · 0.36
TEST_PFunction · 0.36
DEBUG_ONLY_TEST_PFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
runMethod · 0.36