Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheForceEngine/TheForceEngine
/ getSlotIndex
Function
getSlotIndex
TheForceEngine/TFE_Memory/chunkedArray.cpp:234–244 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
232
}
233
234
s32 getSlotIndex(ChunkedArray* arr, u8* ptr)
235
{
236
for (s32 i = 0; i < (s32)arr->chunkCount; i++)
237
{
238
if (arr->chunks[i] == ptr)
239
{
240
return i;
241
}
242
}
243
return -1;
244
}
245
}
Callers
1
serialize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected