Searched refs:priority_list (Results 1 – 1 of 1) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | priority_queue.cpp | 81 static uint16_t priority_list[] = { 20, 3, 7, 6, 50, 2, 8, 12}; variable 98 priority_queue_entry_set_sched_pri(&pq, &node->ke, priority_list[i], 0); 117 priority_list[PRIORITY_QUEUE_NODES - 1] = decrease_pri; 120 qsort(priority_list, PRIORITY_QUEUE_NODES, sizeof(priority_list[0]), compare_numbers_descending); 129 T_ASSERT_EQ(key, priority_list[i], "[%d] priority queue max node removal", i); 143 static uint16_t priority_list[] = { 20, 3, 7, 6, 50, 2, 8, 12}; variable 168 node->node_key = priority_list[i]; 188 priority_list[PRIORITY_QUEUE_NODES - 1] = decrease_pri; 191 qsort(priority_list, PRIORITY_QUEUE_NODES, sizeof(priority_list[0]), compare_numbers_descending); 196 T_ASSERT_EQ(result->node_key, priority_list[i],
|