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

Function private_array_push

lib_acl/src/private/private_array.c:153–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153int private_array_push(ACL_ARRAY *a, void *obj)
154{
155 if (a->count >= a->capacity)
156 private_array_grow(a, a->count + 16);
157 a->items[a->count++] = obj;
158 return(a->count - 1);
159}
160
161void *private_array_pop(ACL_ARRAY *a)
162{

Callers 2

tls_mem_allocFunction · 0.85
acl_mem_slice_initFunction · 0.85

Calls 1

private_array_growFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…