Function libmimalloc_sys::mi_mallocn
source ยท pub unsafe extern "C" fn mi_mallocn(
count: usize,
size: usize,
) -> *mut c_void
Expand description
Allocate count
items of size
length each.
Returns null
if count * size
overflows or on out-of-memory,
otherwise returns the same as mi_malloc(count * size)
.
Equivalent to mi_calloc
, but returns uninitialized (and not zeroed)
bytes.