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