MCPcopy Create free account
hub / github.com/arkdb/inception / reserve

Method reserve

include/prealloced_array.h:188–215  ·  view source on GitHub ↗

Reserves space for array elements. Copies over existing elements, in case we are re-expanding the array. @param n number of elements. @retval true if out-of-memory, false otherwise. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Prealloced_arrayMethod · 0.95
Prealloced_arrayClass · 0.95

Calls 2

my_mallocFunction · 0.85
my_freeFunction · 0.50

Tested by

no test coverage detected