Home | History | Annotate | Download | only in gpu

Lines Matching full:hash

16  *  GrBinHashKey is a hash key class that can take a data chunk of any predetermined
17 * length. The hash function used is the One-at-a-Time Hash
18 * (http://burtleburtle.net/bob/hash/doobs.html).
40 uint32_t hash = 0;
43 hash += *data++;
44 hash += (hash << 10);
45 hash ^= (hash >> 6);
48 hash += (hash << 3);
49 hash ^= (hash >> 11);
50 hash += (hash << 15);
54 fHash = hash;