Lines Matching defs:index
16 Use a macro to compute the history index
55 (len - root), to index the remaining bits in that set of codes. Each
144 the array with length max-1 lists for the len index, with syms-3 of those
146 length as a function of sym. See the calculation of index in map() for the
147 index, and the calculation of size in main() for the size of the array.
163 states. mem and rem are used to calculate a single index in a triangular
270 size_t index = map(syms, left, len);
271 big_t got = g.num[index];
300 g.num[index] = sum;
310 size_t index = map(syms, left, len);
319 size_t length = g.done[index].len;
320 if (offset < length && (g.done[index].vec[offset] & bit) != 0)
333 vector = realloc(g.done[index].vec, length);
335 memset(vector + g.done[index].len, 0, length - g.done[index].len);
348 g.done[index].len = length;
349 g.done[index].vec = vector;
353 g.done[index].vec[offset] |= bit;
467 size_t index = map(n, left, g.root + 1);
468 if (g.root + 1 < g.max && g.num[index]) // reachable node
473 if (g.num[index - 1] && n <= left << 1)