MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_memid_create_from_arena

Function mi_memid_create_from_arena

3rd/mimalloc-2.0.9/src/region.c:149–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static size_t mi_memid_create_from_arena(size_t arena_memid) {
150 return (arena_memid << 1) | 1;
151}
152
153
154static bool mi_memid_is_arena(size_t id, mem_region_t** region, mi_bitmap_index_t* bit_idx, size_t* arena_memid) {

Callers 1

_mi_mem_alloc_alignedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected