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

Function is_array_small

modules/engine/runtime/src/ecs/chunk_view.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool is_array_small(sugoi_array_comp_t* ptr)
28{
29 return ptr->BeginX < ((char*)(ptr + 1) + alignof(std::max_align_t));
30}
31
32#define for_buffer(i, array, size) \
33 for (char* i = (char*)array->BeginX; i != array->EndX; i += size)

Callers 4

destruct_implFunction · 0.85
move_implFunction · 0.85
clone_implFunction · 0.85
duplicate_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected