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)
916int hash = Marvin.ComputeHash32(sortKey.Slice(0, sortKeyLength), Marvin.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (2)
172int hash = Marvin.ComputeHash32(span.Slice(0, sortKeyLength), Marvin.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (8)
755ulong seed = Marvin.DefaultSeed; 758return Marvin.ComputeHash32(ref Unsafe.As<char, byte>(ref _firstChar), (uint)_stringLength * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32)); 768ulong seed = Marvin.DefaultSeed; 769return Marvin.ComputeHash32OrdinalIgnoreCase(ref _firstChar, _stringLength /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32)); 776ulong seed = Marvin.DefaultSeed; 779return Marvin.ComputeHash32(ref Unsafe.As<char, byte>(ref MemoryMarshal.GetReference(value)), (uint)value.Length * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32)); 811ulong seed = Marvin.DefaultSeed; 812return Marvin.ComputeHash32OrdinalIgnoreCase(ref MemoryMarshal.GetReference(value), value.Length /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32));