11 references to AllocateArray
System.Numerics.Tensors (8)
System\Numerics\Tensors\netcore\Tensor.cs (4)
97
T[] values = pinned ? GC.
AllocateArray
<T>((int)linearLength, pinned) : (new T[linearLength]);
110
T[] values = pinned ? GC.
AllocateArray
<T>((int)linearLength, pinned) : (new T[linearLength]);
356
T[] values = _isPinned ? GC.
AllocateArray
<T>((int)linearLength, _isPinned) : (new T[linearLength]);
465
T[] values = _isPinned ? GC.
AllocateArray
<T>(checked((int)s.FlattenedLength), _isPinned) : (new T[s.FlattenedLength]);
System\Numerics\Tensors\netcore\Tensor.Factory.cs (2)
28
T[] values = pinned ? GC.
AllocateArray
<T>((int)linearLength, pinned) : (new T[linearLength]);
41
T[] values = pinned ? GC.
AllocateArray
<T>((int)linearLength, pinned) : (new T[linearLength]);
System\Numerics\Tensors\netcore\TensorExtensions.cs (2)
2651
T[] values = tensor.IsPinned ? GC.
AllocateArray
<T>((int)tensor._flattenedLength) : (new T[tensor._flattenedLength]);
2942
T[] values = tensor.IsPinned ? GC.
AllocateArray
<T>((int)newSize) : (new T[newSize]);
System.Security.Cryptography (1)
System\Security\Cryptography\SP800108HmacCounterKdfImplementationManaged.cs (1)
16
_key = GC.
AllocateArray
<byte>(key.Length, pinned: true);
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (2)
518
_charBuffer = GC.
AllocateArray
<char>(newBufferSize, pinned: true);
744
_charBuffer = GC.
AllocateArray
<char>(FileBufferSize, pinned: true);