| 192 | } |
| 193 | |
| 194 | size_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 |
nothing calls this directly
no test coverage detected