MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / alloc

Method alloc

mllm/engine/prefix_cache/Allocator.cpp:14–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12_HiCPUAllocator::_HiCPUAllocator(const ZenFileSystemOptions& options) : zen_fs_() { zen_fs_.initialize(options); }
13
14vp_addr_t _HiCPUAllocator::alloc() { return zen_fs_.malloc(); }
15
16char* _HiCPUAllocator::physicalAddr(vp_addr_t addr) { return zen_fs_.access(addr); }
17

Callers

nothing calls this directly

Calls 3

mallocMethod · 0.80
insertMethod · 0.45
physicalAddrMethod · 0.45

Tested by

no test coverage detected