mmtk::util::malloc

Function calloc

source
pub fn calloc(num: usize, size: usize) -> Address
Expand description

Manually allocate memory and initialize the bytes in the allocated memory to zero. Similar to libc’s calloc.