Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheForceEngine/TheForceEngine
/ reallocate
Method
reallocate
TheForceEngine/TFE_System/memoryPool.cpp:49–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
void* MemoryPool::reallocate(void* ptr, size_t oldSize, size_t newSize)
50
{
51
u8* newMem = (u8*)allocate(newSize);
52
memcpy(newMem, ptr, oldSize);
53
return newMem;
54
}
Callers
2
ensure
Function · 0.80
print
Function · 0.80
Calls
1
allocate
Function · 0.85
Tested by
no test coverage detected