195 references to Count
System.Private.CoreLib (195)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (5)
1619
if (Vector64<T>.
Count
== 1)
1663
if (Vector64<T>.
Count
== 1)
1679
if (Vector64<T>.
Count
== 1)
1708
if (Vector64<T>.
Count
== 1)
1893
result |= vector._upper.ExtractMostSignificantBits() << Vector64<T>.
Count
;
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (163)
132
for (int index = 0; index < Vector64<T>.
Count
; index++)
159
for (int index = 0; index < Vector64<T>.
Count
; index++)
390
for (int index = 0; index < Vector64<T>.
Count
; index++)
456
for (int i = 0; i < Vector64<double>.
Count
; i++)
475
for (int i = 0; i < Vector64<double>.
Count
; i++)
493
for (int i = 0; i < Vector64<int>.
Count
; i++)
511
for (int i = 0; i < Vector64<int>.
Count
; i++)
529
for (int i = 0; i < Vector64<long>.
Count
; i++)
547
for (int i = 0; i < Vector64<long>.
Count
; i++)
565
for (int i = 0; i < Vector64<float>.
Count
; i++)
584
for (int i = 0; i < Vector64<float>.
Count
; i++)
603
for (int i = 0; i < Vector64<uint>.
Count
; i++)
622
for (int i = 0; i < Vector64<uint>.
Count
; i++)
641
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
660
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
686
for (int index = 0; index < Vector64<T>.
Count
; index++)
700
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
708
if (destination.Length < Vector64<T>.
Count
)
721
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
735
if ((destination.Length - startIndex) < Vector64<T>.
Count
)
747
/// <exception cref="ArgumentException">The length of <paramref name="destination" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
752
if (destination.Length < Vector64<T>.
Count
)
765
for (int index = 0; index < Vector64<T>.
Count
; index++)
897
for (int index = 0; index < Vector64<T>.
Count
; index++)
991
/// <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>
992
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
1000
if (values.Length < Vector64<T>.
Count
)
1013
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" />, starting from <paramref name="index" />, is less than <see cref="Vector64{T}.
Count
" />.</exception>
1021
if ((index < 0) || ((values.Length - index) < Vector64<T>.
Count
))
1032
/// <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>
1033
/// <exception cref="ArgumentOutOfRangeException">The length of <paramref name="values" /> is less than <see cref="Vector64{T}.
Count
" />.</exception>
1038
if (values.Length < Vector64<T>.
Count
)
1395
for (int index = 0; index < Vector64<T>.
Count
; index++)
1407
for (int index = 1; index < Vector64<T>.
Count
; index++)
1428
if (Vector64<T>.
Count
== 1)
1434
for (int index = 1; index < Vector64<T>.
Count
; index += 2)
1458
if (Vector64<T>.
Count
== 1)
1467
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1470
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe(index));
1481
if (Vector64<T>.
Count
== 1)
1490
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1492
result.SetElementUnsafe(index, left.GetElementUnsafe(index + (Vector64<T>.
Count
/ 2)));
1493
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe(index));
1504
if (Vector64<T>.
Count
== 1)
1513
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1515
result.SetElementUnsafe(index, left.GetElementUnsafe(index + (Vector64<T>.
Count
/ 2)));
1516
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe(index + (Vector64<T>.
Count
/ 2)));
1527
if (Vector64<T>.
Count
== 1)
1536
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1539
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe(index + (Vector64<T>.
Count
/ 2)));
1550
if (Vector64<T>.
Count
== 1)
1557
for (int index = 1; index < Vector64<T>.
Count
; index += 2)
1571
if (Vector64<T>.
Count
== 1)
1578
for (int index = 1; index < Vector64<T>.
Count
; index += 2)
1580
result.SetElementUnsafe(index - 1, left.GetElementUnsafe(Vector64<T>.
Count
/ 2 + index / 2));
1581
result.SetElementUnsafe(index, right.GetElementUnsafe(Vector64<T>.
Count
/ 2 + index / 2));
1597
if (Vector64<T>.
Count
== 1)
1604
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1607
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe(index * 2));
1618
if (Vector64<T>.
Count
== 1)
1625
for (int index = 0; index < Vector64<T>.
Count
/ 2; index++)
1628
result.SetElementUnsafe(index + (Vector64<T>.
Count
/ 2), right.GetElementUnsafe((index * 2) + 1));
1644
if (Vector64<T>.
Count
== 1)
1651
for (int index = 0; index < Vector64<T>.
Count
; index++)
1653
result.SetElementUnsafe(index, vector.GetElementUnsafe(Vector64<T>.
Count
- 1 - index));
1664
for (int index = 0; index < Vector64<T>.
Count
; index++)
1752
for (int index = 0; index < Vector64<T>.
Count
; index++)
1780
for (int index = 0; index < Vector64<T>.
Count
; index++)
1796
for (int index = 0; index < Vector64<T>.
Count
; index++)
1856
for (int index = 0; index < Vector64<T>.
Count
; index++)
1876
for (int index = 0; index < Vector64<T>.
Count
; index++)
1920
for (int index = 0; index < Vector64<double>.
Count
; index++)
1944
for (int index = 0; index < Vector64<float>.
Count
; index++)
1964
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
1984
for (int index = 0; index < Vector64<T>.
Count
; index++)
2003
for (int index = 0; index < Vector64<T>.
Count
; index++)
2024
for (int index = 0; index < Vector64<T>.
Count
; index++)
2047
for (int index = 0; index < Vector64<T>.
Count
; index++)
2066
for (int index = 0; index < Vector64<T>.
Count
; index++)
2087
for (int index = 0; index < Vector64<T>.
Count
; index++)
2103
for (int index = 0; index < Vector64<T>.
Count
; index++)
2423
for (int index = 0; index < Vector64<T>.
Count
; index++)
2482
for (int index = 0; index < Vector64<T>.
Count
; index++)
2501
for (int index = 0; index < Vector64<T>.
Count
; index++)
2522
for (int index = 0; index < Vector64<T>.
Count
; index++)
2545
for (int index = 0; index < Vector64<T>.
Count
; index++)
2564
for (int index = 0; index < Vector64<T>.
Count
; index++)
2585
for (int index = 0; index < Vector64<T>.
Count
; index++)
2670
for (int index = 0; index < Vector64<T>.
Count
; index++)
2716
for (int index = 0; index < Vector64<T>.
Count
; index++)
2770
for (int index = 0; index < Vector64<T>.
Count
; index++)
2793
for (int index = 0; index < Vector64<T>.
Count
; index++)
2816
for (int index = 0; index < Vector64<T>.
Count
; index++)
2839
for (int index = 0; index < Vector64<T>.
Count
; index++)
2862
for (int index = 0; index < Vector64<T>.
Count
; index++)
2885
for (int index = 0; index < Vector64<T>.
Count
; index++)
2908
for (int index = 0; index < Vector64<T>.
Count
; index++)
2931
for (int index = 0; index < Vector64<T>.
Count
; index++)
2954
for (int index = 0; index < Vector64<T>.
Count
; index++)
2977
for (int index = 0; index < Vector64<T>.
Count
; index++)
3020
for (int index = 0; index < Vector64<T>.
Count
; index++)
3044
for (int index = 0; index < Vector64<double>.
Count
; index++)
3068
for (int index = 0; index < Vector64<float>.
Count
; index++)
3085
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
3091
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
3093
TResult value = TResult.CreateTruncating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
3154
for (int i = 0; i < Vector64<TSource>.
Count
; i++)
3160
for (int i = Vector64<TSource>.
Count
; i < Vector64<TResult>.
Count
; i++)
3162
TResult value = TResult.CreateSaturating(upper.GetElementUnsafe(i - Vector64<TSource>.
Count
));
3269
for (int index = 0; index < Vector64<T>.
Count
; index++)
3327
for (int index = 0; index < Vector64<T>.
Count
; index++)
3443
for (int index = 0; index < Vector64<uint>.
Count
; index++)
3465
for (int index = 0; index < Vector64<ulong>.
Count
; index++)
3602
Debug.Assert(Vector64<T>.
Count
== Vector64<TIndex>.
Count
);
3605
for (int index = 0; index < Vector64<T>.
Count
; index++)
3609
if ((uint)selectedIndex < (uint)Vector64<T>.
Count
)
3730
for (int index = 0; index < Vector64<T>.
Count
; index++)
3744
for (int index = 0; index < Vector64<T>.
Count
; index++)
3798
for (int index = 0; index < Vector64<T>.
Count
; index++)
3858
for (int index = 0; index < Vector64<T>.
Count
; index++)
3953
for (int index = 0; index < Vector64<T>.
Count
; index++)
3974
for (int index = 0; index < Vector64<T>.
Count
; index++)
4037
for (int index = 0; index < Vector64<T>.
Count
; index++)
4064
/// <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>
4069
if (destination.Length < Vector64<T>.
Count
)
4134
for (int i = 0; i < Vector64<ushort>.
Count
; i++)
4152
for (int i = 0; i < Vector64<int>.
Count
; i++)
4170
for (int i = 0; i < Vector64<long>.
Count
; i++)
4189
for (int i = 0; i < Vector64<short>.
Count
; i++)
4207
for (int i = 0; i < Vector64<double>.
Count
; i++)
4226
for (int i = 0; i < Vector64<uint>.
Count
; i++)
4245
for (int i = 0; i < Vector64<ulong>.
Count
; i++)
4264
for (int i = Vector64<ushort>.
Count
; i < Vector64<byte>.
Count
; i++)
4267
upper.SetElementUnsafe(i - Vector64<ushort>.
Count
, value);
4282
for (int i = Vector64<int>.
Count
; i < Vector64<short>.
Count
; i++)
4285
upper.SetElementUnsafe(i - Vector64<int>.
Count
, value);
4300
for (int i = Vector64<long>.
Count
; i < Vector64<int>.
Count
; i++)
4303
upper.SetElementUnsafe(i - Vector64<long>.
Count
, value);
4319
for (int i = Vector64<short>.
Count
; i < Vector64<sbyte>.
Count
; i++)
4322
upper.SetElementUnsafe(i - Vector64<short>.
Count
, value);
4337
for (int i = Vector64<double>.
Count
; i < Vector64<float>.
Count
; i++)
4340
upper.SetElementUnsafe(i - Vector64<double>.
Count
, value);
4356
for (int i = Vector64<uint>.
Count
; i < Vector64<ushort>.
Count
; i++)
4359
upper.SetElementUnsafe(i - Vector64<uint>.
Count
, value);
4375
for (int i = Vector64<ulong>.
Count
; i < Vector64<uint>.
Count
; i++)
4378
upper.SetElementUnsafe(i - Vector64<ulong>.
Count
, value);
4396
if ((uint)(index) >= (uint)(Vector64<T>.
Count
))
4475
Debug.Assert((index >= 0) && (index < Vector64<T>.
Count
));
4486
return (result != Vector64<T>.
Count
) ? result : -1;
4500
return (Vector64<T>.
Count
- 1) - AdvSimdFixupBitCount<T>(BitOperations.LeadingZeroCount(AdvSimdExtractBitMask(vector)));
4511
Debug.Assert((index >= 0) && (index < Vector64<T>.
Count
));
src\runtime\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
];