MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / mi_theap_recalloc

Function mi_theap_recalloc

system/lib/mimalloc/src/alloc.c:429–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429static void* mi_theap_recalloc(mi_theap_t* theap, void* p, size_t count, size_t size) mi_attr_noexcept {
430 size_t total;
431 if (mi_count_size_overflow(count, size, &total)) return NULL;
432 return mi_theap_rezalloc(theap, p, total);
433}
434
435
436mi_decl_nodiscard void* mi_realloc(void* p, size_t newsize) mi_attr_noexcept {

Callers 2

mi_recallocFunction · 0.85
mi_heap_recallocFunction · 0.85

Calls 2

mi_count_size_overflowFunction · 0.85
mi_theap_rezallocFunction · 0.85

Tested by

no test coverage detected