MCPcopy Create free account
hub / github.com/apache/httpd / h2_iq_shift

Function h2_iq_shift

modules/http2/h2_util.c:433–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431
432
433int h2_iq_shift(h2_iqueue *q)
434{
435 int sid;
436
437 if (q->nelts <= 0) {
438 return 0;
439 }
440
441 sid = q->elts[q->head];
442 q->head = (q->head + 1) % q->nalloc;
443 q->nelts--;
444
445 return sid;
446}
447
448size_t h2_iq_mshift(h2_iqueue *q, int *pint, size_t max)
449{

Callers 6

h2_mplx_c1_processFunction · 0.85
s_next_c2Function · 0.85
mplx_pollset_pollFunction · 0.85
h2_iq_mshiftFunction · 0.85
session_cleanupFunction · 0.85
unblock_c1_outFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected