Function tikv_jemalloc_sys::calloc
source · [−]Expand description
Allocates zero-initialized space for an array of number
objects, each
of whose size is size
.
The result is identical to calling malloc
with an argument of
number * size
, with the exception that the allocated memory is
explicitly initialized to zero bytes.
Note: zero-initialized memory need not be the same as the representation of floating-point zero or a null pointer constant.