11 references to Capacity
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
1227
int totalBufferLength = _outgoingBuffer.
Capacity
;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (10)
299
private int ReadBufferSize => _readBuffer.
Capacity
;
1400
if (source.Length >= _writeBuffer.
Capacity
)
1435
if (source.Length <= _writeBuffer.
Capacity
)
1456
if (source.Length <= _writeBuffer.
Capacity
)
1540
Debug.Assert(_writeBuffer.
Capacity
>= 8);
1627
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1815
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1833
return destination.Length >= _readBuffer.
Capacity
|| destination.Length == 0 ?
1848
Debug.Assert(_readBuffer.AvailableLength == _readBuffer.
Capacity
);
1968
int currentCapacity = _readBuffer.
Capacity
;