5 writes to StreamSize
System (5)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
402
ctx.CacheStreamLength = ctx.CacheEntry.
StreamSize
= ctx.ResponseRangeEnd+1;
418
ctx.CacheEntry.
StreamSize
= resp.ContentLength;
net\System\Net\Cache\_SingleItemRequestCache.cs (2)
52
StreamSize
= entry.StreamSize;
211
requestCacheEntry.
StreamSize
= contentLength;
net\System\Net\Cache\FtpRequestCacheValidator.cs (1)
468
CacheEntry.
StreamSize
= ResponseEntityLength; //This is passed down to cache on what size to expect
34 references to StreamSize
System (34)
net\System\Net\_FtpControlStream.cs (2)
590
if (request.CacheProtocol.Validator.CacheEntry.
StreamSize
> 0)
591
commandList.Add(new PipelineEntry(FormatFtpCommand("REST", request.CacheProtocol.Validator.CacheEntry.
StreamSize
.ToString(CultureInfo.InvariantCulture))));
net\System\Net\Cache\_RequestCacheProtocol.cs (4)
345
if (_Validator.CacheStreamOffset != 0L || _Validator.CacheStreamLength != _Validator.CacheEntry.
StreamSize
)
487
if (_Validator.CacheStreamOffset != 0L || _Validator.CacheStreamLength != _Validator.CacheEntry.
StreamSize
)
615
{stream = _RequestCache.Store(_Validator.CacheKey, _Validator.CacheEntry.
StreamSize
, _Validator.CacheEntry.ExpiresUtc, _Validator.CacheEntry.LastModifiedUtc, _Validator.CacheEntry.MaxStale, _Validator.CacheEntry.EntryMetadata, _Validator.CacheEntry.SystemMetadata);}
617
{_RequestCache.TryStore(_Validator.CacheKey, _Validator.CacheEntry.
StreamSize
, _Validator.CacheEntry.ExpiresUtc, _Validator.CacheEntry.LastModifiedUtc, _Validator.CacheEntry.MaxStale, _Validator.CacheEntry.EntryMetadata, _Validator.CacheEntry.SystemMetadata, out stream);}
net\System\Net\Cache\_Rfc2616CacheValidators.cs (21)
384
if (ctx.CacheEntry.
StreamSize
!= ctx.ResponseRangeStart && ctx.ResponseRangeStart != 0)
386
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_resp_not_combined_with_existing_entry, ctx.CacheEntry.
StreamSize
, ctx.ResponseRangeStart));
403
if (ctx.CacheEntityLength > 0 && ctx.CacheEntityLength == ctx.CacheEntry.
StreamSize
)
1106
if (ctx.CacheEntry.
StreamSize
!= ctx.ResponseRangeStart) {
1117
ctx.CacheStreamOffset = ctx.CacheEntry.
StreamSize
;
1276
if (ctx.CacheEntityLength != ctx.CacheEntry.
StreamSize
|| ctx.CacheStatusCode == HttpStatusCode.PartialContent) {
1429
((HttpWebRequest)ctx.Request).AddRange((int)ctx.CacheEntry.
StreamSize
);
1465
if (start >= ctx.CacheEntry.
StreamSize
1466
|| end > ctx.CacheEntry.
StreamSize
1468
|| (end == -1 && ctx.CacheEntityLength > ctx.CacheEntry.
StreamSize
)
1471
|| (ctx.CacheEntityLength - end >= ctx.CacheEntry.
StreamSize
))))
1483
end = ctx.CacheEntry.
StreamSize
- 1;
1504
ctx.CacheStreamLength = ctx.CacheEntry.
StreamSize
;
1511
if (ctx.CacheEntry.
StreamSize
>= Int32.MaxValue) {
1512
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_entry_size_too_big, ctx.CacheEntry.
StreamSize
));
1518
((HttpWebRequest)ctx.Request).AddRange((int)ctx.CacheEntry.
StreamSize
);
1543
if (ctx.CacheStatusCode == HttpStatusCode.PartialContent && ctx.CacheEntityLength == ctx.CacheEntry.
StreamSize
)
1550
if (ctx.CacheEntry.IsPartialEntry || (ctx.CacheEntityLength != -1 && ctx.CacheEntityLength != ctx.CacheEntry.
StreamSize
) || ctx.CacheStatusCode == HttpStatusCode.PartialContent)
1552
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_could_be_partial, ctx.CacheEntry.
StreamSize
, ctx.CacheEntityLength));
1636
if (ctx.CacheEntry.
StreamSize
>= Int32.MaxValue) {
1638
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_entry_size_too_big, ctx.CacheEntry.
StreamSize
));
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
52
StreamSize = entry.
StreamSize
;
net\System\Net\Cache\FtpRequestCacheValidator.cs (3)
214
CacheStreamLength = CacheEntry.
StreamSize
;
285
if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), CacheEntry.
StreamSize
));
307
else if (resp.ContentLength == CacheEntry.
StreamSize
)
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
289
CacheStreamLength = CacheEntry.
StreamSize
;
804
else if (forCache && totalLength == CacheEntry.
StreamSize
)
net\System\Net\Cache\RequestCacheEntry.cs (1)
89
sb.Append("\r\nStreamSize = ").Append(
StreamSize
);