Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/util/concurrent/
DUninterruptibles.java77 long remainingNanos = unit.toNanos(timeout); in awaitUninterruptibly() local
78 long end = System.nanoTime() + remainingNanos; in awaitUninterruptibly()
83 return latch.await(remainingNanos, NANOSECONDS); in awaitUninterruptibly()
86 remainingNanos = end - System.nanoTime(); in awaitUninterruptibly()
165 long remainingNanos = unit.toNanos(timeout); in getUninterruptibly() local
166 long end = System.nanoTime() + remainingNanos; in getUninterruptibly()
171 return future.get(remainingNanos, NANOSECONDS); in getUninterruptibly()
174 remainingNanos = end - System.nanoTime(); in getUninterruptibly()
194 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly() local
195 long end = System.nanoTime() + remainingNanos; in joinUninterruptibly()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DAsyncTimeout.java94 long remainingNanos = node.remainingNanos(now); in scheduleTimeout() local
96 if (prev.next == null || remainingNanos < prev.next.remainingNanos(now)) { in scheduleTimeout()
133 private long remainingNanos(long now) { in remainingNanos() method in AsyncTimeout
315 long waitNanos = node.remainingNanos(System.nanoTime());
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DInterruptionUtil.java123 long remainingNanos = unit.toNanos(timeout); in joinUninterruptibly() local
124 long end = System.nanoTime() + remainingNanos; in joinUninterruptibly()
129 NANOSECONDS.timedJoin(thread, remainingNanos); in joinUninterruptibly()
133 remainingNanos = end - System.nanoTime(); in joinUninterruptibly()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...