MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / bootstrap_malloc

Function bootstrap_malloc

deps/jemalloc/src/jemalloc.c:265–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 */
264
265void *
266bootstrap_malloc(size_t size) {
267 if (unlikely(size == 0)) {
268 size = 1;
269 }
270
271 return a0ialloc(size, false, false);
272}
273
274void *
275bootstrap_calloc(size_t num, size_t size) {

Callers

nothing calls this directly

Calls 1

a0iallocFunction · 0.70

Tested by

no test coverage detected