2 writes to _overflowStream
Microsoft.ML.Core (2)
Utilities\HybridMemoryStream.cs (2)
125_overflowStream = null; 166_overflowStream = new FileStream(overflowPath, FileMode.Open, FileAccess.ReadWrite,
9 references to _overflowStream
Microsoft.ML.Core (9)
Utilities\HybridMemoryStream.cs (9)
29private Stream MyStream => _memStream ?? _overflowStream; 101Contracts.Assert(_overflowStream == null); 105Contracts.Assert((_memStream == null) != (_overflowStream == null)); 106Contracts.Assert(Length <= _overflowBoundary || _overflowStream != null); 122if (_overflowStream != null) 124var overflow = _overflowStream; 157if (_overflowStream != null) 176_overflowStream.Write(buffer.Array, buffer.Offset, buffer.Count); 180_overflowStream.Seek(pos, SeekOrigin.Begin);