Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ priorityqueue_empty
Function
priorityqueue_empty
plugins/askrene/child/priorityqueue.c:133–135 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
131
}
132
133
bool priorityqueue_empty(const struct priorityqueue *q) {
134
return q->heapsize == 0;
135
}
136
137
void priorityqueue_pop(struct priorityqueue *q) {
138
if (q->heapsize == 0) return;
Callers
5
priorityqueue_show
Function · 0.85
main
Function · 0.85
dijkstra_path
Function · 0.85
dijkstra_nearest_sink
Function · 0.85
priorityqueue_top
Function · 0.85
Calls
no outgoing calls
Tested by
2
priorityqueue_show
Function · 0.68
main
Function · 0.68