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

Method largestSizeClass

bolt/common/memory/MemoryPool.cpp:769–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767const std::vector<MachinePageCount>& MemoryPoolImpl::sizeClasses() const {
768 return allocator_->sizeClasses();
769}
770
771void MemoryPoolImpl::allocateContiguous(
772 MachinePageCount numPages,
773 ContiguousAllocation& out,
774 MachinePageCount maxPages) {

Callers 5

newRangeMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
TEST_PFunction · 0.45

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36