Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
void pool_t::free(void* block)
35
{
36
if (blocks.try_enqueue(block))
37
return;
38
sugoi_free(block);
39
}
40
41
fixed_pool_t::fixed_pool_t(size_t blockSize, size_t blockCount)
42
: blockSize(blockSize)
Callers
4
destroy
Method · 0.45
destruct_group
Method · 0.45
reset
Method · 0.45
~cache_base_t
Method · 0.45
Calls
1
try_enqueue
Method · 0.80
Tested by
no test coverage detected