1 write to Offset
PresentationCore (1)
MS\Internal\IO\Packaging\NetStream.cs (1)
777
block.
Offset
= data.End;
27 references to Offset
PresentationCore (27)
MS\Internal\IO\Packaging\NetStream.cs (27)
613
if (block.
Offset
> (Int32.MaxValue - block.Length + 1))
625
block.
Offset
, block.Length, _additionalRequestMinSize);
633
System.Diagnostics.Trace.TraceInformation("NetStream.MakeByteRangeRequest() offset:{0} length:{1}", block.
Offset
, block.Length);
648
ranges[0, 0] = (int)block.
Offset
;
729
if ((data.
Offset
<= block.
Offset
) && (data.End > block.
Offset
))
730
bytesAvailable = Math.Min(block.Length, (int)(data.End - block.
Offset
));
733
if (bytesAvailable > 0 || data.
Offset
>= block.End)
764
if (block.End <= data.
Offset
)
768
if ((block.
Offset
>= data.
Offset
) &&
769
(data.End > block.
Offset
))
776
bytesAvailable = (int)(data.End - block.
Offset
);
783
if ((block.
Offset
<= data.
Offset
) &&
784
(block.End > data.
Offset
) && (block.End <= data.End))
786
block.Length = (int)(data.
Offset
- block.
Offset
);
951
if (_highWaterMark > block.
Offset
)
952
bytesAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1015
if (_highWaterMark > block.
Offset
)
1016
dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1046
if (_highWaterMark > block.
Offset
)
1048
dataAvailable = (int)Math.Min(block.Length, _highWaterMark - block.
Offset
);
1066
&& (block.
Offset
> _highWaterMark + (long) _additionalRequestThreshold)
1146
block.Length = (int)Math.Min(block.Length, _fullStreamLength - block.
Offset
);