語言

Vector128.CountWhereAllBitsSet<T>(Vector128<T>) 方法

定義

決定向量中所有位元都設定為的元素數量。

public:
generic <typename T>
 static int CountWhereAllBitsSet(System::Runtime::Intrinsics::Vector128<T> vector);
public static int CountWhereAllBitsSet<T>(System.Runtime.Intrinsics.Vector128<T> vector);
static member CountWhereAllBitsSet : System.Runtime.Intrinsics.Vector128<'T> -> int
Public Function CountWhereAllBitsSet(Of T) (vector As Vector128(Of T)) As Integer

類型參數

T

向量中專案的型別。

參數

vector
Vector128<T>

被檢查元素的向量。

傳回

其中元素的數量 vector 是所有位元都被設定的。

例外狀況

不支援()的vectorT類型。

適用於