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

Function mi_page_queue_is_huge

3rd/mimalloc-2.0.9/src/page-queue.c:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36static inline bool mi_page_queue_is_huge(const mi_page_queue_t* pq) {
37 return (pq->block_size == (MI_MEDIUM_OBJ_SIZE_MAX+sizeof(uintptr_t)));
38}
39
40static inline bool mi_page_queue_is_full(const mi_page_queue_t* pq) {
41 return (pq->block_size == (MI_MEDIUM_OBJ_SIZE_MAX+(2*sizeof(uintptr_t))));

Callers 4

mi_page_queue_removeFunction · 0.85
mi_page_fresh_allocFunction · 0.85
mi_large_huge_page_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected