MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / ~MemoryArena

Method ~MemoryArena

include/luxrays/utils/memory.h:197–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 beginBlockIdx = 0;
196 }
197 ~MemoryArena() {
198 for (size_t i = 0; i < blocks.size(); ++i)
199 FreeAligned(blocks[i]);
200 }
201 void *Alloc(size_t sz) {
202 // Round up _sz_ to minimum machine alignment
203#if defined(LUX_ALIGNMENT)

Callers

nothing calls this directly

Calls 2

FreeAlignedFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected