MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / dl_calloc

Function dl_calloc

db/memdebug.c:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void* dl_calloc(size_t nelem, size_t elemsz) {
95 void *out;
96 LOCK(&lk) {
97 out = dlcalloc(nelem, elemsz);
98 } UNLOCK(&lk);
99 return out;
100}
101
102void* dl_realloc(void *p, size_t sz) {
103 void *out;

Callers 1

callocFunction · 0.85

Calls 1

dlcallocFunction · 0.85

Tested by

no test coverage detected