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