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

Function bootstrap_malloc

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

Source from the content-addressed store, hash-verified

256 */
257
258void *
259bootstrap_malloc(size_t size) {
260 if (unlikely(size == 0)) {
261 size = 1;
262 }
263
264 return a0ialloc(size, false, false);
265}
266
267void *
268bootstrap_calloc(size_t num, size_t size) {

Callers

nothing calls this directly

Calls 1

a0iallocFunction · 0.70

Tested by

no test coverage detected