39 references to One
System.IO.Hashing (1)
System\IO\Hashing\Adler32.cs (1)
398
vs2 += Avx2.MultiplyAddAdjacent(mad, Vector256<short>.
One
).AsUInt32();
System.Numerics.Tensors (32)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (4)
274
(v & Vector256<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
388
(v & Vector256<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
513
(v & Vector256<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
660
(v & Vector256<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
System\Numerics\Tensors\netcore\TensorPrimitives.BitDecrement.cs (6)
103
bits + Vector256<uint>.
One
,
104
bits - Vector256<uint>.
One
);
125
bits + Vector256<ulong>.
One
,
126
bits - Vector256<ulong>.
One
);
244
bits + Vector256<ushort>.
One
,
245
bits - Vector256<ushort>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.BitIncrement.cs (6)
103
bits - Vector256<uint>.
One
,
104
bits + Vector256<uint>.
One
);
125
bits - Vector256<ulong>.
One
,
126
bits + Vector256<ulong>.
One
);
244
bits - Vector256<ushort>.
One
,
245
bits + Vector256<ushort>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Decrement.cs (1)
38
public static Vector256<T> Invoke(Vector256<T> x) => x - Vector256<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
43
public static Vector256<T> Invoke(Vector256<T> x) => Exp10Operator<T>.Invoke(x) - Vector256<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
43
public static Vector256<T> Invoke(Vector256<T> x) => Exp2Operator<T>.Invoke(x) - Vector256<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
43
public static Vector256<T> Invoke(Vector256<T> x) => ExpOperator<T>.Invoke(x) - Vector256<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Increment.cs (1)
38
public static Vector256<T> Invoke(Vector256<T> x) => x + Vector256<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
59
Vector256.Equals(x & (x - Vector256<T>.
One
), Vector256<T>.Zero) &
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
48
public static Vector256<T> Invoke(Vector256<T> x) => Log10Operator<T>.Invoke(x + Vector256<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
48
public static Vector256<T> Invoke(Vector256<T> x) => Log2Operator<T>.Invoke(x + Vector256<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
48
public static Vector256<T> Invoke(Vector256<T> x) => LogOperator<T>.Invoke(x + Vector256<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
105
public static Vector256<T> Invoke(Vector256<T> x) => Vector256<T>.
One
/ x;
114
public static Vector256<T> Invoke(Vector256<T> x) => Vector256<T>.
One
/ Vector256.Sqrt(x);
163
return Vector256<T>.
One
/ x;
223
return Vector256<T>.
One
/ Vector256.Sqrt(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (2)
69
Vector256<int>.
One
);
86
Vector256<int>.
One
,
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
52
return PopCountOperator<T>.Invoke(~x & (x - Vector256<T>.
One
));
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (1)
866
Vector256<byte> ones = Vector256<byte>.
One
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (5)
1714
return Vector256<T>.
One
/ CreateSequence(start, step);
2257
return IsZero(vector & Vector256<T>.
One
);
2380
return ~IsZero(vector & Vector256<T>.
One
);
2429
return LessThan(Abs(vector).AsUInt32() - Vector256<uint>.
One
, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
2433
return LessThan(Abs(vector).AsUInt64() - Vector256<ulong>.
One
, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();