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

Function __Heap_offerx

src/util/heap.c:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137static void __Heap_offerx
138(
139 heap_t *hp,
140 void *item
141) {
142 hp->array[hp->count] = item;
143
144 // ensure heap properties
145 __pushup(hp, hp->count++);
146}
147
148// return a new heap on success; NULL otherwise
149static heap_t* __ensurecapacity

Callers 2

Heap_offerFunction · 0.85
Heap_offerxFunction · 0.85

Calls 1

__pushupFunction · 0.85

Tested by

no test coverage detected