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

Function mi_page_to_slice

3rd/mimalloc-2.0.9/include/mimalloc-internal.h:476–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476static inline mi_slice_t* mi_page_to_slice(mi_page_t* p) {
477 mi_assert_internal(p->slice_offset== 0 && p->slice_count > 0);
478 return (mi_slice_t*)(p);
479}
480
481// Segment belonging to a page
482static inline mi_segment_t* _mi_page_segment(const mi_page_t* page) {

Callers 2

_mi_segment_page_startFunction · 0.85
mi_segment_page_clearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected