3 writes to items
System.Activities (3)
System\Activities\Quack.cs (3)
26
this.
items
= new T[4];
34
this.
items
= items;
198
this.
items
= newArray;
28 references to items
System.Activities (28)
System\Activities\Quack.cs (28)
39
this.count = this.
items
.Length;
53
int realIndex = (this.head + index) % this.
items
.Length;
55
return this.
items
[realIndex];
67
compressedItems[i] = this.
items
[(this.head + i) % this.
items
.Length];
75
if (this.count == this.
items
.Length)
82
this.head = this.
items
.Length - 1;
84
this.
items
[this.head] = item;
91
if (this.count == this.
items
.Length)
96
this.
items
[this.tail] = item;
97
if (++this.tail == this.
items
.Length)
109
T removed = this.
items
[this.head];
110
this.
items
[this.head] = default(T);
111
if (++this.head == this.
items
.Length)
127
int realIndex = (this.head + i) % this.
items
.Length;
128
if (object.Equals(this.
items
[realIndex], item))
152
int sourceIndex = (this.head + i) % this.
items
.Length;
155
if (targetIndex == this.
items
.Length)
160
this.
items
[targetIndex] = this.
items
[sourceIndex];
166
if (this.head == this.
items
.Length)
174
Fx.Assert(this.
items
.Length > 0, "Quack is empty");
176
int capacity = this.
items
.Length * 2;
189
Array.Copy(this.
items
, this.head, newArray, 0, this.count);
193
Array.Copy(this.
items
, this.head, newArray, 0, this.
items
.Length - this.head);
194
Array.Copy(this.
items
, 0, newArray, this.
items
.Length - this.head, this.tail);