1 write to Offset
PresentationCore (1)
MS\Internal\IO\Packaging\NetStream.cs (1)
787
block.
Offset
= data.End;
27 references to Offset
PresentationCore (27)
MS\Internal\IO\Packaging\NetStream.cs (27)
623
if (block.
Offset
> (Int32.MaxValue - block.Length + 1))
635
block.
Offset
, block.Length, _additionalRequestMinSize);
643
System.Diagnostics.Trace.TraceInformation("NetStream.MakeByteRangeRequest() offset:{0} length:{1}", block.
Offset
, block.Length);
658
ranges[0, 0] = (int)block.
Offset
;
739
if ((data.
Offset
<= block.
Offset
) && (data.End > block.
Offset
))
740
bytesAvailable = Math.Min(block.Length, (int)(data.End - block.
Offset
));
743
if (bytesAvailable > 0 || data.
Offset
>= block.End)
774
if (block.End <= data.
Offset
)
778
if ((block.
Offset
>= data.
Offset
) &&
779
(data.End > block.
Offset
))
786
bytesAvailable = (int)(data.End - block.
Offset
);
793
if ((block.
Offset
<= data.
Offset
) &&
794
(block.End > data.
Offset
) && (block.End <= data.End))
796
block.Length = (int)(data.
Offset
- block.
Offset
);
961
if (_highWaterMark > block.
Offset
)
962
bytesAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1025
if (_highWaterMark > block.
Offset
)
1026
dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1056
if (_highWaterMark > block.
Offset
)
1058
dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1076
&& (block.
Offset
> _highWaterMark + (long) _additionalRequestThreshold)
1156
block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.
Offset
);