13 references to Count
Microsoft.ML.Core (13)
Utilities\BinFinder.cs (1)
362Contracts.Assert(_segmentHeap.Count > 0);
Utilities\MinWaiter.cs (5)
80Contracts.Assert(_waiters.Count < _maxWaiters); 85Contracts.Assert(_waiters.Count < _maxWaiters); 103Contracts.Assert(_waiters.Count < _maxWaiters); 106Contracts.Assert(_maxWaiters == 0 || _waiters.Count < _maxWaiters); 113if (_waiters.Count == _maxWaiters)
Utilities\OrderedWaiter.cs (3)
110while (_waiters.Count > 0 && _waiters.Top.Line <= _currCleared) 125while (_waiters.Count > 0) 146while (_waiters.Count > 0)
Utilities\SupervisedBinFinder.cs (4)
317while (intervals.Count < _maxBins && intervals.Top.Gain > 0) 323bool isLastSplit = intervals.Count == _maxBins - 1; 332var binCount = intervals.Count; 337Contracts.Assert(intervals.Count == 0);