* input characters, so that a running hash key can be computed from the
* previous key instead of complete recalculation each time.
*/
-
#define UPDATE_HASH(s, h, val) \
h = ((val * 2654435761U) >> (32 - s->hash_bits));
* of the hash chain (the most recent string with same hash key). Return
* the previous length of the hash chain.
*/
-
ZLIB_INTERNAL Pos QUICK_INSERT_STRING(deflate_state *const s, const Pos str) {
Pos head;
uint32_t val, hm, h = 0;
* input characters and the first MIN_MATCH bytes of str are valid
* (except for the last MIN_MATCH-1 bytes of the input file).
*/
-
ZLIB_INTERNAL Pos INSERT_STRING(deflate_state *const s, const Pos str, unsigned int count) {
Pos idx, ret;
uint8_t *strstart, *strend;