5 references to GetOffset
System.Numerics.Tensors (5)
System\NRange.cs (2)
111
nint start = Start.
GetOffset
(length);
112
nint end = End.
GetOffset
(length);
System\Numerics\Tensors\netcore\TensorSpanHelpers.cs (3)
156
nint index = indexes[indexes.Length - 1].
GetOffset
(array.GetLength(indexes.Length - 1));
159
nint offset = indexes[i].
GetOffset
(array.GetLength(i));
182
nint offset = indexes[i].
GetOffset
(lengths[i]);