Definition at line 933 of file SpanHelpers.cs.
934 {
938 {
940 }
941 while (true)
942 {
944 {
946 num -= 8;
949 {
950 break;
951 }
954 {
957 {
960 {
963 {
966 {
969 {
972 {
973 continue;
974 }
976 }
978 }
980 }
982 }
983 return (int)(num + 4);
984 }
985 return (int)(num + 5);
986 }
987 return (int)(num + 6);
988 }
990 {
992 num -= 4;
995 {
997 }
1000 {
1002 }
1005 {
1007 }
1010 {
1012 }
1013 }
1015 {
1017 num--;
1020 {
1021 continue;
1022 }
1024 }
1026 {
1031 {
1035 {
1038 continue;
1039 }
1041 }
1042 if (num != 0)
1043 {
1045 continue;
1046 }
1047 }
1048 return -1;
1050 return (int)num;
1052 return (int)(num + 3);
1054 return (int)(num + 1);
1056 return (int)(num + 2);
1057 }
1058 return (int)(num + 7);
1059 }
static bool IsHardwareAccelerated
static Vector< int > Equals(Vector< float > left, Vector< float > right)
static Vector< byte > LoadVector(ref byte start, nuint offset)
static int LocateLastFoundByte(Vector< byte > match)
static unsafe nuint UnalignedCountVectorFromEnd(ref byte searchSpace, int length)
References System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Numerics.Vector< T >.Equals(), System.Numerics.Vector< T >.IsHardwareAccelerated, System.length, System.SpanHelpers.LoadVector(), System.SpanHelpers.LocateLastFoundByte(), and System.SpanHelpers.UnalignedCountVectorFromEnd().
Referenced by System.MemoryExtensions.LastIndexOfAny< T >(), System.MemoryExtensions.LastIndexOfAny< T >(), System.MemoryExtensions.LastIndexOfAny< T >(), System.MemoryExtensions.LastIndexOfAny< T >(), System.MemoryExtensions.LastIndexOfAny< T >(), and System.MemoryExtensions.LastIndexOfAny< T >().