4 references to HashShiftPerElement
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\RabinKarp.cs (4)
53_hashUpdateMultiplier = (nuint)1 << ((minimumLength - 1) * HashShiftPerElement); 76hash = (hash << HashShiftPerElement) + value[i]; 125hash = (hash << HashShiftPerElement) + TCaseSensitivity.TransformInput(Unsafe.Add(ref current, i)); 154hash = ((hash - (previous * _hashUpdateMultiplier)) << HashShiftPerElement) + next;