Searched refs:cycles (Results 1 – 4 of 4) sorted by relevance
787 int cycles; field in ArrayBlockingQueue.Itrs878 cycles++; in takeIndexWrapped()1032 prevCycles = itrs.cycles; in Itr()1079 final int cycles = itrs.cycles; in incorporateDequeues() local1084 if (cycles != prevCycles || takeIndex != prevTakeIndex) { in incorporateDequeues()1088 long dequeues = (cycles - prevCycles) * len in incorporateDequeues()1102 this.prevCycles = cycles; in incorporateDequeues()1272 len * (itrs.cycles - this.prevCycles in removedAt()1323 if (itrs.cycles - prevCycles > 1) { in takeIndexWrapped()
219 final int cycles = 8; in testFixedRateSequence() local220 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence()225 final int totalDelayMillis = (cycles - 1) * delay; in testFixedRateSequence()230 if (elapsedMillis <= cycles * delay) in testFixedRateSequence()250 final int cycles = 8; in testFixedDelaySequence() local251 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence()258 if (done.getCount() == cycles) { // first execution in testFixedDelaySequence()271 final int totalDelayMillis = (cycles - 1) * delay; in testFixedDelaySequence()272 await(done, totalDelayMillis + cycles * LONG_DELAY_MS); in testFixedDelaySequence()
163 final int cycles = 8; in testFixedRateSequence() local164 final CountDownLatch done = new CountDownLatch(cycles); in testFixedRateSequence()169 final int totalDelayMillis = (cycles - 1) * delay; in testFixedRateSequence()174 if (elapsedMillis <= cycles * delay) in testFixedRateSequence()194 final int cycles = 8; in testFixedDelaySequence() local195 final CountDownLatch done = new CountDownLatch(cycles); in testFixedDelaySequence()202 if (done.getCount() == cycles) { // first execution in testFixedDelaySequence()215 final int totalDelayMillis = (cycles - 1) * delay; in testFixedDelaySequence()216 await(done, totalDelayMillis + cycles * LONG_DELAY_MS); in testFixedDelaySequence()
1502 public static final int cycles = 0; field in R