Lines Matching defs:index
93 int index = hash & (fCapacity-1);
95 Slot& s = fSlots[index];
102 index = this->next(index);
122 int index = hash & (fCapacity-1);
124 Slot& s = fSlots[index];
127 this->removeSlot(index);
133 index = this->next(index);
240 int index = hash & (fCapacity-1);
242 Slot& s = fSlots[index];
256 index = this->next(index);
280 void removeSlot(int index) {
285 Slot& emptySlot = fSlots[index];
286 int emptyIndex = index;
295 index = this->next(index);
296 Slot& s = fSlots[index];
303 } while ((index <= originalIndex && originalIndex < emptyIndex)
304 || (originalIndex < emptyIndex && emptyIndex < index)
305 || (emptyIndex < index && index <= originalIndex));
307 Slot& moveFrom = fSlots[index];
312 int next(int index) const {
313 index--;
314 if (index < 0) { index += fCapacity; }
315 return index;