163 references to Count
System.Private.CoreLib (163)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
1604
result |= vector._upper.ExtractMostSignificantBits() << Vector64<T>.
Count
;
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (135)
48
for (int index = 0; index < Vector64<T>.
Count
; index++)
75
for (int index = 0; index < Vector64<T>.
Count
; index++)
323
for (int index = 0; index < Vector64<T>.
Count
; index++)
384
for (int i = 0; i < Vector64<double>.
Count
; i++)
403
for (int i = 0; i < Vector64<double>.
Count
; i++)
421
for (int i = 0; i < Vector64<int>.
Count
; i++)
439
for (int i = 0; i < Vector64<int>.
Count
; i++)
457
for (int i = 0; i < Vector64<long>.
Count
; i++)
475
for (int i = 0; i < Vector64<long>.
Count
; i++)
493
for (int i = 0; i < Vector64<float>.
Count
; i++)
512
for (int i = 0; i < Vector64<float>.
Count
; i++)
531
for (int i = 0; i < Vector64<uint>.
Count
; i++)
550
for (int i = 0; i < Vector64<uint>.
Count
; i++)
569
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
588
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
618
for (int index = 0; index < Vector64<T>.
Count
; index++)
632
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
640
if (destination.Length < Vector64<T>.
Count
)
653
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
667
if ((destination.Length - startIndex) < Vector64<T>.
Count
)
679
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
684
if (destination.Length < Vector64<T>.
Count
)
697
for (int index = 0; index < Vector64<T>.
Count
; index++)
788
for (int index = 0; index < Vector64<T>.
Count
; index++)
882
/// <returns>A new <see cref="Vector64{T}" /> with its elements set to the first <see cref="Vector64{T}.
Count
" /> elements from <paramref name="values" />.</returns>
883
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
891
if (values.Length < Vector64<T>.
Count
)
904
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector64{T}.
Count
" />.</exception>
912
if ((index < 0) || ((values.Length - index) < Vector64<T>.
Count
))
923
/// <returns>A new <see cref="Vector64{T}" /> with its elements set to the first <see cref="Vector64{T}.
Count
" /> elements from <paramref name="values" />.</returns>
924
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
929
if (values.Length < Vector64<T>.
Count
)
1277
for (int index = 0; index < Vector64<T>.
Count
; index++)
1358
for (int index = 0; index < Vector64<T>.
Count
; index++)
1386
for (int index = 0; index < Vector64<T>.
Count
; index++)
1402
for (int index = 0; index < Vector64<T>.
Count
; index++)
1462
for (int index = 0; index < Vector64<T>.
Count
; index++)
1495
for (int index = 0; index < Vector64<T>.
Count
; index++)
1534
for (int index = 0; index < Vector64<double>.
Count
; index++)
1558
for (int index = 0; index < Vector64<float>.
Count
; index++)
1578
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
1598
for (int index = 0; index < Vector64<T>.
Count
; index++)
1617
for (int index = 0; index < Vector64<T>.
Count
; index++)
1638
for (int index = 0; index < Vector64<T>.
Count
; index++)
1661
for (int index = 0; index < Vector64<T>.
Count
; index++)
1680
for (int index = 0; index < Vector64<T>.
Count
; index++)
1701
for (int index = 0; index < Vector64<T>.
Count
; index++)
1717
for (int index = 0; index < Vector64<T>.
Count
; index++)
2049
for (int index = 0; index < Vector64<T>.
Count
; index++)
2108
for (int index = 0; index < Vector64<T>.
Count
; index++)
2127
for (int index = 0; index < Vector64<T>.
Count
; index++)
2148
for (int index = 0; index < Vector64<T>.
Count
; index++)
2171
for (int index = 0; index < Vector64<T>.
Count
; index++)
2190
for (int index = 0; index < Vector64<T>.
Count
; index++)
2211
for (int index = 0; index < Vector64<T>.
Count
; index++)
2296
for (int index = 0; index < Vector64<T>.
Count
; index++)
2342
for (int index = 0; index < Vector64<T>.
Count
; index++)
2396
for (int index = 0; index < Vector64<T>.
Count
; index++)
2419
for (int index = 0; index < Vector64<T>.
Count
; index++)
2442
for (int index = 0; index < Vector64<T>.
Count
; index++)
2465
for (int index = 0; index < Vector64<T>.
Count
; index++)
2488
for (int index = 0; index < Vector64<T>.
Count
; index++)
2511
for (int index = 0; index < Vector64<T>.
Count
; index++)
2534
for (int index = 0; index < Vector64<T>.
Count
; index++)
2557
for (int index = 0; index < Vector64<T>.
Count
; index++)
2580
for (int index = 0; index < Vector64<T>.
Count
; index++)
2603
for (int index = 0; index < Vector64<T>.
Count
; index++)
2646
for (int index = 0; index < Vector64<T>.
Count
; index++)
2670
for (int index = 0; index < Vector64<double>.
Count
; index++)
2694
for (int index = 0; index < Vector64<float>.
Count
; index++)
2711
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
2717
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
2719
TResult value = TResult.CreateTruncating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
2780
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
2786
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
2788
TResult value = TResult.CreateSaturating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
2895
for (int index = 0; index < Vector64<T>.
Count
; index++)
2959
for (int index = 0; index < Vector64<T>.
Count
; index++)
3070
for (int index = 0; index < Vector64<uint>.
Count
; index++)
3092
for (int index = 0; index < Vector64<ulong>.
Count
; index++)
3283
for (int index = 0; index < Vector64<byte>.
Count
; index++)
3288
if (selectedIndex < Vector64<byte>.
Count
)
3308
for (int index = 0; index < Vector64<sbyte>.
Count
; index++)
3313
if (selectedIndex < Vector64<sbyte>.
Count
)
3373
for (int index = 0; index < Vector64<short>.
Count
; index++)
3378
if (selectedIndex < Vector64<short>.
Count
)
3398
for (int index = 0; index < Vector64<ushort>.
Count
; index++)
3403
if (selectedIndex < Vector64<ushort>.
Count
)
3461
for (int index = 0; index < Vector64<int>.
Count
; index++)
3466
if (selectedIndex < Vector64<int>.
Count
)
3486
for (int index = 0; index < Vector64<uint>.
Count
; index++)
3491
if (selectedIndex < Vector64<uint>.
Count
)
3510
for (int index = 0; index < Vector64<float>.
Count
; index++)
3515
if (selectedIndex < Vector64<float>.
Count
)
3588
for (int index = 0; index < Vector64<T>.
Count
; index++)
3642
for (int index = 0; index < Vector64<T>.
Count
; index++)
3702
for (int index = 0; index < Vector64<T>.
Count
; index++)
3797
for (int index = 0; index < Vector64<T>.
Count
; index++)
3818
for (int index = 0; index < Vector64<T>.
Count
; index++)
3894
for (int index = 0; index < Vector64<T>.
Count
; index++)
3916
/// <returns><c>true</c> if <paramref name="vector" /> was successfully copied to <paramref name="destination" />; otherwise, <c>false</c> if the length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</returns>
3921
if (destination.Length < Vector64<T>.
Count
)
3986
for (int i = 0; i < Vector64<ushort>.
Count
; i++)
4004
for (int i = 0; i < Vector64<int>.
Count
; i++)
4022
for (int i = 0; i < Vector64<long>.
Count
; i++)
4041
for (int i = 0; i < Vector64<short>.
Count
; i++)
4059
for (int i = 0; i < Vector64<double>.
Count
; i++)
4078
for (int i = 0; i < Vector64<uint>.
Count
; i++)
4097
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
4116
for (int i = Vector64<ushort>.
Count
; i < Vector64<byte>.
Count
; i++)
4119
upper.SetElementUnsafe(i - Vector64<ushort>.
Count
, value);
4134
for (int i = Vector64<int>.
Count
; i < Vector64<short>.
Count
; i++)
4137
upper.SetElementUnsafe(i - Vector64<int>.
Count
, value);
4152
for (int i = Vector64<long>.
Count
; i < Vector64<int>.
Count
; i++)
4155
upper.SetElementUnsafe(i - Vector64<long>.
Count
, value);
4171
for (int i = Vector64<short>.
Count
; i < Vector64<sbyte>.
Count
; i++)
4174
upper.SetElementUnsafe(i - Vector64<short>.
Count
, value);
4189
for (int i = Vector64<double>.
Count
; i < Vector64<float>.
Count
; i++)
4192
upper.SetElementUnsafe(i - Vector64<double>.
Count
, value);
4208
for (int i = Vector64<uint>.
Count
; i < Vector64<ushort>.
Count
; i++)
4211
upper.SetElementUnsafe(i - Vector64<uint>.
Count
, value);
4227
for (int i = Vector64<ulong>.
Count
; i < Vector64<uint>.
Count
; i++)
4230
upper.SetElementUnsafe(i - Vector64<ulong>.
Count
, value);
4248
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
4270
Debug.Assert((index >= 0) && (index < Vector64<T>.
Count
));
4278
Debug.Assert((index >= 0) && (index < Vector64<T>.
Count
));
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (15)
67
for (int i = 0; i <
Count
; i++)
139
for (int index = 0; index <
Count
; index++)
193
for (int index = 0; index <
Count
; index++)
212
for (int index = 0; index <
Count
; index++)
230
for (int index = 0; index <
Count
; index++)
275
for (int index = 0; index <
Count
; index++)
295
for (int index = 0; index <
Count
; index++)
315
for (int index = 0; index <
Count
; index++)
358
for (int index = 0; index <
Count
; index++)
378
for (int index = 0; index <
Count
; index++)
430
for (int index = 0; index <
Count
; index++)
471
for (int index = 0; index <
Count
; index++)
489
for (int i = 0; i <
Count
; i++)
513
for (int i = 1; i <
Count
; i++)
532
static int ISimdVector<Vector64<T>, T>.ElementCount => Vector64<T>.
Count
;
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64DebugView_1.cs (12)
21
var items = new byte[Vector64<byte>.
Count
];
31
var items = new double[Vector64<double>.
Count
];
41
var items = new short[Vector64<short>.
Count
];
51
var items = new int[Vector64<int>.
Count
];
61
var items = new long[Vector64<long>.
Count
];
71
var items = new nint[Vector64<nint>.
Count
];
81
var items = new nuint[Vector64<nuint>.
Count
];
91
var items = new sbyte[Vector64<sbyte>.
Count
];
101
var items = new float[Vector64<float>.
Count
];
111
var items = new ushort[Vector64<ushort>.
Count
];
121
var items = new uint[Vector64<uint>.
Count
];
131
var items = new ulong[Vector64<ulong>.
Count
];