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

Function h2_proxy_ihash_ishift

modules/http2/h2_proxy_util.c:194–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194size_t h2_proxy_ihash_ishift(h2_proxy_ihash_t *ih, int *buffer, size_t max)
195{
196 icollect_ctx ctx;
197 size_t i;
198
199 ctx.ih = ih;
200 ctx.buffer = buffer;
201 ctx.max = max;
202 ctx.len = 0;
203 h2_proxy_ihash_iter(ih, icollect_iter, &ctx);
204 for (i = 0; i < ctx.len; ++i) {
205 h2_proxy_ihash_remove(ih, buffer[i]);
206 }
207 return ctx.len;
208}
209
210/*******************************************************************************
211 * iqueue - sorted list of int

Callers

nothing calls this directly

Calls 2

h2_proxy_ihash_iterFunction · 0.85
h2_proxy_ihash_removeFunction · 0.85

Tested by

no test coverage detected