137 references to StoreUnsafe
System.Numerics.Tensors (114)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (24)
328vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 336vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 344vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 352vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 360vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 368vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 376vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 383end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 992end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1156end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1265end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1353end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1656vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 1664vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 1672vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 1680vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 1688vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 1696vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 1704vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 1711end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 2316end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2484end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2597end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2689end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (4)
323(v & Vector128<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 440(v & Vector128<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 569(v & Vector128<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 726(v & Vector128<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (12)
268vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 275vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 282vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 289vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 296vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 303vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 310vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 317end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 859end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1003end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1100end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1180end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (36)
341vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 350vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 359vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 368vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 377vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 386vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 395vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 402end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 1078end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1262end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1383end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1479end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 1812vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 1821vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 1830vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 1839vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 1848vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 1857vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 1866vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 1873end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 2545end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2733end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2858end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 2958end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 3293vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 8)); 3302vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 7)); 3311vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 6)); 3320vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 5)); 3329vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 4)); 3338vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 3)); 3347vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<T>.Count * 2)); 3354end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<T>.Count); 4018end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 4208end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 4335end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count); 4437end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<T>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (12)
140first.StoreUnsafe(ref destination1Ref, (uint)i); 141second.StoreUnsafe(ref destination2Ref, (uint)i); 153first.StoreUnsafe(ref destination1Ref, (uint)i); 154second.StoreUnsafe(ref destination2Ref, (uint)i); 311first.StoreUnsafe(ref destination1Ref, (uint)i); 312second.StoreUnsafe(ref destination2Ref, (uint)i); 338.StoreUnsafe(ref destination1Ref, (uint)i); 343.StoreUnsafe(ref destination2Ref, (uint)i); 498first.StoreUnsafe(ref destination1Ref, (uint)i); 499second.StoreUnsafe(ref destination2Ref, (uint)i); 525.StoreUnsafe(ref destination1Ref, (uint)i); 530.StoreUnsafe(ref destination2Ref, (uint)i);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (8)
130results.Item1.StoreUnsafe(ref destinationRef, (uint)i); 131results.Item2.StoreUnsafe(ref destinationRef, (uint)(i + Vector128<TOutput>.Count)); 132results.Item3.StoreUnsafe(ref destinationRef, (uint)(i + (Vector128<TOutput>.Count * 2))); 133results.Item4.StoreUnsafe(ref destinationRef, (uint)(i + (Vector128<TOutput>.Count * 3))); 145results.Item1.StoreUnsafe(ref destinationRef, (uint)i); 146results.Item2.StoreUnsafe(ref destinationRef, (uint)(i + Vector128<TOutput>.Count)); 147results.Item3.StoreUnsafe(ref destinationRef, (uint)(i + (Vector128<TOutput>.Count * 2))); 148results.Item4.StoreUnsafe(ref destinationRef, (uint)(i + (Vector128<TOutput>.Count * 3)));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (4)
122lower.StoreUnsafe(ref destinationRef, (uint)i); 123upper.StoreUnsafe(ref destinationRef, (uint)(i + Vector128<TOutput>.Count)); 135lower.StoreUnsafe(ref destinationRef, (uint)i); 136upper.StoreUnsafe(ref destinationRef, (uint)(i + Vector128<TOutput>.Count));
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (12)
308vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 8)); 315vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 7)); 322vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 6)); 329vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 5)); 336vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 4)); 343vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 3)); 350vector.StoreUnsafe(ref dRef, remainder - (uint)(Vector128<TOutput>.Count * 2)); 357end.StoreUnsafe(ref dRef, endIndex - (uint)Vector128<TInput>.Count); 899end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<TOutput>.Count); 1043end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<TOutput>.Count); 1140end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<TOutput>.Count); 1220end.StoreUnsafe(ref dRef, remainder - (uint)Vector128<TOutput>.Count);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (2)
123Vector128.LoadUnsafe(ref xRef, (uint)(i + Vector128<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i); 136Vector128.LoadUnsafe(ref xRef, (uint)(i + Vector128<TInput>.Count))).StoreUnsafe(ref destinationRef, (uint)i);
System.Private.CoreLib (22)
src\libraries\Common\src\System\HexConverter.cs (1)
147v0.StoreUnsafe(ref destRef, pos * 2);
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReverseEndianness.cs (2)
321Vector128.StoreUnsafe(TReverser.Reverse(Vector128.LoadUnsafe(ref sourceRef, (uint)i)), ref destRef, (uint)i); 354Vector128.StoreUnsafe(TReverser.Reverse(Vector128.LoadUnsafe(ref sourceRef, (uint)i)), ref destRef, (uint)i);
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2526utf16Upper.StoreUnsafe(ref dest, 8);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.Extensions.cs (1)
75public static void StoreUnsafe(this Vector4 source, ref float destination, nuint elementOffset) => source.AsVector128().StoreUnsafe(ref destination, elementOffset);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
852static void ISimdVector<Vector128<T>, T>.StoreUnsafe(Vector128<T> vector, ref T destination, nuint elementOffset) => vector.StoreUnsafe(ref destination, elementOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (2)
1414tempLast.StoreUnsafe(ref buf, (nuint)offset); 1415tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.cs (4)
176tempLast.StoreUnsafe(ref buf, (nuint)offset); 177tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset); 281tempLast.StoreUnsafe(ref buf, (nuint)offset); 282tempFirst.StoreUnsafe(ref buf, (nuint)lastOffset);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (2)
3110result.StoreUnsafe(ref dst, idx); 3124result.StoreUnsafe(ref dst, lastVectorIndex);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (4)
351Vector128.StoreUnsafe(Vector128.WidenLower(blockAsVectorOfUInt64.AsByte()), ref *(ushort*)pDest, i); 474Vector128.StoreUnsafe(vector.As<TFrom, TTo>(), ref *pDest, elementOffset); 486Vector128.StoreUnsafe(Vector128.WidenLower(vector.AsByte()), ref *(ushort*)pDest, elementOffset); 487Vector128.StoreUnsafe(Vector128.WidenUpper(vector.AsByte()), ref *(ushort*)pDest, elementOffset + 8);
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (4)
1796asciiVector.StoreUnsafe(ref asciiBuffer, currentOffsetInElements); 1857asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, 0); 1883asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, currentOffsetInElements); 1936asciiVector.GetLower().StoreUnsafe(ref asciiBuffer, currentOffsetInElements);
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
146Vector128.StoreUnsafe(complement, ref start, (nuint)offset);