Home
last modified time | relevance | path

Searched refs:_000_000 (Results 1 – 25 of 31) sorted by relevance

12

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKInstant.java1758 {5, 650_000_000, -1, 650_000_000, NANOS, -6_000_000_000L},
1759 {5, 650_000_000, 0, 650_000_000, NANOS, -5_000_000_000L},
1760 {5, 650_000_000, 3, 650_000_000, NANOS, -2_000_000_000L},
1761 {5, 650_000_000, 4, 650_000_000, NANOS, -1_000_000_000L},
1762 {5, 650_000_000, 5, 650_000_000, NANOS, 0},
1763 {5, 650_000_000, 6, 650_000_000, NANOS, 1_000_000_000L},
1764 {5, 650_000_000, 7, 650_000_000, NANOS, 2_000_000_000L},
1766 {5, 650_000_000, -1, 0, NANOS, -6_650_000_000L},
1767 {5, 650_000_000, 0, 0, NANOS, -5_650_000_000L},
1768 {5, 650_000_000, 3, 0, NANOS, -2_650_000_000L},
[all …]
DTCKDuration.java838 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 30, 65_000_000 in data_durationBetweenLocalDateTime()
839 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 31, 65_000_000 in data_durationBetweenLocalDateTime()
840 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 32, 65_000_000 in data_durationBetweenLocalDateTime()
841 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 33, 65_000_000 in data_durationBetweenLocalDateTime()
842 …eTime.of(2013, 3, 24, 0, 44, 31, 565_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 34, 65_000_000 in data_durationBetweenLocalDateTime()
844 …eTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 30, 565_000_000 in data_durationBetweenLocalDateTime()
845 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 31, 565_000_00… in data_durationBetweenLocalDateTime()
846 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 32, 565_000_00… in data_durationBetweenLocalDateTime()
847 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 33, 565_000_00… in data_durationBetweenLocalDateTime()
848 …teTime.of(2013, 3, 24, 0, 44, 31, 65_000_000), LocalDateTime.of(2013, 3, 24, 0, 44, 34, 565_000_00… in data_durationBetweenLocalDateTime()
[all …]
DTCKClock_Tick.java89 assertEquals(test.instant(), ZDT.withNano((i / 250) * 250_000_000).toInstant()); in test_tick_ClockDuration_250millis()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZonedDateTimeSerialization.java111 dos.writeInt(470_000_000); in test_serialization_format_zoneId()
117 …ZonedDateTime zdt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 470_000_000).atZone(ZoneId.of("Europ… in test_serialization_format_zoneId()
132 dos.writeInt(470_000_000); in test_serialization_format_zoneOffset()
138 …ZonedDateTime zdt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 470_000_000).atZone(ZoneOffset.ofHou… in test_serialization_format_zoneOffset()
DTCKLocalDateTimeSerialization.java96 dos.writeInt(459_000_000); in test_serialization_format()
99 assertSerializedBySer(LocalDateTime.of(2012, 9, 16, 22, 17, 59, 459_000_000), bytes); in test_serialization_format()
DTCKOffsetTimeSerialization.java103 dos.writeInt(464_000_000); in test_serialization_format()
107 assertSerializedBySer(OffsetTime.of(22, 17, 59, 464_000_000, ZoneOffset.ofHours(1)), bytes); in test_serialization_format()
DTCKOffsetDateTimeSerialization.java106 dos.writeInt(464_000_000); in test_serialization_format()
110 LocalDateTime ldt = LocalDateTime.of(2012, 9, 16, 22, 17, 59, 464_000_000); in test_serialization_format()
DTCKLocalTimeSerialization.java138 dos.writeInt(459_000_000); in test_serialization_format_hmsn()
141 assertSerializedBySer(LocalTime.of(22, 17, 59, 459_000_000), bytes); in test_serialization_format_hmsn()
/libcore/benchmarks/src_androidx/libcore/benchmark/
DStringTest.java68 "h".repeat(1_000_000); in stringRepeat_art_x1m_singleChar()
76 repeatStringBuilder("h", 1_000_000); in stringRepeat_java_x1m_singleChar()
/libcore/luni/src/main/java/java/lang/ref/
DFinalizerReference.java171 wait(deltaTime / 1_000_000, (int)(deltaTime % 1_000_000)); in awaitFinalization()
/libcore/ojluni/src/test/java/util/Random/
DRandomExponentialTest.java44 private static final int SAMPLES = 40_000_000;
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java158 Instant instant = Instant.ofEpochSecond(secs, rand.nextInt(1000_000_000)); in main()
172 secs = nanos / 1000_000_000; in main()
173 nanos = nanos % 1000_000_000; in main()
300 nanos += 1000_000_000; in eqTime()
/libcore/luni/src/test/java/libcore/java/time/
DOffsetTimeTest.java53 assertEquals(OffsetTime.of(12, 0, 0, 1_000_000, ZoneOffset.UTC), in test_plus()
/libcore/ojluni/src/test/java/io/FileInputStream/
DReadXBytes.java46 private static final int MAX_FILE_SIZE = 1_000_000;
/libcore/ojluni/src/test/java/util/DoubleStreamSums/
DCompensatedSums.java66 double[] rand = r.doubles(1_000_000) in testCompensatedSums()
/libcore/luni/src/test/java/libcore/java/util/stream/
DCollectorsTest.java64 int size = 10_000_000; in counting_largeStream()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java304 {MILLI_OF_DAY, (3600 + 650) * 1_000L + 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveOneToTime()
436 {SECOND_OF_DAY, 3600 + 650, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
448 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, HOUR_OF_DAY, 1, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
449 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MINUTE_OF_HOUR, 10, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
450 …{MILLI_OF_DAY, (3600 + 650) * 1000L + 2, SECOND_OF_MINUTE, 50, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
451 … {MILLI_OF_DAY, (3600 + 650) * 1000L + 2, MILLI_OF_SECOND, 2, LocalTime.of(1, 10, 50, 2_000_000)}, in data_resolveTwoToTime()
DTCKDateTimeFormatterBuilder.java1065 {"A", "1", LocalTime.ofNanoOfDay(1_000_000)}, in data_secondsPattern()
1067 {"AA", "01", LocalTime.ofNanoOfDay(1_000_000)}, in data_secondsPattern()
/libcore/ojluni/src/test/java/lang/invoke/
DVarargsArrayTest.java206 case LONG: arg = (long)i * 1000_000_000; break; in makeTestArray()
/libcore/ojluni/src/test/java/util/Arrays/
DSortingNearlySortedPrimitive.java134 List<Integer> sizes = List.of(100, 1_000, 10_000, 1_000_000); in createShapes()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java463 int w = 100_000_000; in toString()
/libcore/ojluni/src/main/java/java/time/
DClock.java321 } else if (1000_000_000 % tickNanos == 0) { in tick()
DLocalTime.java1635 buf.append(Integer.toString((nanoValue) + 1000_000_000).substring(1)); in toString()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestClock_System.java272 static final int NANOS_IN_SECOND = 1000_000_000;
/libcore/ojluni/src/test/java/util/zip/
DTestExtraTime.java257 testTimeConversions(currentTime, currentTime + 1_000_000, 10_000); in testTimeConversions()

12