Searched refs:parties (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CyclicBarrier.java | 132 private final int parties; field in CyclicBarrier 153 count = parties; in nextGeneration() 163 count = parties; in breakBarrier() 249 public CyclicBarrier(int parties, Runnable barrierAction) { in CyclicBarrier() argument 250 if (parties <= 0) throw new IllegalArgumentException(); in CyclicBarrier() 251 this.parties = parties; in CyclicBarrier() 252 this.count = parties; in CyclicBarrier() 265 public CyclicBarrier(int parties) { in CyclicBarrier() argument 266 this(parties, null); in CyclicBarrier() 275 return parties; in getParties() [all …]
|
D | Phaser.java | 404 int parties = counts >>> PARTIES_SHIFT; in doRegister() local 406 if (registrations > MAX_PARTIES - parties) in doRegister() 494 public Phaser(int parties) { in Phaser() argument 495 this(null, parties); in Phaser() 519 public Phaser(Phaser parent, int parties) { in Phaser() argument 520 if (parties >>> PARTIES_SHIFT != 0) in Phaser() 529 if (parties != 0) in Phaser() 537 this.state = (parties == 0) ? (long)EMPTY : in Phaser() 539 ((long)parties << PARTIES_SHIFT) | in Phaser() 540 ((long)parties); in Phaser() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 38 int phase, int parties, int unarrived) { in assertState() argument 40 assertEquals(parties, phaser.getRegisteredParties()); in assertState() 42 assertEquals(parties - unarrived, phaser.getArrivedParties()); in assertState() 47 protected void assertTerminated(Phaser phaser, int maxPhase, int parties) { in assertTerminated() argument 51 assertEquals(parties, phaser.getRegisteredParties()); in assertTerminated()
|
D | JSR166TestCase.java | 1715 public CheckedBarrier(int parties) { super(parties); }
|
/libcore/ |
D | LICENSE | 96 licensed as a whole at no charge to all third parties under the terms of 161 third parties are not compelled to copy the source along with the object code. 166 your rights under this License. However, parties who have received copies, or 168 long as such parties remain in full compliance. 183 third parties to this License.
|
/libcore/ojluni/ |
D | NOTICE | 382 licensed as a whole at no charge to all third parties under the terms of 447 third parties are not compelled to copy the source along with the object code. 452 your rights under this License. However, parties who have received copies, or 454 long as such parties remain in full compliance. 469 third parties to this License.
|