163 references to Count
System.Private.CoreLib (163)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (1)
1600
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++)
319
for (int index = 0; index < Vector64<T>.
Count
; index++)
380
for (int i = 0; i < Vector64<double>.
Count
; i++)
399
for (int i = 0; i < Vector64<double>.
Count
; i++)
417
for (int i = 0; i < Vector64<int>.
Count
; i++)
435
for (int i = 0; i < Vector64<int>.
Count
; i++)
453
for (int i = 0; i < Vector64<long>.
Count
; i++)
471
for (int i = 0; i < Vector64<long>.
Count
; i++)
489
for (int i = 0; i < Vector64<float>.
Count
; i++)
508
for (int i = 0; i < Vector64<float>.
Count
; i++)
527
for (int i = 0; i < Vector64<uint>.
Count
; i++)
546
for (int i = 0; i < Vector64<uint>.
Count
; i++)
565
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
584
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
614
for (int index = 0; index < Vector64<T>.
Count
; index++)
628
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
636
if (destination.Length < Vector64<T>.
Count
)
649
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
663
if ((destination.Length - startIndex) < Vector64<T>.
Count
)
675
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
680
if (destination.Length < Vector64<T>.
Count
)
693
for (int index = 0; index < Vector64<T>.
Count
; index++)
784
for (int index = 0; index < Vector64<T>.
Count
; index++)
878
/// <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>
879
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
887
if (values.Length < Vector64<T>.
Count
)
900
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector64{T}.
Count
" />.</exception>
908
if ((index < 0) || ((values.Length - index) < Vector64<T>.
Count
))
919
/// <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>
920
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
925
if (values.Length < Vector64<T>.
Count
)
1273
for (int index = 0; index < Vector64<T>.
Count
; index++)
1354
for (int index = 0; index < Vector64<T>.
Count
; index++)
1382
for (int index = 0; index < Vector64<T>.
Count
; index++)
1398
for (int index = 0; index < Vector64<T>.
Count
; index++)
1458
for (int index = 0; index < Vector64<T>.
Count
; index++)
1491
for (int index = 0; index < Vector64<T>.
Count
; index++)
1530
for (int index = 0; index < Vector64<double>.
Count
; index++)
1554
for (int index = 0; index < Vector64<float>.
Count
; index++)
1574
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
1594
for (int index = 0; index < Vector64<T>.
Count
; index++)
1613
for (int index = 0; index < Vector64<T>.
Count
; index++)
1634
for (int index = 0; index < Vector64<T>.
Count
; index++)
1657
for (int index = 0; index < Vector64<T>.
Count
; index++)
1676
for (int index = 0; index < Vector64<T>.
Count
; index++)
1697
for (int index = 0; index < Vector64<T>.
Count
; index++)
1713
for (int index = 0; index < Vector64<T>.
Count
; index++)
2045
for (int index = 0; index < Vector64<T>.
Count
; index++)
2104
for (int index = 0; index < Vector64<T>.
Count
; index++)
2123
for (int index = 0; index < Vector64<T>.
Count
; index++)
2144
for (int index = 0; index < Vector64<T>.
Count
; index++)
2167
for (int index = 0; index < Vector64<T>.
Count
; index++)
2186
for (int index = 0; index < Vector64<T>.
Count
; index++)
2207
for (int index = 0; index < Vector64<T>.
Count
; index++)
2292
for (int index = 0; index < Vector64<T>.
Count
; index++)
2338
for (int index = 0; index < Vector64<T>.
Count
; index++)
2392
for (int index = 0; index < Vector64<T>.
Count
; index++)
2415
for (int index = 0; index < Vector64<T>.
Count
; index++)
2438
for (int index = 0; index < Vector64<T>.
Count
; index++)
2461
for (int index = 0; index < Vector64<T>.
Count
; index++)
2484
for (int index = 0; index < Vector64<T>.
Count
; index++)
2507
for (int index = 0; index < Vector64<T>.
Count
; index++)
2530
for (int index = 0; index < Vector64<T>.
Count
; index++)
2553
for (int index = 0; index < Vector64<T>.
Count
; index++)
2576
for (int index = 0; index < Vector64<T>.
Count
; index++)
2599
for (int index = 0; index < Vector64<T>.
Count
; index++)
2642
for (int index = 0; index < Vector64<T>.
Count
; index++)
2666
for (int index = 0; index < Vector64<double>.
Count
; index++)
2690
for (int index = 0; index < Vector64<float>.
Count
; index++)
2707
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
2713
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
2715
TResult value = TResult.CreateTruncating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
2776
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
2782
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
2784
TResult value = TResult.CreateSaturating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
2891
for (int index = 0; index < Vector64<T>.
Count
; index++)
2955
for (int index = 0; index < Vector64<T>.
Count
; index++)
3066
for (int index = 0; index < Vector64<uint>.
Count
; index++)
3088
for (int index = 0; index < Vector64<ulong>.
Count
; index++)
3279
for (int index = 0; index < Vector64<byte>.
Count
; index++)
3284
if (selectedIndex < Vector64<byte>.
Count
)
3304
for (int index = 0; index < Vector64<sbyte>.
Count
; index++)
3309
if (selectedIndex < Vector64<sbyte>.
Count
)
3369
for (int index = 0; index < Vector64<short>.
Count
; index++)
3374
if (selectedIndex < Vector64<short>.
Count
)
3394
for (int index = 0; index < Vector64<ushort>.
Count
; index++)
3399
if (selectedIndex < Vector64<ushort>.
Count
)
3457
for (int index = 0; index < Vector64<int>.
Count
; index++)
3462
if (selectedIndex < Vector64<int>.
Count
)
3482
for (int index = 0; index < Vector64<uint>.
Count
; index++)
3487
if (selectedIndex < Vector64<uint>.
Count
)
3506
for (int index = 0; index < Vector64<float>.
Count
; index++)
3511
if (selectedIndex < Vector64<float>.
Count
)
3584
for (int index = 0; index < Vector64<T>.
Count
; index++)
3638
for (int index = 0; index < Vector64<T>.
Count
; index++)
3698
for (int index = 0; index < Vector64<T>.
Count
; index++)
3793
for (int index = 0; index < Vector64<T>.
Count
; index++)
3814
for (int index = 0; index < Vector64<T>.
Count
; index++)
3890
for (int index = 0; index < Vector64<T>.
Count
; index++)
3912
/// <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>
3917
if (destination.Length < Vector64<T>.
Count
)
3982
for (int i = 0; i < Vector64<ushort>.
Count
; i++)
4000
for (int i = 0; i < Vector64<int>.
Count
; i++)
4018
for (int i = 0; i < Vector64<long>.
Count
; i++)
4037
for (int i = 0; i < Vector64<short>.
Count
; i++)
4055
for (int i = 0; i < Vector64<double>.
Count
; i++)
4074
for (int i = 0; i < Vector64<uint>.
Count
; i++)
4093
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
4112
for (int i = Vector64<ushort>.
Count
; i < Vector64<byte>.
Count
; i++)
4115
upper.SetElementUnsafe(i - Vector64<ushort>.
Count
, value);
4130
for (int i = Vector64<int>.
Count
; i < Vector64<short>.
Count
; i++)
4133
upper.SetElementUnsafe(i - Vector64<int>.
Count
, value);
4148
for (int i = Vector64<long>.
Count
; i < Vector64<int>.
Count
; i++)
4151
upper.SetElementUnsafe(i - Vector64<long>.
Count
, value);
4167
for (int i = Vector64<short>.
Count
; i < Vector64<sbyte>.
Count
; i++)
4170
upper.SetElementUnsafe(i - Vector64<short>.
Count
, value);
4185
for (int i = Vector64<double>.
Count
; i < Vector64<float>.
Count
; i++)
4188
upper.SetElementUnsafe(i - Vector64<double>.
Count
, value);
4204
for (int i = Vector64<uint>.
Count
; i < Vector64<ushort>.
Count
; i++)
4207
upper.SetElementUnsafe(i - Vector64<uint>.
Count
, value);
4223
for (int i = Vector64<ulong>.
Count
; i < Vector64<uint>.
Count
; i++)
4226
upper.SetElementUnsafe(i - Vector64<ulong>.
Count
, value);
4244
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
4266
Debug.Assert((index >= 0) && (index < Vector64<T>.
Count
));
4274
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
];