Searched refs:releases (Results 1 – 7 of 7) sorted by relevance
164 protected final boolean tryReleaseShared(int releases) { in tryReleaseShared() argument167 int next = current + releases; in tryReleaseShared()
148 protected boolean tryReleaseShared(int releases) { in tryReleaseShared() argument
123 protected final boolean tryRelease(int releases) { in tryRelease() argument124 int c = getState() - releases; in tryRelease()
342 protected final boolean tryRelease(int releases) { in tryRelease() argument345 int nextc = getState() - releases; in tryRelease()
4 # may become important in future so if inventing interim releases only add
59 @Override public boolean tryRelease(int releases) { in tryRelease() argument61 assertEquals(LOCKED, releases); in tryRelease()
56 public boolean tryRelease(long releases) { in tryRelease() argument