3 writes to _linearOffset
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (3)
474
_linearOffset
= 0 - (!span.IsEmpty ? span.Strides[^1] : 0);
489
_linearOffset
= _span._shape.AdjustToNextIndex(_span._shape, _linearOffset, _indexes);
501
_linearOffset
= 0 - (!_span.IsEmpty ? _span.Strides[^1] : 0);
2 references to _linearOffset
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (2)
479
public readonly ref readonly T Current => ref Unsafe.Add(ref _span._reference,
_linearOffset
);
489
_linearOffset = _span._shape.AdjustToNextIndex(_span._shape,
_linearOffset
, _indexes);