Searched refs:parties (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CyclicBarrier.java | 161 private final int parties; field in CyclicBarrier 182 count = parties; in nextGeneration() 192 count = parties; in breakBarrier() 278 public CyclicBarrier(int parties, Runnable barrierAction) { in CyclicBarrier() argument 279 if (parties <= 0) throw new IllegalArgumentException(); in CyclicBarrier() 280 this.parties = parties; in CyclicBarrier() 281 this.count = parties; in CyclicBarrier() 294 public CyclicBarrier(int parties) { in CyclicBarrier() argument 295 this(parties, null); in CyclicBarrier() 304 return parties; in getParties() [all …]
|
D | Phaser.java | 433 int parties = counts >>> PARTIES_SHIFT; in doRegister() local 435 if (registrations > MAX_PARTIES - parties) in doRegister() 523 public Phaser(int parties) { in Phaser() argument 524 this(null, parties); in Phaser() 548 public Phaser(Phaser parent, int parties) { in Phaser() argument 549 if (parties >>> PARTIES_SHIFT != 0) in Phaser() 558 if (parties != 0) in Phaser() 566 this.state = (parties == 0) ? (long)EMPTY : in Phaser() 568 ((long)parties << PARTIES_SHIFT) | in Phaser() 569 ((long)parties); in Phaser() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | PhaserTest.java | 62 int phase, int parties, int unarrived) { in assertState() argument 64 assertEquals(parties, phaser.getRegisteredParties()); in assertState() 66 assertEquals(parties - unarrived, phaser.getArrivedParties()); in assertState() 71 protected void assertTerminated(Phaser phaser, int maxPhase, int parties) { in assertTerminated() argument 75 assertEquals(parties, phaser.getRegisteredParties()); in assertTerminated()
|
D | JSR166TestCase.java | 1864 public CheckedBarrier(int parties) { super(parties); }
|
/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 | 1755 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.
|