MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Heap_count

Function Heap_count

src/util/heap.c:271–276  ·  view source on GitHub ↗

return number of items in heap

Source from the content-addressed store, hash-verified

269
270// return number of items in heap
271int Heap_count
272(
273 const heap_t *hp
274) {
275 return hp->count;
276}
277
278// return size of array
279int Heap_size

Callers 15

SlowLog_AddFunction · 0.85
SlowLog_ReplayFunction · 0.85
Heap_pollFunction · 0.85
Heap_peekFunction · 0.85
_Heap_printFunction · 0.85
Heap_printFunction · 0.85
_accumulateFunction · 0.85
SortConsumeFunction · 0.85
SortResetFunction · 0.85
SortFreeFunction · 0.85
SPpaths_k_minimalFunction · 0.85
SSpaths_k_minimalFunction · 0.85

Calls

no outgoing calls

Tested by 6

test_heapCreateFunction · 0.68
test_heapPopulateFunction · 0.68
test_heapPopulateDupFunction · 0.68
test_heapPopulateRandFunction · 0.68
test_heapRemoveElementFunction · 0.68
test_heapFuzzFunction · 0.68