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

Function mi_mallocn

3rd/mimalloc-2.0.9/src/alloc.c:661–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661mi_decl_nodiscard mi_decl_restrict void* mi_mallocn(size_t count, size_t size) mi_attr_noexcept {
662 return mi_heap_mallocn(mi_get_default_heap(),count,size);
663}
664
665// Expand (or shrink) in place (or fail)
666void* mi_expand(void* p, size_t newsize) mi_attr_noexcept {

Callers 1

mainFunction · 0.85

Calls 2

mi_heap_mallocnFunction · 0.85
mi_get_default_heapFunction · 0.85

Tested by 1

mainFunction · 0.68