2 writes to _array
mscorlib (2)
system\collections\queue.cs (2)
65
_array
= new Object[capacity];
283
_array
= newarray;
46 references to _array
mscorlib (46)
system\collections\queue.cs (46)
95
int firstPart = (
_array
.Length - _head < numToCopy) ?
_array
.Length - _head : numToCopy;
96
Array.Copy(
_array
, _head, q.
_array
, 0, firstPart);
99
Array.Copy(
_array
, 0, q.
_array
,
_array
.Length - _head, numToCopy);
121
Array.Clear(
_array
, _head, _size);
123
Array.Clear(
_array
, _head,
_array
.Length - _head);
124
Array.Clear(
_array
, 0, _tail);
152
int firstPart = (
_array
.Length - _head < numToCopy) ?
_array
.Length - _head : numToCopy;
153
Array.Copy(
_array
, _head, array, index, firstPart);
156
Array.Copy(
_array
, 0, array, index+
_array
.Length - _head, numToCopy);
162
if (_size ==
_array
.Length) {
163
int newcapacity = (int)((long)
_array
.Length * (long)_growFactor / 100);
164
if (newcapacity <
_array
.Length + _MinimumGrow) {
165
newcapacity =
_array
.Length + _MinimumGrow;
170
_array
[_tail] = obj;
171
_tail = (_tail + 1) %
_array
.Length;
191
Object removed =
_array
[_head];
192
_array
[_head] = null;
193
_head = (_head + 1) %
_array
.Length;
207
return
_array
[_head];
233
if (
_array
[index] == null)
235
} else if (
_array
[index] != null &&
_array
[index].Equals(obj)) {
238
index = (index + 1) %
_array
.Length;
246
return
_array
[(_head + i) %
_array
.Length];
260
Array.Copy(
_array
, _head, arr, 0, _size);
262
Array.Copy(
_array
, _head, arr, 0,
_array
.Length - _head);
263
Array.Copy(
_array
, 0, arr,
_array
.Length - _head, _tail);
276
Array.Copy(
_array
, _head, newarray, 0, _size);
278
Array.Copy(
_array
, _head, newarray, 0,
_array
.Length - _head);
279
Array.Copy(
_array
, 0, newarray,
_array
.Length - _head, _tail);
404
currentElement = _q.
_array
;
418
currentElement = _q.
_array
;
432
if (currentElement == _q.
_array
)
449
currentElement = _q.
_array
;