tikv_jemallocator::ffiFunction nallocx
source pub unsafe extern "C" fn nallocx(size: usize, flags: i32) -> usize
Expand description
Returns the real size of the allocation that would result from a
mallocx
function call with the same arguments.
§Errors
If the inputs exceed the maximum supported size class and/or alignment
it returns zero.
§Safety
The behavior is undefined if size == 0
.