Home | History | Annotate | Download | only in superfasthash

Lines Matching refs:hash

42 uint32_t hash = len, tmp;
52 hash += get16bits (data);
53 tmp = (get16bits (data+2) << 11) ^ hash;
54 hash = (hash << 16) ^ tmp;
56 hash += hash >> 11;
61 case 3: hash += get16bits (data);
62 hash ^= hash << 16;
63 hash ^= ((signed char)data[sizeof (uint16_t)]) << 18;
64 hash += hash >> 11;
66 case 2: hash += get16bits (data);
67 hash ^= hash << 11;
68 hash += hash >> 17;
70 case 1: hash += (signed char)*data;
71 hash ^= hash << 10;
72 hash += hash >> 1;
76 hash ^= hash << 3;
77 hash += hash >> 5;
78 hash ^= hash << 4;
79 hash += hash >> 17;
80 hash ^= hash << 25;
81 hash += hash >> 6;
83 return hash;