4 writes to _remaining
Microsoft.ML.Core (4)
Utilities\SubsetStream.cs (4)
46_remaining = length.GetValueOrDefault(-1); 68_remaining -= retval; 86_remaining -= newPosition - oldPosition; 126_remaining -= count;
10 references to _remaining
Microsoft.ML.Core (10)
Utilities\SubsetStream.cs (10)
63if (_remaining < 0) 65if (count > _remaining) 66count = (int)_remaining; 85if (_remaining >= 0) 109if (_remaining < 0) 111return Position + _remaining; 122if (_remaining >= 0 && count > _remaining) 123throw Contracts.Except("cannot write {0} bytes to stream bounded at {1} bytes", count, _remaining); 125if (_remaining >= 0)