/openjdk10/jdk/test/java/text/Format/ChoiceFormat/ |
H A D | Bug4387255.java | 34 private static final double[] doubles = { field in class:Bug4387255 53 ChoiceFormat choiceFormat1 = new ChoiceFormat(doubles, strings); 61 for (int i = 0; i < doubles.length; i++) { 62 String result = choiceFormat2.format(doubles[i]);
|
/openjdk10/jdk/test/lib/testlibrary/bootlib/java.base/java/util/stream/ |
H A D | DoubleStreamTestDataProvider.java | 87 final double[] doubles = (double[]) data[1]; 89 list = doubles.length >= 1000 ? list1000 : listSmall; 92 TestData.Factory.ofArray("array:" + name, doubles)}); 95 for (double i : doubles) { 110 final double[] doubles = (double[]) data[1]; 113 for (double i : doubles) { 118 () -> Arrays.spliterator(doubles))); 120 () -> Arrays.spliterator(doubles, 0, doubles.length / 2))); 126 () -> Spliterators.spliterator(isl.iterator(), doubles [all...] |
/openjdk10/jdk/src/java.base/share/native/libjava/ |
H A D | ObjectOutputStream.c | 127 jdouble *doubles; local 141 doubles = (*env)->GetPrimitiveArrayCritical(env, src, NULL); 142 if (doubles == NULL) /* exception thrown */ 147 (*env)->ReleasePrimitiveArrayCritical(env, src, doubles, JNI_ABORT); 153 (*env)->ReleasePrimitiveArrayCritical(env, src, doubles, JNI_ABORT); 160 dval = doubles[srcpos]; 179 (*env)->ReleasePrimitiveArrayCritical(env, src, doubles, JNI_ABORT);
|
H A D | ObjectInputStream.c | 126 jdouble *doubles; local 149 doubles = (*env)->GetPrimitiveArrayCritical(env, dst, NULL); 150 if (doubles == NULL) { /* exception thrown */ 168 doubles[dstpos] = (jdouble) u.d; 173 (*env)->ReleasePrimitiveArrayCritical(env, dst, doubles, 0);
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/ |
H A D | PrimitiveTypeContentHandler.java | 202 public void doubles(double [] d, int start, int length) throws SAXException; method in interface:PrimitiveTypeContentHandler
|
/openjdk10/jdk/test/java/util/concurrent/tck/ |
H A D | ThreadLocalRandom8Test.java | 61 * Invoking sized ints, long, doubles, with negative sizes throws 71 () -> r.doubles(-1L), 72 () -> r.doubles(-1L, .5, .6), 78 * Invoking bounded ints, long, doubles, with illegal bounds throws 88 () -> r.doubles(0.0, 0.0), 89 () -> r.doubles(10, .5, .4), 125 * A parallel sized stream of doubles generates the given number of values 133 r.doubles(size).parallel().forEach(x -> counter.increment()); 178 * Each of a parallel sized stream of bounded doubles is within bounds 187 r.doubles(siz [all...] |
H A D | SplittableRandomTest.java | 354 * Invoking sized ints, long, doubles, with negative sizes throws 364 () -> { java.util.stream.DoubleStream x = r.doubles(-1L); }, 365 () -> { java.util.stream.DoubleStream x = r.doubles(-1L, .5, .6); }, 371 * Invoking bounded ints, long, doubles, with illegal bounds throws 381 () -> { java.util.stream.DoubleStream x = r.doubles(0.0, 0.0); }, 382 () -> { java.util.stream.DoubleStream x = r.doubles(10, .5, .4); }, 418 * A parallel sized stream of doubles generates the given number of values 426 r.doubles(size).parallel().forEach(x -> counter.increment()); 471 * Each of a parallel sized stream of bounded doubles is within bounds 480 r.doubles(siz [all...] |
/openjdk10/jdk/test/java/util/Random/ |
H A D | RandomTest.java | 169 * Invoking sized ints, long, doubles, with negative sizes throws 178 assertThrowsIAE(() -> r.doubles(-1L)); 179 assertThrowsIAE(() -> r.doubles(-1L, .5, .6)); 183 * Invoking bounded ints, long, doubles, with illegal bounds throws 193 testDoubleBadOriginBound((o, b) -> r.doubles(10, o, b)); 259 * A sequential sized stream of doubles generates the given number of values 267 r.doubles(size).forEach(x -> { 316 * Each of a sequential sized stream of bounded doubles is within bounds 325 r.doubles(size, lo, hi). 362 * A parallel unsized stream of doubles generate [all...] |
H A D | RandomStreamTest.java | 81 random.doubles().limit(count).forEach(destination::add); 82 random.doubles().limit(count).forEach(d -> assertTrue(d >= 0.0 && d < 1.0)); 124 final double[] b = r2.doubles().limit(SIZE).toArray(); 143 testRandomResultSupplierConcurrently(() -> tlr.doubles().limit(SIZE).boxed().collect(toList()));
|
/openjdk10/langtools/test/tools/javac/processing/model/util/elements/ |
H A D | TestGetConstantExpression.java | 78 Double[] doubles = {Double.NaN, Double.NEGATIVE_INFINITY, -1.0, -0.0, 0.0, 1.0, Double.POSITIVE_INFINITY}; 95 pw.println(String.format(" private static double[] doubles = {%s};", 96 printConstants(doubles)));
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/helpers/ |
H A D | FastInfosetDefaultHandler.java | 106 public void doubles(double[] d, int start, int length) throws SAXException { method in class:FastInfosetDefaultHandler
|
/openjdk10/jdk/test/java/lang/ |
H A D | HashCode.java | 102 double[] doubles = { 111 for(double d : doubles) {
|
/openjdk10/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | LongPrimitiveOpsTests.java | 158 TreeSet<Double> doubles = new TreeSet<>(); 159 for(long i : input) doubles.add((double)i); 160 double[] expectedDoubles = doubles.stream().mapToDouble(Double::doubleValue).toArray();
|
H A D | IntPrimitiveOpsTests.java | 170 TreeSet<Double> doubles = new TreeSet<>(); 171 for(int i : input) doubles.add((double)i); 172 double[] expectedDoubles = doubles.stream().mapToDouble(Double::doubleValue).toArray();
|
H A D | ToArrayOpTest.java | 357 double[] doubles = exerciseTerminalOps(data, s -> s.map(i -> i + i), s -> s.toArray()); 358 assertTrue(doubles.length == data.size()); 366 double[] doubles = exerciseTerminalOps(data, s -> s.sorted(), (DoubleStream s) -> s.toArray()); 367 assertTrue(doubles.length == data.size());
|
H A D | InfiniteStreamWithLimitOpTest.java | 164 private TestData.OfDouble doubles() { method in class:InfiniteStreamWithLimitOpTest 215 withData(doubles()). 262 // Upper bound ensures values mapped to doubles will be unique 263 withData(doubles()).
|
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | Random.java | 885 public DoubleStream doubles(long streamSize) { method in class:Random 903 * doubles(Long.MAX_VALUE)}. 908 public DoubleStream doubles() { method in class:Random 942 public DoubleStream doubles(long streamSize, double randomNumberOrigin, method in class:Random 971 * doubles(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. 981 public DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) { method in class:Random
|
H A D | SplittableRandom.java | 744 public DoubleStream doubles(long streamSize) { method in class:SplittableRandom 759 * doubles(Long.MAX_VALUE)}. 763 public DoubleStream doubles() { method in class:SplittableRandom 785 public DoubleStream doubles(long streamSize, double randomNumberOrigin, method in class:SplittableRandom 803 * doubles(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. 812 public DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) { method in class:SplittableRandom
|
/openjdk10/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/ |
H A D | SplittableRandomTest.java | 284 @DataProvider(name = "doubles") 298 String.format("new SplittableRandom().doubles().limit(%d)", SIZE), 299 () -> new SplittableRandom().doubles().limit(SIZE)), 305 String.format("new SplittableRandom().doubles(%d)", SIZE), 306 () -> new SplittableRandom().doubles(SIZE)), 326 String.format("new SplittableRandom().doubles(%f, %f).limit(%d)", origin, bound, SIZE), 327 () -> new SplittableRandom().doubles(origin, bound).limit(SIZE)), 333 String.format("new SplittableRandom().doubles(%d, %f, %f)", SIZE, origin, bound), 334 () -> new SplittableRandom().doubles(SIZE, origin, bound)), 359 @Test(dataProvider = "doubles") [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/stream/ |
H A D | SortedOps.java | 680 double[] doubles = b.asPrimitiveArray(); 681 Arrays.sort(doubles); 682 downstream.begin(doubles.length); 684 for (double aDouble : doubles) 688 for (double aDouble : doubles) {
|
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/ |
H A D | ThreadLocalRandom.java | 665 public DoubleStream doubles(long streamSize) { method in class:ThreadLocalRandom 680 * doubles(Long.MAX_VALUE)}. 685 public DoubleStream doubles() { method in class:ThreadLocalRandom 707 public DoubleStream doubles(long streamSize, double randomNumberOrigin, method in class:ThreadLocalRandom 725 * doubles(Long.MAX_VALUE, randomNumberOrigin, randomNumberBound)}. 735 public DoubleStream doubles(double randomNumberOrigin, double randomNumberBound) { method in class:ThreadLocalRandom
|
/openjdk10/jdk/test/java/math/BigInteger/ |
H A D | BigIntegerTest.java | 353 DoubleStream doubles = random.doubles(SIZE, 355 report("squareRoot for double", doubles.mapToObj(x ->
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset/sax/ |
H A D | SAXDocumentSerializer.java | 390 public final void doubles(double[] d, int start, int length) throws SAXException { method in class:SAXDocumentSerializer
|
H A D | SAXDocumentParser.java | 1706 _primitiveHandler.doubles(builtInAlgorithmState.doubleArray, 0, length);
|