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

Function mi_try_new

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

Source from the content-addressed store, hash-verified

936}
937
938static mi_decl_noinline void* mi_try_new(size_t size, bool nothrow) {
939 return mi_heap_try_new(mi_get_default_heap(), size, nothrow);
940}
941
942
943mi_decl_nodiscard mi_decl_restrict extern inline void* mi_heap_alloc_new(mi_heap_t* heap, size_t size) {

Callers 1

mi_new_nothrowFunction · 0.85

Calls 2

mi_heap_try_newFunction · 0.85
mi_get_default_heapFunction · 0.85

Tested by

no test coverage detected