/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKInstant.java | 1758 {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 …]
|
D | TCKDuration.java | 838 …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 …]
|
D | TCKClock_Tick.java | 89 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/ |
D | TCKZonedDateTimeSerialization.java | 111 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()
|
D | TCKLocalDateTimeSerialization.java | 96 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()
|
D | TCKOffsetTimeSerialization.java | 103 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()
|
D | TCKOffsetDateTimeSerialization.java | 106 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()
|
D | TCKLocalTimeSerialization.java | 138 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/ |
D | StringTest.java | 68 "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/ |
D | FinalizerReference.java | 171 wait(deltaTime / 1_000_000, (int)(deltaTime % 1_000_000)); in awaitFinalization()
|
/libcore/ojluni/src/test/java/util/Random/ |
D | RandomExponentialTest.java | 44 private static final int SAMPLES = 40_000_000;
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 158 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/ |
D | OffsetTimeTest.java | 53 assertEquals(OffsetTime.of(12, 0, 0, 1_000_000, ZoneOffset.UTC), in test_plus()
|
/libcore/ojluni/src/test/java/io/FileInputStream/ |
D | ReadXBytes.java | 46 private static final int MAX_FILE_SIZE = 1_000_000;
|
/libcore/ojluni/src/test/java/util/DoubleStreamSums/ |
D | CompensatedSums.java | 66 double[] rand = r.doubles(1_000_000) in testCompensatedSums()
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | CollectorsTest.java | 64 int size = 10_000_000; in counting_largeStream()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 304 {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()
|
D | TCKDateTimeFormatterBuilder.java | 1065 {"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/ |
D | VarargsArrayTest.java | 206 case LONG: arg = (long)i * 1000_000_000; break; in makeTestArray()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | SortingNearlySortedPrimitive.java | 134 List<Integer> sizes = List.of(100, 1_000, 10_000, 1_000_000); in createShapes()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 463 int w = 100_000_000; in toString()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 321 } else if (1000_000_000 % tickNanos == 0) { in tick()
|
D | LocalTime.java | 1635 buf.append(Integer.toString((nanoValue) + 1000_000_000).substring(1)); in toString()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestClock_System.java | 272 static final int NANOS_IN_SECOND = 1000_000_000;
|
/libcore/ojluni/src/test/java/util/zip/ |
D | TestExtraTime.java | 257 testTimeConversions(currentTime, currentTime + 1_000_000, 10_000); in testTimeConversions()
|