MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / pqueue_next

Function pqueue_next

3rdparty/boringssl/ssl/pqueue/pqueue.c:140–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138piterator pqueue_iterator(pqueue_s *pq) { return pq->items; }
139
140pitem *pqueue_next(piterator *item) {
141 pitem *ret;
142
143 if (item == NULL || *item == NULL) {
144 return NULL;
145 }
146
147 ret = *item;
148 *item = (*item)->next;
149
150 return ret;
151}
152
153pitem *pqueue_insert(pqueue_s *pq, pitem *item) {
154 pitem *curr, *next;

Callers 2

fixed_randomFunction · 0.85

Calls

no outgoing calls

Tested by 1

fixed_randomFunction · 0.68