Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 1 of 1) sorted by relevance

/ext-ds/src/ds/
H A Dds_priority_queue.c95 uint32_t parent; in ds_priority_queue_push() local
107 for (index = queue->size; index > 0; index = parent) { in ds_priority_queue_push()
110 parent = PARENT(index); in ds_priority_queue_push()
114 if (compare_function(&comparison, priority, &nodes[parent].priority) == SUCCESS) { in ds_priority_queue_push()
123 nodes[index] = nodes[parent]; in ds_priority_queue_push()

Completed in 4 milliseconds