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

Function mi_malloc_small

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

Source from the content-addressed store, hash-verified

120}
121
122mi_decl_nodiscard extern inline mi_decl_restrict void* mi_malloc_small(size_t size) mi_attr_noexcept {
123 return mi_heap_malloc_small(mi_get_default_heap(), size);
124}
125
126// The main allocation function
127extern inline void* _mi_heap_malloc_zero_ex(mi_heap_t* heap, size_t size, bool zero, size_t huge_alignment) mi_attr_noexcept {

Callers 1

mainFunction · 0.85

Calls 2

mi_heap_malloc_smallFunction · 0.85
mi_get_default_heapFunction · 0.85

Tested by 1

mainFunction · 0.68