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

Function h2_iq_contains

modules/http2/h2_util.c:511–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511int h2_iq_contains(h2_iqueue *q, int sid)
512{
513 int i;
514 for (i = 0; i < q->nelts; ++i) {
515 if (sid == q->elts[(q->head + i) % q->nalloc]) {
516 return 1;
517 }
518 }
519 return 0;
520}
521
522/*******************************************************************************
523 * FIFO queue

Callers 1

h2_iq_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected