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