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

Function memPoolCreate

lib_acl/src/stdlib/memory/squid_allocator.c:185–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183/* MemPool */
184
185static ACL_MEM_POOL *memPoolCreate(void)
186{
187 ACL_MEM_POOL *pool = acl_default_calloc(__FILE__, __LINE__,
188 1, sizeof(MemPool));
189 MemPool *squid_pool = (MemPool *) pool;
190
191 memset(&squid_pool->meter, 0, sizeof(squid_pool->meter));
192 return pool;
193}
194
195static void memPoolDestroy(ACL_MEM_POOL * pool)
196{

Callers

nothing calls this directly

Calls 1

acl_default_callocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…