Searched refs:n_reserve (Results 1 – 1 of 1) sorted by relevance
44 heap_alloc (int (*compare) (void const *, void const *), size_t n_reserve) in heap_alloc() argument48 if (n_reserve == 0) in heap_alloc()49 n_reserve = 1; in heap_alloc()51 heap->array = xnmalloc (n_reserve, sizeof *(heap->array)); in heap_alloc()54 heap->capacity = n_reserve; in heap_alloc()