MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / alloc_align

Function alloc_align

TheForceEngine/TFE_Memory/memoryRegion.cpp:672–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670 }
671
672 u64 alloc_align(u64 baseSize)
673 {
674 return (baseSize + ALIGNMENT - 1) & ~(ALIGNMENT - 1);
675 }
676
677 s32 getBinFromSize(u32 size)
678 {

Callers 2

region_allocFunction · 0.85
region_reallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected