MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / alloc

Method alloc

libraries/asmjit/asmjit/base/vmem.cpp:771–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769// ============================================================================
770
771void* VMemMgr::alloc(size_t size, uint32_t type) noexcept {
772 if (type == kAllocPermanent)
773 return vMemMgrAllocPermanent(this, size);
774 else
775 return vMemMgrAllocFreeable(this, size);
776}
777
778Error VMemMgr::release(void* p) noexcept {
779 if (!p) return kErrorOk;

Callers 10

_newVarCellMethod · 0.45
_newStackCellMethod · 0.45
newDataNodeMethod · 0.45
UNITFunction · 0.45
_addMethod · 0.45
newNodeTFunction · 0.45
newPassTFunction · 0.45
_reserveMethod · 0.45
_resizeMethod · 0.45
_initMethod · 0.45

Calls 2

vMemMgrAllocPermanentFunction · 0.85
vMemMgrAllocFreeableFunction · 0.85

Tested by

no test coverage detected