1 write to _cns
Microsoft.ML.Core (1)
Utilities\NormStr.cs (1)
238
if (++
_cns
>= _rgins.Length)
15 references to _cns
Microsoft.ML.Core (15)
Utilities\NormStr.cs (15)
56
public int Count { get { return
_cns
; } }
76
Contracts.Assert(0 <=
_cns
&&
_cns
<= Utils.Size(_rgns));
219
Contracts.Assert(
_cns
== 0);
223
else if (
_cns
>= _rgns.Length)
225
Contracts.Assert(
_cns
== _rgns.Length);
230
Contracts.Assert(
_cns
< _rgns.Length);
232
NormStr ns = new NormStr(str,
_cns
, hash);
234
_rgns[
_cns
] = ns;
235
_rgmeta[
_cns
] = Utils.MakeUlong((uint)_rgins[iins], (uint)ns.Value.Length);
236
_rgins[iins] =
_cns
;
247
Contracts.CheckParam(0 <= id && id <
_cns
, nameof(id));
253
Contracts.Assert(0 <= ins && ins <
_cns
);
268
for (int ins = 0; ins <
_cns
; ins++)
281
for (int ins = 0; ins <
_cns
; ins++)