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)
29
private Stream MyStream => _memStream ??
_overflowStream
;
101
Contracts.Assert(
_overflowStream
== null);
105
Contracts.Assert((_memStream == null) != (
_overflowStream
== null));
106
Contracts.Assert(Length <= _overflowBoundary ||
_overflowStream
!= null);
122
if (
_overflowStream
!= null)
124
var overflow =
_overflowStream
;
157
if (
_overflowStream
!= null)
176
_overflowStream
.Write(buffer.Array, buffer.Offset, buffer.Count);
180
_overflowStream
.Seek(pos, SeekOrigin.Begin);