Searched refs:DS_PRIORITY_QUEUE_MIN_CAPACITY (Results 1 – 3 of 3) sorted by relevance
18 return ds_next_power_of_2(size, DS_PRIORITY_QUEUE_MIN_CAPACITY); in ds_priority_queue_get_capacity_for_size()78 queue->nodes = allocate_nodes(DS_PRIORITY_QUEUE_MIN_CAPACITY); in ds_priority_queue()79 queue->capacity = DS_PRIORITY_QUEUE_MIN_CAPACITY; in ds_priority_queue()139 …(queue->size <= (queue->capacity / 4) && (queue->capacity / 2) >= DS_PRIORITY_QUEUE_MIN_CAPACITY) { in ds_priority_queue_compact()289 reallocate_to_capacity(queue, DS_PRIORITY_QUEUE_MIN_CAPACITY); in ds_priority_queue_clear()
18 #define DS_PRIORITY_QUEUE_MIN_CAPACITY 8 macro
122 DS_PRIORITY_QUEUE_MIN_CAPACITY in php_ds_register_priority_queue()
Completed in 14 milliseconds