2 writes to _indices
Microsoft.ML.DataView (2)
11 references to _indices
Microsoft.ML.DataView (11)
VBuffer.cs (11)
80public ReadOnlySpan<int> GetIndices() => IsDense ? default : _indices.AsSpan(0, _count);
210_indices.AsSpan(0, _count).CopyTo(editor.Indices);
243int copyMin = ArrayUtils.FindIndexSorted(_indices, 0, _count, sourceIndex);
244int copyLim = ArrayUtils.FindIndexSorted(_indices, copyMin, _count, sourceIndex + length);
254editor.Indices[i] = _indices[i + copyMin] - sourceIndex;
307int slot = _indices[islot];
344return Items(_values, _indices, Length, _count, all);
352return DenseValues(_values, _indices, Length, _count);
380else if (_count > 0 && ArrayUtils.TryFindIndexSorted(_indices, 0, _count, index, out int bufferIndex))
399if (_count > 0 && ArrayUtils.TryFindIndexSorted(_indices, 0, _count, index, out int bufferIndex))
441int[] indices = _indices;