MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / RotateLeft

Method RotateLeft

CSharp/Clipper2Lib/HashCode.cs:108–112  ·  view source on GitHub ↗
(uint value, int offset)

Source from the content-addressed store, hash-verified

106 }
107
108 [MethodImpl(MethodImplOptions.AggressiveInlining)]
109 public static uint RotateLeft(uint value, int offset)
110 {
111 return (value << offset) | (value >> (32 - offset));
112 }
113
114#pragma warning disable CS0809 // Obsolete member overrides non-obsolete member
115 [Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", error: true)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected