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

Function h2_iq_create

modules/http2/h2_util.c:334–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 h2_iq_cmp *cmp, void *ctx);
333
334h2_iqueue *h2_iq_create(apr_pool_t *pool, int capacity)
335{
336 h2_iqueue *q = apr_pcalloc(pool, sizeof(h2_iqueue));
337 q->pool = pool;
338 iq_grow(q, capacity);
339 q->nelts = 0;
340 return q;
341}
342
343int h2_iq_empty(h2_iqueue *q)
344{

Callers 2

h2_mplx_c1_createFunction · 0.85
h2_session_createFunction · 0.85

Calls 1

iq_growFunction · 0.70

Tested by

no test coverage detected