7 writes to head
System.Activities (7)
System\Activities\Quack.cs (7)
80
if (--this.
head
== -1)
82
this.
head
= this.items.Length - 1;
111
if (++this.
head
== this.items.Length)
113
this.
head
= 0;
164
++this.
head
;
168
this.
head
= 0;
199
this.
head
= 0;
13 references to head
System.Activities (13)
System\Activities\Quack.cs (13)
53
int realIndex = (this.
head
+ index) % this.items.Length;
67
compressedItems[i] = this.items[(this.
head
+ i) % this.items.Length];
84
this.items[this.
head
] = item;
109
T removed = this.items[this.
head
];
110
this.items[this.
head
] = default(T);
127
int realIndex = (this.
head
+ i) % this.items.Length;
152
int sourceIndex = (this.
head
+ i) % this.items.Length;
166
if (this.
head
== this.items.Length)
187
if (this.
head
< this.tail)
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);