(i, j int)
| 515 | return !(*pq)[i].Commit.Less((*pq)[j].Commit) |
| 516 | } |
| 517 | func (pq *priorityQueueImp) Swap(i, j int) { (*pq)[i], (*pq)[j] = (*pq)[j], (*pq)[i] } |
| 518 | func (pq *priorityQueueImp) Push(x any) { *pq = append(*pq, x.(*queueItem)) } |
| 519 | func (pq *priorityQueueImp) Pop() any { |
| 520 | n := len(*pq) |
nothing calls this directly
no outgoing calls
no test coverage detected