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

Method checkEmpty

bolt/common/memory/HashStringAllocator.cpp:770–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770void HashStringAllocator::checkEmpty() const {
771 BOLT_CHECK_EQ(0, sizeFromPool_);
772 BOLT_CHECK_EQ(0, checkConsistency());
773}
774
775// Note that, make sure that you have compare the prefix via bswap
776// no bswap opt in this function.

Callers 2

clearMethod · 0.80
toIntermediateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected