20 references to RotateLeft
System.IO.Hashing (10)
System\IO\Hashing\XxHash64.State.cs (8)
73BitOperations.RotateLeft(_acc1, 1) + 74BitOperations.RotateLeft(_acc2, 7) + 75BitOperations.RotateLeft(_acc3, 12) + 76BitOperations.RotateLeft(_acc4, 18); 94acc = BitOperations.RotateLeft(acc, 31); 114acc = BitOperations.RotateLeft(acc, 27); 126acc = BitOperations.RotateLeft(acc, 23); 137acc = BitOperations.RotateLeft(acc, 11);
System\IO\Hashing\XxHashShared.cs (2)
195hash ^= BitOperations.RotateLeft(hash, 49) ^ BitOperations.RotateLeft(hash, 24);
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
300public static long RotateLeft(long value, int rotateAmount) => (long)BitOperations.RotateLeft((ulong)value, rotateAmount);
src\libraries\System.Private.CoreLib\src\System\Numerics\BitOperations.cs (1)
711return (nuint)RotateLeft((ulong)value, offset);
src\libraries\System.Private.CoreLib\src\System\Random.Xoshiro256StarStarImpl.cs (6)
57ulong result = BitOperations.RotateLeft(s1 * 5, 7) * 9; 66s3 = BitOperations.RotateLeft(s3, 45); 144BitOperations.RotateLeft(s1 * 5, 7) * 9); 153s3 = BitOperations.RotateLeft(s3, 45); 160ulong next = BitOperations.RotateLeft(s1 * 5, 7) * 9; 175s3 = BitOperations.RotateLeft(s3, 45);
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\CastCache.cs (1)
95ulong hash = BitOperations.RotateLeft((ulong)source, 32) ^ (ulong)target;
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
297public static ulong RotateLeft(ulong value, int rotateAmount) => BitOperations.RotateLeft(value, rotateAmount);