Lines Matching refs:hashShift
531 constexpr uint32_t hashShift = static_cast<uint32_t>(EcmaStringHash::HASH_SHIFT);
536 totalHash = (totalHash << hashShift) - totalHash + dataFirst[i];
539 totalHash = (totalHash << hashShift) - totalHash + dataSecond[i];
547 hash[0] = (hash[0] << hashShift) - hash[0] + dataFirst[index];
548 hash[1] = (hash[1] << hashShift) - hash[1] + dataFirst[index + 1]; // 1: the second element
549 hash[2] = (hash[2] << hashShift) - hash[2] + dataFirst[index + 2]; // 2: the third element
550 hash[3] = (hash[3] << hashShift) - hash[3] + dataFirst[index + 3]; // 3: the fourth element
555 hash[0] = (hash[0] << hashShift) - hash[0] + dataFirst[index];
561 hash[index % blockSize] = (hash[index % blockSize] << hashShift) -
570 hash[nowHashIndex] = (hash[nowHashIndex] << hashShift) - hash[nowHashIndex] + dataSecond[index];
574 hash[0] = (hash[0] << hashShift) - hash[0] + dataSecond[index];
575 hash[1] = (hash[1] << hashShift) - hash[1] + dataSecond[index + 1]; // 1: the second element
576 hash[2] = (hash[2] << hashShift) - hash[2] + dataSecond[index + 2]; // 2: the third element
577 hash[3] = (hash[3] << hashShift) - hash[3] + dataSecond[index + 3]; // 3: the fourth element
581 hash[0] = (hash[0] << hashShift) - hash[0] + dataSecond[index];
584 totalHash = (totalHash << hashShift) - totalHash + hash[i];