MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / mi_page_queue

Function mi_page_queue

system/lib/mimalloc/include/mimalloc/internal.h:803–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801}
802
803static inline mi_page_queue_t* mi_page_queue(const mi_theap_t* theap, size_t size) {
804 mi_page_queue_t* const pq = &((mi_theap_t*)theap)->pages[_mi_bin(size)];
805 if (size <= MI_LARGE_MAX_OBJ_SIZE) { mi_assert_internal(pq->block_size <= MI_LARGE_MAX_OBJ_SIZE); }
806 return pq;
807}
808
809
810//-----------------------------------------------------------

Callers 2

page.cFile · 0.85

Calls 1

_mi_binFunction · 0.85

Tested by

no test coverage detected