3 instantiations of ProbabilisticMap
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMapState.cs (2)
37Map = new ProbabilisticMap(values); 59Map = new ProbabilisticMap(*valuesPtr);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
2101var map = new ProbabilisticMap(separators);
22 references to ProbabilisticMap
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
1240return ProbabilisticMap.IndexOfAnyExcept( 1820return ProbabilisticMap.LastIndexOfAnyExcept( 2959_ => ProbabilisticMap.IndexOfAny(ref Unsafe.As<short, char>(ref spanRef), span.Length, ref Unsafe.As<short, char>(ref valueRef), values.Length), 3381_ => ProbabilisticMap.LastIndexOfAny(ref Unsafe.As<short, char>(ref spanRef), span.Length, ref Unsafe.As<short, char>(ref valueRef), values.Length),
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticCharSearchValues.cs (2)
26ProbabilisticMap.IndexOfAny<SearchValues.TrueConst>(ref MemoryMarshal.GetReference(span), span.Length, ref _map); 32ProbabilisticMap.LastIndexOfAny<SearchValues.TrueConst>(ref MemoryMarshal.GetReference(span), span.Length, ref _map);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (6)
434Vector256<byte> charMap256 = Vector256.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map)); 520Vector128<byte> charMapLower = Vector128.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map)); 521Vector128<byte> charMapUpper = Vector128.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map), (nuint)Vector128<byte>.Count); 610Vector256<byte> charMap256 = Vector256.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map)); 698Vector128<byte> charMapLower = Vector128.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map)); 699Vector128<byte> charMapUpper = Vector128.LoadUnsafe(ref Unsafe.As<ProbabilisticMap, byte>(ref state.Map), (nuint)Vector128<byte>.Count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMapState.cs (5)
14/// Stores the state necessary to call vectorized members on <see cref="ProbabilisticMap"/>, 22public ProbabilisticMap Map; 97return ProbabilisticMap.Contains( 98ref Unsafe.As<ProbabilisticMap, uint>(ref Map), 109return ProbabilisticMap.Contains(*_slowContainsValuesPtr, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticWithAsciiCharSearchValues.cs (2)
85int index = ProbabilisticMap.IndexOfAny<SearchValues.TrueConst>( 184return ProbabilisticMap.LastIndexOfAny<SearchValues.TrueConst>(
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (3)
2101var map = new ProbabilisticMap(separators); 2102ref uint charMap = ref Unsafe.As<ProbabilisticMap, uint>(ref map); 2106if (ProbabilisticMap.Contains(ref charMap, separators, source[i]))