Lines Matching full:hash
868 // FIXME: Use registered namespaces and look up in a hash to find the right factory.
4429 unsigned FormElementKeyHash::hash(const FormElementKey& k)
4435 uint32_t hash = WTF::stringHashingStartValue;
4439 hash += s[0];
4440 uint32_t tmp = (s[1] << 11) ^ hash;
4441 hash = (hash << 16) ^ tmp;
4443 hash += hash >> 11;
4447 hash ^= hash << 3;
4448 hash += hash >> 5;
4449 hash ^= hash << 2;
4450 hash += hash >> 15;
4451 hash ^= hash << 10;
4453 // this avoids ever returning a hash code of 0, since that is used to
4454 // signal "hash not computed yet", using a value that is likely to be
4456 if (hash == 0)
4457 hash = 0x80000000;
4459 return hash;