Lines Matching defs:hash
38 function is hash(i) = hash(i - 1) * 65599 + str[i]; what is included below
46 * Hash string, return hash + length.
51 uint32_t hash = 0;
55 hash = c + (hash << 6) + (hash << 16) - hash;
58 return hash;
63 * Hash up to N bytes, return hash + hashed length.
68 uint32_t hash = 0;
72 hash = c + (hash << 6) + (hash << 16) - hash;
75 return hash;
82 DECLINLINE(uint32_t) sdbmInc(const char *str, uint32_t hash)
88 hash = c + (hash << 6) + (hash << 16) - hash;
90 return hash;