11 references to Capacity
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1248
int totalBufferLength = _outgoingBuffer.
Capacity
;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (10)
300
private int ReadBufferSize => _readBuffer.
Capacity
;
1403
if (source.Length >= _writeBuffer.
Capacity
)
1438
if (source.Length <= _writeBuffer.
Capacity
)
1459
if (source.Length <= _writeBuffer.
Capacity
)
1543
Debug.Assert(_writeBuffer.
Capacity
>= 8);
1652
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1840
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1858
return destination.Length >= _readBuffer.
Capacity
|| destination.Length == 0 ?
1874
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1994
int currentCapacity = _readBuffer.
Capacity
;