1 write to _cumulativeColCounts
Microsoft.ML.Data (1)
DataView\ZipBinding.cs (1)
29
_cumulativeColCounts
= new int[_sources.Length + 1];
12 references to _cumulativeColCounts
Microsoft.ML.Data (12)
DataView\ZipBinding.cs (12)
30
_cumulativeColCounts
[0] = 0;
35
_cumulativeColCounts
[i + 1] =
_cumulativeColCounts
[i] + schema.Count;
44
public int ColumnCount =>
_cumulativeColCounts
[
_cumulativeColCounts
.Length - 1];
57
var lastColCount =
_cumulativeColCounts
[i];
69
Contracts.CheckParam(0 <= col && col <
_cumulativeColCounts
[
_cumulativeColCounts
.Length - 1], nameof(col), "Column index out of range");
75
if (!Utils.TryFindIndexSorted(
_cumulativeColCounts
, 0,
_cumulativeColCounts
.Length, col, out srcIndex))
77
Contracts.Assert(0 <= srcIndex && srcIndex <
_cumulativeColCounts
.Length);
78
srcCol = col -
_cumulativeColCounts
[srcIndex];