6 writes to Count
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoaderParser.cs (6)
653
Count
= 0;
1000
Fields.Indices[Fields.
Count
++] = src;
1006
Fields.Indices[Fields.
Count
++] = src;
1046
Fields.Indices[Fields.
Count
++] = src;
1081
srcLimFixed = Fields.Indices[--Fields.
Count
];
1126
Fields.Indices[Fields.
Count
++] = srcLimFixed + scan.Index;
25 references to Count
Microsoft.ML.Data (25)
DataLoadSave\Text\TextLoaderParser.cs (25)
622
Contracts.Assert(0 <=
Count
&&
Count
<= Indices.Length && Indices.Length <= Spans.Length);
630
Contracts.Assert(
Count
== 0);
639
if (
Count
>= Indices.Length)
641
int size = 2 *
Count
;
652
Array.Clear(Spans, 0,
Count
);
808
int isrc = header.Indices.FindIndexSorted(0, header.
Count
, min);
809
if (isrc < header.
Count
&& header.Indices[isrc] < lim)
812
int isrcLim = header.Indices.FindIndexSorted(isrc, header.
Count
, lim);
999
Fields.Spans[Fields.
Count
] = scan.Span;
1005
Fields.Spans[Fields.
Count
] = _blank;
1045
Fields.Spans[Fields.
Count
] = scan.Span;
1061
if (Fields.
Count
<= 0)
1066
if (Fields.Indices[Fields.
Count
- 1] != src - 1)
1071
var spanT = Fields.Spans[Fields.
Count
- 1];
1091
srcLimFixed = Fields.
Count
;
1092
csrcSparse = inputSize - Fields.
Count
;
1125
Fields.Spans[Fields.
Count
] = scan.Span;
1422
int isrc = fields.Indices.FindIndexSorted(0, fields.
Count
, min);
1423
if (isrc < fields.
Count
&& fields.Indices[isrc] < lim)
1425
int isrcLim = fields.Indices.FindIndexSorted(isrc, fields.
Count
, lim);
1440
if (_missingRealsAsNaNs && isrc >= fields.
Count
&& v.IsReal)
1447
for (int srcCur = Math.Max(min, fields.
Count
); srcCur < lim; srcCur++)
1464
int isrc = vs.Indices.FindIndexSorted(0, vs.
Count
, src);
1465
if (isrc < vs.
Count
&& vs.Indices[isrc] == src)