MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / debugCalloc

Function debugCalloc

src/library/common/trace_malloc.c:174–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void
175*debugCalloc(size_t size, const char *file, int line)
176{
177 void *ret;
178
179 ret = debugMalloc(size, file, line);
180 if (ret != NULL) {
181 memset(ret, 0, size);
182 }
183
184 return ret;
185}
186
187void
188*debugRealloc(void *ptr, size_t size, const char *file, int line)

Callers

nothing calls this directly

Calls 1

debugMallocFunction · 0.85

Tested by

no test coverage detected