1 write to _ct
Microsoft.ML.Core (1)
Utilities\HashArray.cs (1)
164
if (++
_ct
>= _rgit.Length)
19 references to _ct
Microsoft.ML.Core (19)
Utilities\HashArray.cs (19)
48
public int Count { get { return
_ct
; } }
65
Contracts.Assert(0 <=
_ct
&&
_ct
<= Utils.Size(_entries));
69
Contracts.Assert(Utils.Size(_rgit) >=
_ct
|| Utils.Size(_rgit) == HashHelpers.MaxPrimeArrayLength);
79
Contracts.Assert(0 <= it && it <
_ct
);
104
Contracts.Assert(it <
_ct
);
153
if (
_ct
>= Utils.Size(_entries))
155
Contracts.Assert(
_ct
== Utils.Size(_entries));
156
Utils.EnsureSize(ref _entries,
_ct
+ 1);
158
Contracts.Assert(
_ct
< _entries.Length);
160
_entries[
_ct
].Value = val;
161
_entries[
_ct
].ItNext = _rgit[iit];
162
_rgit[iit] =
_ct
;
170
return
_ct
- 1;
177
int size = HashHelpers.ExpandPrime(
_ct
);
196
Array.Sort(_entries, 0,
_ct
);
211
for (int it = 0; it <
_ct
; it++)
237
Contracts.Check(destination.Length >=
_ct
);
239
for (int i = 0; i <
_ct
; i++)