Home
last modified time | relevance | path

Searched refs:PARTIES_SHIFT (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java298 private static final int PARTIES_SHIFT = 16; field in Phaser
307 private static final int ONE_PARTY = 1 << PARTIES_SHIFT;
319 return (int)s >>> PARTIES_SHIFT; in partiesOf()
329 (counts >>> PARTIES_SHIFT) - (counts & UNARRIVED_MASK); in arrivedOf()
394 int nextUnarrived = (int)n >>> PARTIES_SHIFT; in doArrive()
427 long adjust = ((long)registrations << PARTIES_SHIFT) | registrations; in doRegister()
433 int parties = counts >>> PARTIES_SHIFT; in doRegister()
498 (((p = (int)s >>> PARTIES_SHIFT) == 0) ? EMPTY : in reconcileState()
549 if (parties >>> PARTIES_SHIFT != 0) in Phaser()
568 ((long)parties << PARTIES_SHIFT) | in Phaser()
[all …]