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

Function mi_heap_contains_queue

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

Source from the content-addressed store, hash-verified

133
134#if (MI_DEBUG>1)
135static bool mi_heap_contains_queue(const mi_heap_t* heap, const mi_page_queue_t* pq) {
136 return (pq >= &heap->pages[0] && pq <= &heap->pages[MI_BIN_FULL]);
137}
138#endif
139
140static mi_page_queue_t* mi_page_queue_of(const mi_page_t* page) {

Callers 6

mi_page_queue_removeFunction · 0.85
_mi_page_queue_appendFunction · 0.85
mi_page_fresh_allocFunction · 0.85
mi_page_freshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected