Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ swap
Function
swap
prio-queue.c:14–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
}
13
14
static inline void swap(struct prio_queue *queue, size_t i, size_t j)
15
{
16
SWAP(queue->array[i], queue->array[j]);
17
}
18
19
void prio_queue_reverse(struct prio_queue *queue)
20
{
Callers
3
prio_queue_reverse
Function · 0.85
prio_queue_put
Function · 0.85
sift_down_root
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected