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