Function tikv_jemalloc_sys::sallocx
source · Expand description
Returns the real size of the previously-allocated memory region
referenced by ptr.
The value may be larger than the size requested on allocation.
Safety
The behavior is undefined if:
ptrdoes not match a pointer earlier returned by the memory allocation functions of this crate, or- the memory region referenced by
ptrhas been deallocated.