Searched refs:shift_table (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/lib/
H A Dstr-two-way.h313 size_t shift_table[1U << CHAR_BIT]; /* See below. */ local
320 /* Populate shift_table. For each possible byte value c,
321 shift_table[c] is the distance from the last occurrence of c to
323 shift_table[NEEDLE[NEEDLE_LEN - 1]] contains the only 0. */
325 shift_table[i] = needle_len;
327 shift_table[CANON_ELEMENT (needle[i])] = needle_len - i - 1;
343 shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])];
395 shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])];

Completed in 15 milliseconds