Searched refs:prevTakeIndex (Results 1 – 1 of 1) sorted by relevance
993 private int prevTakeIndex; field in ArrayBlockingQueue.Itr1020 prevTakeIndex = DETACHED; in Itr()1023 prevTakeIndex = takeIndex; in Itr()1045 return prevTakeIndex < 0; in isDetached()1059 private boolean invalidated(int index, int prevTakeIndex, in invalidated() argument1063 int distance = index - prevTakeIndex; in invalidated()1082 final int prevTakeIndex = this.prevTakeIndex; in incorporateDequeues() local1084 if (cycles != prevCycles || takeIndex != prevTakeIndex) { in incorporateDequeues()1089 + (takeIndex - prevTakeIndex); in incorporateDequeues()1092 if (invalidated(lastRet, prevTakeIndex, dequeues, len)) in incorporateDequeues()[all …]