Searched refs:nodes (Results 1 – 4 of 4) sorted by relevance
56 queue->nodes = reallocate_nodes(queue->nodes, capacity); in reallocate_to_capacity()98 ds_priority_queue_node_t *nodes; in ds_priority_queue_push() local105 nodes = queue->nodes; in ds_priority_queue_push()123 nodes[index] = nodes[parent]; in ds_priority_queue_push()126 node = &queue->nodes[index]; in ds_priority_queue_push()150 ds_priority_queue_node_t *nodes = queue->nodes; in ds_priority_queue_pop() local168 bottom = nodes[size - 1]; in ds_priority_queue_pop()189 nodes[index] = nodes[swap]; in ds_priority_queue_pop()192 nodes[index] = bottom; in ds_priority_queue_pop()233 return &queue->nodes[0].value; in ds_priority_queue_peek()[all …]
12 ds_priority_queue_node_t *nodes; member23 ds_priority_queue_node_t *_node = &_queue->nodes[0]; \24 ds_priority_queue_node_t *_last = &_queue->nodes[queue->size - 1]; \
47 ds_priority_queue_node_t *nodes = ds_priority_queue_create_sorted_buffer(queue); in php_ds_priority_queue_serialize() local48 ds_priority_queue_node_t *pos = nodes; in php_ds_priority_queue_serialize()49 ds_priority_queue_node_t *end = nodes + queue->size; in php_ds_priority_queue_serialize()62 efree(nodes); in php_ds_priority_queue_serialize()
69 *gc_data = (zval*) pq->nodes;
Completed in 8 milliseconds