16 references to Marvin
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\RandomizedStringEqualityComparer.cs (4)
82return Marvin.ComputeHash32( 89Marvin.ComputeHash32( 127return Marvin.ComputeHash32OrdinalIgnoreCase( 134Marvin.ComputeHash32OrdinalIgnoreCase(
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (2)
915int hash = Marvin.ComputeHash32(sortKey.Slice(0, sortKeyLength), Marvin.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (2)
159int hash = Marvin.ComputeHash32(span.Slice(0, sortKeyLength), Marvin.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (8)
686ulong seed = Marvin.DefaultSeed; 689return Marvin.ComputeHash32(ref Unsafe.As<char, byte>(ref _firstChar), (uint)_stringLength * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32)); 699ulong seed = Marvin.DefaultSeed; 700return Marvin.ComputeHash32OrdinalIgnoreCase(ref _firstChar, _stringLength /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32)); 707ulong seed = Marvin.DefaultSeed; 710return Marvin.ComputeHash32(ref Unsafe.As<char, byte>(ref MemoryMarshal.GetReference(value)), (uint)value.Length * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32)); 742ulong seed = Marvin.DefaultSeed; 743return Marvin.ComputeHash32OrdinalIgnoreCase(ref MemoryMarshal.GetReference(value), value.Length /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32));