Lines Matching refs:running_hash
6493 uint32_t StringHasher::AddCharacterCore(uint32_t running_hash, uint16_t c) {
6494 running_hash += c;
6495 running_hash += (running_hash << 10);
6496 running_hash ^= (running_hash >> 6);
6497 return running_hash;
6501 uint32_t StringHasher::GetHashCore(uint32_t running_hash) {
6502 running_hash += (running_hash << 3);
6503 running_hash ^= (running_hash >> 11);
6504 running_hash += (running_hash << 15);
6505 if ((running_hash & String::kHashBitMask) == 0) {
6508 return running_hash;