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; 44public int ColumnCount => _cumulativeColCounts[_cumulativeColCounts.Length - 1]; 57var lastColCount = _cumulativeColCounts[i]; 69Contracts.CheckParam(0 <= col && col < _cumulativeColCounts[_cumulativeColCounts.Length - 1], nameof(col), "Column index out of range"); 75if (!Utils.TryFindIndexSorted(_cumulativeColCounts, 0, _cumulativeColCounts.Length, col, out srcIndex)) 77Contracts.Assert(0 <= srcIndex && srcIndex < _cumulativeColCounts.Length); 78srcCol = col - _cumulativeColCounts[srcIndex];