MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_allocator_mem_alloc

Function acl_allocator_mem_alloc

lib_acl/src/stdlib/memory/acl_allocator.c:231–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231void *acl_allocator_mem_alloc(const char *filename, int line,
232 ACL_ALLOCATOR *allocator, acl_mem_type type)
233{
234 const char *myname = "acl_allocator_mem_alloc";
235 ACL_MEM_POOL *pool;
236
237 CHECK_TYPE(type);
238
239 pool = allocator->MemPools[type];
240 pool->nalloc++;
241 return allocator->mem_alloc_fn(filename, line, allocator, pool);
242}
243
244void acl_allocator_mem_free(const char *filename, int line,
245 ACL_ALLOCATOR *allocator, acl_mem_type type, void *obj)

Callers 2

mempool_bench_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…