214 return (
int)(num + 6);
216 return (
int)(num + 5);
218 return (
int)(num + 4);
352 return (
int)(num + 2);
354 return (
int)(num + 1);
356 return (
int)(num + 3);
360 return (
int)(num + 7);
437 return (
int)(num + 4);
439 return (
int)(num + 5);
441 return (
int)(num + 6);
499 return (
int)(num + 2);
501 return (
int)(num + 3);
503 return (
int)(num + 1);
505 return (
int)(num + 7);
567 return (
int)(num + 7);
569 return (
int)(num + 6);
571 return (
int)(num + 5);
573 return (
int)(num + 4);
709 return (
int)(num + 2);
711 return (
int)(num + 1);
713 return (
int)(num + 3);
772 return (
int)(num + 6);
774 return (
int)(num + 5);
776 return (
int)(num + 4);
922 return (
int)(num + 1);
924 return (
int)(num + 3);
926 return (
int)(num + 2);
930 return (
int)(num + 7);
983 return (
int)(num + 4);
985 return (
int)(num + 5);
987 return (
int)(num + 6);
1052 return (
int)(num + 3);
1054 return (
int)(num + 1);
1056 return (
int)(num + 2);
1058 return (
int)(num + 7);
1063 nuint num = (uint)
length;
1111 return (
int)(num + 4);
1113 return (
int)(num + 5);
1115 return (
int)(num + 6);
1181 return (
int)(num + 3);
1183 return (
int)(num + 2);
1185 return (
int)(num + 1);
1187 return (
int)(num + 7);
1434 if (
num5 == uint.MaxValue)
1444 if (
num5 == uint.MaxValue)
1663 if (num >= (nuint)(
sizeof(
UIntPtr) / 2))
1797 return (
int)(num + 3);
1799 return (
int)(num + 2);
1801 return (
int)(num + 1);
2028 return (
int)(num + 3);
2030 return (
int)(num + 2);
2032 return (
int)(num + 1);
2184 return (
int)(num + 3);
2186 return (
int)(num + 2);
2188 return (
int)(num + 1);
2355 return (
int)(num + 3);
2357 return (
int)(num + 2);
2359 return (
int)(num + 1);
2533 return (
int)(num + 3);
2535 return (
int)(num + 2);
2537 return (
int)(num + 1);
2848 if (
Unsafe.SizeOf<T>() == 1)
2852 else if (
Unsafe.SizeOf<T>() == 2)
2856 else if (
Unsafe.SizeOf<T>() == 4)
2860 else if (
Unsafe.SizeOf<T>() == 8)
2864 else if (
Unsafe.SizeOf<T>() == 16)
2983 if (
default(T) !=
null ||
value !=
null)
3037 if (
default(T) !=
null ||
value !=
null)
3067 return (
int)(num + 7);
3069 return (
int)(num + 6);
3071 return (
int)(num + 5);
3073 return (
int)(num + 4);
3127 return (
int)(num + 1);
3129 return (
int)(num + 3);
3131 return (
int)(num + 2);
3137 if (
default(T) !=
null || (
value0 !=
null &&
value1 !=
null))
3221 for (i = 0; i <
length; i++)
3336 for (i = 0; i <
length; i++)
3370 if (
typeof(T).IsValueType)
3445 if (
default(T) !=
null ||
value !=
null)
3540 if (
default(T) !=
null || (
value0 !=
null &&
value1 !=
null))
3654 if (
default(T) !=
null || (
value0 !=
null &&
value1 !=
null))
3772 if (
typeof(T).IsValueType)
3828 if (val?.Equals(
val2) ?? (
val2 ==
null))
3832 if (val?.Equals(
val2) ?? (
val2 ==
null))
3836 if (val?.Equals(
val2) ?? (
val2 ==
null))
3840 if (val?.Equals(
val2) ?? (
val2 ==
null))
3844 if (val?.Equals(
val2) ?? (
val2 ==
null))
3848 if (val?.Equals(
val2) ?? (
val2 ==
null))
3852 if (val?.Equals(
val2) ?? (
val2 ==
null))
3856 if (val?.Equals(
val2) ?? (
val2 ==
null))
3878 if (val?.Equals(
val2) ?? (
val2 ==
null))
3882 if (val?.Equals(
val2) ?? (
val2 ==
null))
3886 if (val?.Equals(
val2) ?? (
val2 ==
null))
3890 if (val?.Equals(
val2) ?? (
val2 ==
null))
3905 if (val?.Equals(
val2) ?? (
val2 ==
null))
3928 for (
int i = 0; i < num; i++)
3931 int num2 =
Unsafe.Add(
ref first, i)?.CompareTo(val) ?? ((val !=
null) ? (-1) : 0);
static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount)
static unsafe void _ZeroMemory(ref byte b, nuint byteLength)
static int TrailingZeroCount(int value)
static bool IsPow2(int value)
static int Log2(uint value)
static bool IsHardwareAccelerated
static Vector< int > Equals(Vector< float > left, Vector< float > right)
static new bool IsSupported
static Vector128< byte > Create(byte value)
static Vector256< byte > Create(byte value)
static int MoveMask(Vector256< sbyte > value)
static Vector256< sbyte > CompareEqual(Vector256< sbyte > left, Vector256< sbyte > right)
static new bool IsSupported
static Vector256< sbyte > Or(Vector256< sbyte > left, Vector256< sbyte > right)
static int MoveMask(Vector128< sbyte > value)
static Vector128< sbyte > CompareEqual(Vector128< sbyte > left, Vector128< sbyte > right)
static Vector128< byte > Or(Vector128< byte > left, Vector128< byte > right)
static new bool IsSupported
static int IndexOfAny(ref char searchStart, char value0, char value1, int length)
static nint GetCharVector128SpanLength(nint offset, nint length)
static int LocateLastFoundChar(Vector< ushort > match)
static Vector256< ushort > LoadVector256(ref char start, nuint offset)
static unsafe nint UnalignedCountVector128(ref char searchSpace)
static bool Contains(ref byte searchSpace, byte value, int length)
static int IndexOf(ref char searchSpace, int searchSpaceLength, ref char value, int valueLength)
static void ClearWithReferences(ref IntPtr ip, nuint pointerSizeLength)
static unsafe int LastIndexOf(ref char searchSpace, char value, int length)
static int BinarySearch< T, TComparable >(this ReadOnlySpan< T > span, TComparable comparable)
static int LastIndexOfAny(ref byte searchSpace, byte value0, byte value1, int length)
static unsafe nint UnalignedCountVector(ref char searchSpace)
static unsafe nuint UnalignedCountVector(ref byte searchSpace)
static Vector< ushort > LoadVector(ref char start, nuint offset)
static nint GetCharVector256SpanLength(nint offset, nint length)
static Vector< byte > LoadVector(ref byte start, nuint offset)
static Vector128< ushort > LoadVector128(ref char start, nuint offset)
static nint GetCharVectorSpanLength(nint offset, nint length)
static int IndexOfAny(ref char searchStart, char value0, char value1, char value2, char value3, int length)
static Vector128< byte > LoadVector128(ref byte start, nuint offset)
static int IndexOf< T >(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength)
static unsafe int SequenceCompareTo(ref char first, int firstLength, ref char second, int secondLength)
static int LastIndexOfAny< T >(ref T searchSpace, T value0, T value1, int length)
static int LastIndexOf(ref byte searchSpace, byte value, int length)
static int LocateFirstFoundChar(Vector< ushort > match)
static bool SequenceEqual< T >(ref T first, ref T second, int length)
static void ClearWithoutReferences(ref byte b, nuint byteLength)
static int SequenceCompareTo< T >(ref T first, int firstLength, ref T second, int secondLength)
static int LocateLastFoundByte(Vector< byte > match)
static int LocateLastFoundByte(ulong match)
static ref char Add(ref char start, nuint offset)
static unsafe int IndexOf(ref char searchSpace, char value, int length)
static int LocateLastFoundChar(ulong match)
static Vector128< ushort > LoadVector128(ref char start, nint offset)
static int IndexOf(ref byte searchSpace, int searchSpaceLength, ref byte value, int valueLength)
static int LastIndexOf< T >(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength)
static unsafe bool Contains(ref char searchSpace, char value, int length)
static ushort LoadUShort(ref byte start)
static void Fill< T >(ref T refData, nuint numElements, T value)
static Vector256< ushort > LoadVector256(ref char start, nint offset)
static int IndexOfAny< T >(ref T searchSpace, T value0, T value1, int length)
static unsafe int IndexOf(ref byte searchSpace, byte value, int length)
static nuint GetByteVector256SpanLength(nuint offset, int length)
static nuint GetByteVector128SpanLength(nuint offset, int length)
static bool Contains< T >(ref T searchSpace, T value, int length)
static unsafe int SequenceCompareTo(ref byte first, int firstLength, ref byte second, int secondLength)
static uint LoadUInt(ref byte start, nuint offset)
static int LocateFirstFoundByte(Vector< byte > match)
static nuint LoadNUInt(ref byte start)
static Vector< ushort > LoadVector(ref char start, nint offset)
static uint LoadUInt(ref byte start)
static int IndexOfAny(ref byte searchSpace, byte value0, byte value1, int length)
static nuint GetByteVectorSpanLength(nuint offset, int length)
static unsafe bool SequenceEqual(ref byte first, ref byte second, nuint length)
static Vector256< byte > LoadVector256(ref byte start, nuint offset)
static nuint LoadNUInt(ref byte start, nuint offset)
static int IndexOfAny(ref char searchStart, char value0, char value1, char value2, char value3, char value4, int length)
static unsafe nuint UnalignedCountVector128(ref byte searchSpace)
static int IndexOfAny(ref byte searchSpace, byte value0, byte value1, byte value2, int length)
static int IndexOfAny(ref char searchStart, char value0, char value1, char value2, int length)
static int LastIndexOfAny(ref byte searchSpace, byte value0, byte value1, byte value2, int length)
static int LocateFirstFoundChar(ulong match)
static int LastIndexOf(ref byte searchSpace, int searchSpaceLength, ref byte value, int valueLength)
static int LocateFirstFoundByte(ulong match)
static unsafe nuint UnalignedCountVectorFromEnd(ref byte searchSpace, int length)
static void ThrowArgumentNullException(string name)
readonly TComparer _comparer
ComparerComparable(T value, TComparer comparer)