MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / free

Method free

modules/engine/runtime/src/ecs/pool.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void pool_t::free(void* block)
35{
36 if (blocks.try_enqueue(block))
37 return;
38 sugoi_free(block);
39}
40
41fixed_pool_t::fixed_pool_t(size_t blockSize, size_t blockCount)
42 : blockSize(blockSize)

Callers 4

destroyMethod · 0.45
destruct_groupMethod · 0.45
resetMethod · 0.45
~cache_base_tMethod · 0.45

Calls 1

try_enqueueMethod · 0.80

Tested by

no test coverage detected