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

Function acl_allocator_create

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

Source from the content-addressed store, hash-verified

123}
124
125ACL_ALLOCATOR *acl_allocator_create(size_t mem_limit)
126{
127 ACL_ALLOCATOR *allocator;
128
129 allocator = squid_allocator_create();
130 if (allocator->pool_config_fn)
131 allocator->pool_config_fn(allocator, mem_limit);
132
133 /* ��������Ĭ�ϵ��ڴ�������ͳ� */
134 mem_pool_create(allocator);
135 vstring_pool_create(allocator);
136
137 return allocator;
138}
139
140void acl_allocator_ctl(int name, ...)
141{

Callers 2

initFunction · 0.85
acl_mempool_openFunction · 0.85

Calls 3

squid_allocator_createFunction · 0.85
mem_pool_createFunction · 0.85
vstring_pool_createFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…