3 writes to _curr
Microsoft.ML.Data (3)
DataView\CacheDataView.cs (3)
826_curr = -1; 850if (++_curr < _perm.Length) 859_curr = -2;
8 references to _curr
Microsoft.ML.Data (8)
DataView\CacheDataView.cs (8)
833Contracts.Assert(0 <= _curr && _curr < _perm.Length); 834return _perm[_curr]; 842Contracts.Check(_curr >= 0, "Cannot call ID getter in current state"); 843val = new DataViewRowId((ulong)_perm[_curr], 0); 849Contracts.Assert(_curr >= -1); // Should not be called when _curr = -2. 852Contracts.Assert(_perm[_curr] >= 0); 853bool result = _waiter.Wait(_perm[_curr]);