OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NANOS_PER_MILLI
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/main/java/java/lang/ref/
ReferenceQueue.java
28
private static final int
NANOS_PER_MILLI
= 1000000;
100
if (timeoutMillis == 0 || (timeoutMillis > Long.MAX_VALUE /
NANOS_PER_MILLI
)) {
108
long nanosToWait = timeoutMillis *
NANOS_PER_MILLI
;
123
timeoutMillis = nanosRemaining /
NANOS_PER_MILLI
;
124
timeoutNanos = (int) (nanosRemaining - timeoutMillis *
NANOS_PER_MILLI
);
/libcore/luni/src/main/java/java/lang/
Thread.java
73
private static final int
NANOS_PER_MILLI
= 1000000;
794
if (millis < 0 || nanos < 0 || nanos >=
NANOS_PER_MILLI
) {
799
boolean overflow = millis >= (Long.MAX_VALUE - nanos) /
NANOS_PER_MILLI
;
817
long nanosToWait = millis *
NANOS_PER_MILLI
+ nanos;
831
millis = nanosRemaining /
NANOS_PER_MILLI
;
832
nanos = (int) (nanosRemaining - millis *
NANOS_PER_MILLI
);
[
all
...]
Daemons.java
34
private static final int
NANOS_PER_MILLI
= 1000000;
207
long elapsedMillis = (System.nanoTime() - startedNanos) /
NANOS_PER_MILLI
;
226
long elapsedMillis = (System.nanoTime() - startedNanos) /
NANOS_PER_MILLI
;
Completed in 1457 milliseconds