2 writes to _highWaterMark
PresentationCore (2)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (2)
495
_highWaterMark
= 0;
583
_highWaterMark
+= read; // update the high-water mark
13 references to _highWaterMark
PresentationCore (13)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (13)
355
_position =
_highWaterMark
; // make sure we get the full length in case they seek'd before call get_Length
576
_tempFileStream.Seek(
_highWaterMark
, SeekOrigin.Begin);
599
_fullStreamLength =
_highWaterMark
;
603
if (_fullStreamLength ==
_highWaterMark
)
741
_byteRangesAvailable.Insert(0, new Block(0, (int)
_highWaterMark
));
1016
if (
_highWaterMark
> block.Offset)
1017
bytesAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1080
if (
_highWaterMark
> block.Offset)
1081
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1118
if (
_highWaterMark
> block.Offset)
1120
dataAvailable = (int)Math.Min(block.Length,
_highWaterMark
- block.Offset);
1137
&& (
_highWaterMark
<= Int64.MaxValue - (long) _additionalRequestThreshold) // Ensure that we don't get overflow from the next line
1138
&& (block.Offset >
_highWaterMark
+ (long) _additionalRequestThreshold)