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

Function mi_heap_is_valid

3rd/mimalloc-2.0.9/src/heap.c:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62#endif
63#if MI_DEBUG>=3
64static bool mi_heap_is_valid(mi_heap_t* heap) {
65 mi_assert_internal(heap!=NULL);
66 mi_heap_visit_pages(heap, &mi_heap_page_is_valid, NULL, NULL);
67 return true;
68}
69#endif
70
71

Callers 3

mi_heap_destroyFunction · 0.85
mi_heap_deleteFunction · 0.85
mi_heap_set_defaultFunction · 0.85

Calls 1

mi_heap_visit_pagesFunction · 0.85

Tested by

no test coverage detected