16 references to Marvin
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\RandomizedStringEqualityComparer.cs (4)
82
return
Marvin
.ComputeHash32(
89
Marvin
.ComputeHash32(
127
return
Marvin
.ComputeHash32OrdinalIgnoreCase(
134
Marvin
.ComputeHash32OrdinalIgnoreCase(
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (2)
916
int hash =
Marvin
.ComputeHash32(sortKey.Slice(0, sortKeyLength),
Marvin
.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (2)
172
int hash =
Marvin
.ComputeHash32(span.Slice(0, sortKeyLength),
Marvin
.DefaultSeed);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (8)
755
ulong seed =
Marvin
.DefaultSeed;
758
return
Marvin
.ComputeHash32(ref Unsafe.As<char, byte>(ref _firstChar), (uint)_stringLength * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32));
768
ulong seed =
Marvin
.DefaultSeed;
769
return
Marvin
.ComputeHash32OrdinalIgnoreCase(ref _firstChar, _stringLength /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32));
776
ulong seed =
Marvin
.DefaultSeed;
779
return
Marvin
.ComputeHash32(ref Unsafe.As<char, byte>(ref MemoryMarshal.GetReference(value)), (uint)value.Length * 2 /* in bytes, not chars */, (uint)seed, (uint)(seed >> 32));
811
ulong seed =
Marvin
.DefaultSeed;
812
return
Marvin
.ComputeHash32OrdinalIgnoreCase(ref MemoryMarshal.GetReference(value), value.Length /* in chars, not bytes */, (uint)seed, (uint)(seed >> 32));