Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java168 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
169 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
170 assertTrue(nanosRemaining <= timeoutNanos); in await()
538 long nanosRemaining = c.awaitNanos(timeoutNanos);
539 assertTrue(nanosRemaining <= 0);
DAbstractQueuedSynchronizerTest.java230 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
231 assertTrue(nanosRemaining > 0); in await()
258 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
259 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
260 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DAbstractQueuedLongSynchronizerTest.java227 long nanosRemaining = c.awaitNanos(nanosTimeout); in await() local
228 assertTrue(nanosRemaining > 0); in await()
255 long nanosRemaining = c.awaitNanos(nanosTimeout); in assertAwaitTimesOut() local
256 assertTrue(nanosRemaining <= 0); in assertAwaitTimesOut()
257 assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS)); in assertAwaitTimesOut()
DReentrantReadWriteLockTest.java177 long nanosRemaining = c.awaitNanos(timeoutNanos); in await() local
178 assertTrue(nanosRemaining > timeoutNanos / 2); in await()
179 assertTrue(nanosRemaining <= timeoutNanos); in await()
940 long nanosRemaining = c.awaitNanos(timeoutNanos);
941 assertTrue(nanosRemaining <= 0);