2 writes to _array
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (2)
28
_array
= Array.Empty<QueueItem>();
108
_array
= newArray;
14 references to _array
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (14)
37
if (_size ==
_array
.Length)
42
_array
[_tail] = queueItem;
53
QueueItem[] array =
_array
;
77
queueItem =
_array
[_head];
84
if (tmp ==
_array
.Length)
93
var newArray = new QueueItem[Math.Max(4,
_array
.Length * 2)];
99
Array.Copy(
_array
, _head, newArray, 0, _size);
103
Array.Copy(
_array
, _head, newArray, 0,
_array
.Length - _head);
104
Array.Copy(
_array
, 0, newArray,
_array
.Length - _head, _tail);
172
if (index >=
_array
.Length)
174
index -=
_array
.Length;
177
return
_array
[index];