316 references to Count
System.Formats.Asn1 (42)
System\Formats\Asn1\AsnCharacterStringEncodings.net.cs (42)
20
if (chars.Length >= Vector<byte>.
Count
&& Vector.IsHardwareAccelerated)
30
if (bytes.Length >= Vector<byte>.
Count
&& Vector.IsHardwareAccelerated)
45
Debug.Assert(Vector<byte>.
Count
== 2 * Vector<ushort>.
Count
);
51
while (source.Length >= Vector<byte>.
Count
)
54
Vector<ushort> upper = new Vector<ushort>(source.Slice(Vector<ushort>.
Count
));
65
destination = destination.Slice(Vector<byte>.
Count
);
68
source = source.Slice(Vector<byte>.
Count
);
69
position += Vector<byte>.
Count
;
80
Debug.Assert(Vector<byte>.
Count
== 2 * Vector<ushort>.
Count
);
88
while (source.Length >= Vector<byte>.
Count
)
102
upper.CopyTo(destination.Slice(Vector<ushort>.
Count
));
103
destination = destination.Slice(Vector<byte>.
Count
);
106
source = source.Slice(Vector<byte>.
Count
);
107
position += Vector<byte>.
Count
;
221
if (chars.Length >= Vector<byte>.
Count
&& Vector.IsHardwareAccelerated)
251
if (bytes.Length >= Vector<byte>.
Count
&& Vector.IsHardwareAccelerated)
286
Debug.Assert(Vector<byte>.
Count
== 2 * Vector<ushort>.
Count
);
294
while (source.Length >= Vector<byte>.
Count
)
297
Vector<ushort> upper = new Vector<ushort>(source.Slice(Vector<ushort>.
Count
));
310
destination = destination.Slice(Vector<byte>.
Count
);
313
source = source.Slice(Vector<byte>.
Count
);
314
position += Vector<byte>.
Count
;
325
Debug.Assert(Vector<byte>.
Count
== 2 * Vector<ushort>.
Count
);
335
while (source.Length >= Vector<byte>.
Count
)
351
upper.CopyTo(destination.Slice(Vector<ushort>.
Count
));
352
destination = destination.Slice(Vector<byte>.
Count
);
355
source = source.Slice(Vector<byte>.
Count
);
356
position += Vector<byte>.
Count
;
400
if (chars.Length >= Vector<ushort>.
Count
&& Vector.IsHardwareAccelerated)
452
if (bytes.Length >= Vector<ushort>.
Count
* sizeof(ushort) && Vector.IsHardwareAccelerated)
498
while (source.Length >= Vector<ushort>.
Count
)
511
destination = destination.Slice(Vector<ushort>.
Count
);
514
source = source.Slice(Vector<ushort>.
Count
);
515
position += Vector<ushort>.
Count
;
534
while (source.Length >= Vector<ushort>.
Count
)
547
destination = destination.Slice(Vector<ushort>.
Count
);
550
source = source.Slice(Vector<ushort>.
Count
);
551
position += Vector<ushort>.
Count
;
System.Formats.Tar (1)
System\Formats\Tar\TarHeader.Write.cs (1)
989
int vectorSize = Vector<byte>.
Count
;
System.Linq (19)
System\Linq\Average.cs (3)
32
if (Vector.IsHardwareAccelerated && span.Length >= Vector<int>.
Count
)
40
i += Vector<int>.
Count
;
42
while (i <= span.Length - Vector<int>.
Count
);
System\Linq\Range.cs (4)
82
destination.Length >= Vector<T>.
Count
)
85
Vector<T> increment = new Vector<T>(T.CreateTruncating(Vector<T>.
Count
));
87
while (destination.Length >= Vector<T>.
Count
)
91
destination = destination.Slice(Vector<T>.
Count
);
System\Linq\Sum.cs (12)
53
&& Vector<T>.
Count
> 2
54
&& span.Length >= Vector<T>.
Count
* 4)
82
Debug.Assert(span.Length >= Vector<T>.
Count
* 4);
83
Debug.Assert(Vector<T>.
Count
> 2);
120
while (span.Length >= Vector<T>.
Count
* 4)
127
data = Vector.Create(span.Slice(Vector<T>.
Count
));
131
data = Vector.Create(span.Slice(Vector<T>.
Count
* 2));
135
data = Vector.Create(span.Slice(Vector<T>.
Count
* 3));
139
span = span.Slice(Vector<T>.
Count
* 4);
143
while (span.Length >= Vector<T>.
Count
)
150
span = span.Slice(Vector<T>.
Count
);
161
for (int i = 0; i < Vector<T>.
Count
; i++)
System.Net.WebSockets (3)
System\Net\WebSockets\ManagedWebSocket.cs (3)
1705
if (Vector.IsHardwareAccelerated && toMask.Length >= Vector<byte>.
Count
)
1711
toMask = toMask.Slice(Vector<byte>.
Count
);
1713
while (toMask.Length >= Vector<byte>.
Count
);
System.Private.CoreLib (247)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (40)
48
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.
Count
" /> elements from <paramref name="values" />.</returns>
50
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
56
if (values.Length <
Count
)
67
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.
Count
" /> elements from <paramref name="values" />.</returns>
69
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector{T}.
Count
" />.</exception>
75
if ((index < 0) || ((values.Length - index) <
Count
))
85
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.
Count
" /> elements from <paramref name="values" />.</returns>
86
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
92
if (values.Length <
Count
)
110
if (values.Length < Vector<byte>.
Count
)
120
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.
Count
" /> elements from <paramref name="values" />.</returns>
121
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
158
for (int i = 0; i <
Count
; i++)
219
for (int index = 0; index <
Count
; index++)
242
for (int index = 0; index < Vector<ulong>.
Count
; index++)
265
for (int index = 0; index < Vector<ulong>.
Count
; index++)
284
for (int index = 0; index <
Count
; index++)
303
for (int index = 0; index <
Count
; index++)
320
for (int index = 0; index <
Count
; index++)
344
for (int index = 0; index < Vector<ulong>.
Count
; index++)
459
for (int index = 0; index <
Count
; index++)
478
for (int index = 0; index <
Count
; index++)
513
for (int index = 0; index < Vector<ulong>.
Count
; index++)
532
for (int index = 0; index <
Count
; index++)
551
for (int index = 0; index <
Count
; index++)
602
for (int index = 0; index <
Count
; index++)
614
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
620
if (destination.Length <
Count
)
632
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
644
if ((destination.Length - startIndex) <
Count
)
660
if (destination.Length < Vector<byte>.
Count
)
670
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector{T}.
Count
" />.</exception>
674
if (destination.Length <
Count
)
713
for (int index = 0; index <
Count
; index++)
730
for (int index = 0; index <
Count
; index++)
762
for (int i = 1; i <
Count
; i++)
781
if (destination.Length < Vector<byte>.
Count
)
792
/// <returns><c>true</c> if the current instance was successfully copied to <paramref name="destination" />; otherwise, <c>false</c> if the length of <paramref name="destination" /> is less than <see cref="Vector{T}.
Count
" />.</returns>
796
if (destination.Length <
Count
)
813
static int ISimdVector<Vector<T>, T>.ElementCount => Vector<T>.
Count
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (161)
16
internal static int Alignment => Vector<byte>.
Count
;
129
for (int index = 0; index < Vector<T>.
Count
; index++)
156
for (int index = 0; index < Vector<T>.
Count
; index++)
366
for (int index = 0; index < Vector<T>.
Count
; index++)
390
for (int index = 0; index < Vector<double>.
Count
; index++)
409
for (int index = 0; index < Vector<float>.
Count
; index++)
470
if (Vector<double>.
Count
== Vector512<double>.Count)
474
else if (Vector<double>.
Count
== Vector256<double>.Count)
480
Debug.Assert(Vector<double>.
Count
== Vector128<double>.Count);
493
if (Vector<double>.
Count
== Vector512<double>.Count)
497
else if (Vector<double>.
Count
== Vector256<double>.Count)
503
Debug.Assert(Vector<double>.
Count
== Vector128<double>.Count);
516
for (int i = 0; i < Vector<int>.
Count
; i++)
533
for (int i = 0; i < Vector<int>.
Count
; i++)
550
for (int i = 0; i < Vector<long>.
Count
; i++)
567
for (int i = 0; i < Vector<long>.
Count
; i++)
584
for (int i = 0; i < Vector<float>.
Count
; i++)
601
if (Vector<float>.
Count
== Vector512<float>.Count)
605
else if (Vector<float>.
Count
== Vector256<float>.Count)
611
Debug.Assert(Vector<float>.
Count
== Vector128<float>.Count);
625
for (int i = 0; i < Vector<uint>.
Count
; i++)
643
for (int i = 0; i < Vector<uint>.
Count
; i++)
661
for (int i = 0; i < Vector<ulong>.
Count
; i++)
679
for (int i = 0; i < Vector<ulong>.
Count
; i++)
693
for (int index = 0; index < Vector<T>.
Count
; index++)
747
for (int index = 0; index < Vector<T>.
Count
; index++)
764
if (Vector<T>.
Count
== Vector512<T>.Count)
768
else if (Vector<T>.
Count
== Vector256<T>.Count)
774
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
808
for (int index = 0; index < Vector<T>.
Count
; index++)
819
/// <returns>A new <see cref="Vector{T}" /> with its elements set to the first <see cref="Vector{T}.
Count
" /> elements from <paramref name="values" />.</returns>
825
if (values.Length < Vector<T>.
Count
)
883
if (Vector<T>.
Count
== Vector512<T>.Count)
887
else if (Vector<T>.
Count
== Vector256<T>.Count)
893
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
910
for (int index = 1; index < Vector<T>.
Count
; index += 2)
938
if (Vector<T>.
Count
== Vector512<T>.Count)
942
else if (Vector<T>.
Count
== Vector256<T>.Count)
948
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
962
if (Vector<T>.
Count
== Vector512<T>.Count)
966
else if (Vector<T>.
Count
== Vector256<T>.Count)
972
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
986
if (Vector<T>.
Count
== Vector512<T>.Count)
990
else if (Vector<T>.
Count
== Vector256<T>.Count)
996
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1010
if (Vector<T>.
Count
== Vector512<T>.Count)
1014
else if (Vector<T>.
Count
== Vector256<T>.Count)
1020
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1034
if (Vector<T>.
Count
== Vector512<T>.Count)
1038
else if (Vector<T>.
Count
== Vector256<T>.Count)
1044
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1058
if (Vector<T>.
Count
== Vector512<T>.Count)
1062
else if (Vector<T>.
Count
== Vector256<T>.Count)
1068
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1091
if (Vector<T>.
Count
== Vector512<T>.Count)
1095
else if (Vector<T>.
Count
== Vector256<T>.Count)
1101
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1115
if (Vector<T>.
Count
== Vector512<T>.Count)
1119
else if (Vector<T>.
Count
== Vector256<T>.Count)
1125
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1147
if (Vector<T>.
Count
== Vector512<T>.Count)
1151
else if (Vector<T>.
Count
== Vector256<T>.Count)
1157
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1167
for (int index = 0; index < Vector<T>.
Count
; index++)
1241
for (int index = 0; index < Vector<T>.
Count
; index++)
1295
for (int index = 0; index < Vector<T>.
Count
; index++)
1311
for (int index = 0; index < Vector<T>.
Count
; index++)
1359
for (int index = 0; index < Vector<T>.
Count
; index++)
1383
for (int index = 0; index < Vector<double>.
Count
; index++)
1402
for (int index = 0; index < Vector<float>.
Count
; index++)
1426
for (int index = 0; index < Vector<double>.
Count
; index++)
1450
for (int index = 0; index < Vector<float>.
Count
; index++)
1470
if ((uint)(index) >= (uint)(Vector<T>.
Count
))
1489
for (int index = 0; index < Vector<T>.
Count
; index++)
1535
for (int index = 0; index < Vector<T>.
Count
; index++)
1555
for (int index = 0; index < Vector<T>.
Count
; index++)
1577
for (int index = 0; index < Vector<T>.
Count
; index++)
1623
for (int index = 0; index < Vector<T>.
Count
; index++)
1643
for (int index = 0; index < Vector<T>.
Count
; index++)
1659
for (int index = 0; index < Vector<T>.
Count
; index++)
1701
if (Vector<T>.
Count
== Vector512<T>.Count)
1705
else if (Vector<T>.
Count
== Vector256<T>.Count)
1711
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1939
if (Vector<T>.
Count
== Vector512<T>.Count)
1943
else if (Vector<T>.
Count
== Vector256<T>.Count)
1949
Debug.Assert(Vector<T>.
Count
== Vector128<T>.Count);
1978
for (int index = 0; index < Vector<T>.
Count
; index++)
2036
for (int index = 0; index < Vector<T>.
Count
; index++)
2082
for (int index = 0; index < Vector<T>.
Count
; index++)
2102
for (int index = 0; index < Vector<T>.
Count
; index++)
2124
for (int index = 0; index < Vector<T>.
Count
; index++)
2170
for (int index = 0; index < Vector<T>.
Count
; index++)
2190
for (int index = 0; index < Vector<T>.
Count
; index++)
2275
for (int index = 0; index < Vector<T>.
Count
; index++)
2317
for (int index = 0; index < Vector<T>.
Count
; index++)
2367
for (int index = 0; index < Vector<T>.
Count
; index++)
2390
for (int index = 0; index < Vector<T>.
Count
; index++)
2413
for (int index = 0; index < Vector<T>.
Count
; index++)
2446
for (int index = 0; index < Vector<T>.
Count
; index++)
2469
for (int index = 0; index < Vector<T>.
Count
; index++)
2492
for (int index = 0; index < Vector<T>.
Count
; index++)
2515
for (int index = 0; index < Vector<T>.
Count
; index++)
2538
for (int index = 0; index < Vector<T>.
Count
; index++)
2571
for (int index = 0; index < Vector<T>.
Count
; index++)
2594
for (int index = 0; index < Vector<T>.
Count
; index++)
2634
for (int index = 0; index < Vector<T>.
Count
; index++)
2650
for (int index = 0; index < Vector<double>.
Count
; index++)
2666
for (int index = 0; index < Vector<float>.
Count
; index++)
2683
for (int i = 0; i < Vector<TSource>.
Count
; i++)
2689
for (int i = Vector<TSource>.
Count
; i < Vector<TResult>.
Count
; i++)
2691
TResult value = TResult.CreateTruncating(high.GetElementUnsafe(i - Vector<TSource>.
Count
));
2752
for (int i = 0; i < Vector<TSource>.
Count
; i++)
2758
for (int i = Vector<TSource>.
Count
; i < Vector<TResult>.
Count
; i++)
2760
TResult value = TResult.CreateSaturating(high.GetElementUnsafe(i - Vector<TSource>.
Count
));
2856
for (int index = 0; index < Vector<T>.
Count
; index++)
2901
for (int index = 0; index < Vector<T>.
Count
; index++)
3001
if (Vector<uint>.
Count
== Vector512<uint>.Count)
3005
else if (Vector<uint>.
Count
== Vector256<uint>.Count)
3011
Debug.Assert(Vector<uint>.
Count
== Vector128<uint>.Count);
3027
if (Vector<ulong>.
Count
== Vector512<ulong>.Count)
3031
else if (Vector<ulong>.
Count
== Vector256<ulong>.Count)
3037
Debug.Assert(Vector<ulong>.
Count
== Vector128<ulong>.Count);
3158
for (int index = 0; index < Vector<T>.
Count
; index++)
3201
for (int index = 0; index < Vector<T>.
Count
; index++)
3250
for (int index = 0; index < Vector<T>.
Count
; index++)
3345
for (int index = 0; index < Vector<T>.
Count
; index++)
3364
for (int index = 0; index < Vector<T>.
Count
; index++)
3392
for (int index = 0; index < Vector<T>.
Count
; index++)
3547
for (int i = 0; i < Vector<ushort>.
Count
; i++)
3565
for (int i = 0; i < Vector<int>.
Count
; i++)
3583
for (int i = 0; i < Vector<long>.
Count
; i++)
3602
for (int i = 0; i < Vector<short>.
Count
; i++)
3620
for (int i = 0; i < Vector<double>.
Count
; i++)
3639
for (int i = 0; i < Vector<uint>.
Count
; i++)
3658
for (int i = 0; i < Vector<ulong>.
Count
; i++)
3677
for (int i = Vector<ushort>.
Count
; i < Vector<byte>.
Count
; i++)
3680
upper.SetElementUnsafe(i - Vector<ushort>.
Count
, value);
3695
for (int i = Vector<int>.
Count
; i < Vector<short>.
Count
; i++)
3698
upper.SetElementUnsafe(i - Vector<int>.
Count
, value);
3713
for (int i = Vector<long>.
Count
; i < Vector<int>.
Count
; i++)
3716
upper.SetElementUnsafe(i - Vector<long>.
Count
, value);
3732
for (int i = Vector<short>.
Count
; i < Vector<sbyte>.
Count
; i++)
3735
upper.SetElementUnsafe(i - Vector<short>.
Count
, value);
3750
for (int i = Vector<double>.
Count
; i < Vector<float>.
Count
; i++)
3753
upper.SetElementUnsafe(i - Vector<double>.
Count
, value);
3769
for (int i = Vector<uint>.
Count
; i < Vector<ushort>.
Count
; i++)
3772
upper.SetElementUnsafe(i - Vector<uint>.
Count
, value);
3788
for (int i = Vector<ulong>.
Count
; i < Vector<uint>.
Count
; i++)
3791
upper.SetElementUnsafe(i - Vector<ulong>.
Count
, value);
3808
if ((uint)(index) >= (uint)(Vector<T>.
Count
))
3829
Debug.Assert((index >= 0) && (index < Vector<T>.
Count
));
3837
Debug.Assert((index >= 0) && (index < Vector<T>.
Count
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\VectorDebugView_1.cs (12)
22
var items = new byte[Vector<byte>.
Count
];
32
var items = new double[Vector<double>.
Count
];
42
var items = new short[Vector<short>.
Count
];
52
var items = new int[Vector<int>.
Count
];
62
var items = new long[Vector<long>.
Count
];
72
var items = new nint[Vector<nint>.
Count
];
82
var items = new nuint[Vector<nuint>.
Count
];
92
var items = new sbyte[Vector<sbyte>.
Count
];
102
var items = new float[Vector<float>.
Count
];
112
var items = new ushort[Vector<ushort>.
Count
];
122
var items = new uint[Vector<uint>.
Count
];
132
var items = new ulong[Vector<ulong>.
Count
];
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.Numerics.cs (2)
103
Debug.Assert(Vector<T>.
Count
>= Vector128<T>.Count);
175
Debug.Assert(Vector<T>.
Count
>= Vector128<T>.Count);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (2)
372
if (Vector<T>.
Count
>= Vector256<T>.Count)
396
if (Vector256<T>.Count >= Vector<T>.
Count
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (2)
370
Debug.Assert(Vector512<T>.Count >= Vector<T>.
Count
);
387
Debug.Assert(Vector512<T>.Count >= Vector<T>.
Count
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.ByteMemOps.cs (7)
501
if (len >= (nuint)Vector<byte>.
Count
)
505
nuint stopLoopAtOffset = len & (nuint)(nint)(2 * (int)-Vector<byte>.
Count
); // intentional sign extension carries the negative bit
511
if (len >= (uint)(2 * Vector<byte>.
Count
))
516
Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref dest, offset + (nuint)Vector<byte>.
Count
), vector);
517
offset += (uint)(2 * Vector<byte>.
Count
);
526
if ((len & (nuint)Vector<byte>.
Count
) != 0)
537
Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref dest, len - (nuint)Vector<byte>.
Count
), vector);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (3)
481
if (Vector.IsHardwareAccelerated && minLength >= (nuint)Vector<ushort>.
Count
)
483
nuint nLength = minLength - (nuint)Vector<ushort>.
Count
;
491
i += (nuint)Vector<ushort>.
Count
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (12)
33
if (sizeof(T) > Vector<byte>.
Count
)
43
if (numElements >= (uint)(Vector<byte>.
Count
/ sizeof(T)))
70
else if (sizeof(T) == Vector<byte>.
Count
)
76
if (Vector<byte>.
Count
== 32)
80
else if (Vector<byte>.
Count
== 64)
92
if (Vector<byte>.
Count
== 64)
110
nuint stopLoopAtOffset = totalByteLength & (nuint)(nint)(2 * (int)-Vector<byte>.
Count
); // intentional sign extension carries the negative bit
117
if (numElements >= (uint)(2 * Vector<byte>.
Count
/ sizeof(T)))
122
Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref refDataAsBytes, offset + (nuint)Vector<byte>.
Count
), vector);
123
offset += (uint)(2 * Vector<byte>.
Count
);
133
if ((totalByteLength & (nuint)Vector<byte>.
Count
) != 0)
145
Unsafe.WriteUnaligned(ref Unsafe.AddByteOffset(ref refDataAsBytes, totalByteLength - (nuint)Vector<byte>.
Count
), vector);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Latin1Utility.cs (6)
46
if (Vector.IsHardwareAccelerated && bufferLength >= 2 * (uint)Vector<ushort>.
Count
)
48
uint SizeOfVectorInChars = (uint)Vector<ushort>.
Count
; // JIT will make this a const
49
uint SizeOfVectorInBytes = (uint)Vector<byte>.
Count
; // JIT will make this a const
615
Vector<ushort> utf16VectorLow = Unsafe.ReadUnaligned<Vector<ushort>>(pUtf16Buffer + currentOffset + Vector<ushort>.
Count
);
1080
uint SizeOfVector = (uint)Vector<byte>.
Count
; // JIT will make this a const
1093
Unsafe.WriteUnaligned(pUtf16Buffer + currentOffset + Vector<ushort>.
Count
, utf16HighVector);
System.ServiceModel.Http (2)
System\ServiceModel\Channels\HttpTransportSecurityHelpers.cs (2)
129
if ((i + Vector<byte>.
Count
) > certRawData.Length)
152
i += Vector<byte>.
Count
;
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\AllowedBmpCodePointsBitmap.cs (2)
97
definedCharsBitmapAsLittleEndian = definedCharsBitmapAsLittleEndian.Slice(Vector<byte>.
Count
);
98
thisAllowedCharactersBitmap = thisAllowedCharactersBitmap.Slice(Vector<uint>.
Count
);