src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.cs (6)
127IntroSort(keys, 2 * (BitOperations.Log2((uint)keys.Length) + 1), comparer);
306IntroSort(keys, 2 * (BitOperations.Log2((uint)keys.Length) + 1));
673IntroSort(keys, values, 2 * (BitOperations.Log2((uint)keys.Length) + 1), comparer);
858IntroSort(keys, values, 2 * (BitOperations.Log2((uint)keys.Length) + 1));
1196IntroSort(keys, 2 * (BitOperations.Log2((uint)keys.Length) + 1), comparer);
1411IntroSort(keys, values, 2 * (BitOperations.Log2((uint)keys.Length) + 1), comparer);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (21)
784hash1 = (BitOperations.RotateLeft(hash1, 5) + hash1) ^ ptr[0];
785hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ ptr[1];
791hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ ptr[0];
815hash1 = BitOperations.RotateLeft(hash1, 5) + hash1 ^ Unsafe.ReadUnaligned<uint>(ptr);
816hash2 = BitOperations.RotateLeft(hash2, 5) + hash2 ^ Unsafe.ReadUnaligned<uint>(ptr + 1);
823hash1 = BitOperations.RotateLeft(hash1, 5) + hash1 ^ Unsafe.ReadUnaligned<uint>(ptr);
830hash2 = BitOperations.RotateLeft(hash2, 5) + hash2 ^ p1;
834hash2 = BitOperations.RotateLeft(hash2, 5) + hash2 ^ Unsafe.ReadUnaligned<uint>(ptr);
844hash2 = BitOperations.RotateLeft(hash2, 5) + hash2 ^ p0;
884hash1 = (BitOperations.RotateLeft(hash1, 5) + hash1) ^ (p0 | NormalizeToLowercase);
885hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p1 | NormalizeToLowercase);
897hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p0 | NormalizeToLowercase);
933hash1 = (BitOperations.RotateLeft(hash1, 5) + hash1) ^ (p0 | NormalizeToLowercase);
934hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p1 | NormalizeToLowercase);
953hash1 = (BitOperations.RotateLeft(hash1, 5) + hash1) ^ (p0 | NormalizeToLowercase);
954hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p1 | NormalizeToLowercase);
964hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p0 | NormalizeToLowercase);
979hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (p0 | NormalizeToLowercase);
1016hash1 = (BitOperations.RotateLeft(hash1, 5) + hash1) ^ (ptr[0] | NormalizeToLowercase);
1017hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (ptr[1] | NormalizeToLowercase);
1023hash2 = (BitOperations.RotateLeft(hash2, 5) + hash2) ^ (ptr[0] | NormalizeToLowercase);