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

Function array_prepare_append

lib_acl/src/private/private_array.c:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static void array_prepare_append(ACL_ARRAY *a, int app_count)
108{
109 acl_assert(app_count > 0);
110 if (a->count + app_count > a->capacity)
111 private_array_grow(a, a->count + app_count);
112}
113
114ACL_ARRAY *private_array_create(int init_size)
115{

Callers 1

private_array_createFunction · 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…