Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
94
void* 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
102
void* dl_realloc(void *p, size_t sz) {
103
void *out;
Callers
1
calloc
Function · 0.85
Calls
1
dlcalloc
Function · 0.85
Tested by
no test coverage detected