Searched refs:round (Results 1 - 25 of 163) sorted by relevance

1234567

/openjdk10/nashorn/test/script/basic/
H A DJDK-8011023.js31 print(1/Math.round(-0.5));
32 print(Math.round(9007199254740991));
33 print(Math.round(9223372036854775807*2));
/openjdk10/langtools/test/tools/javac/processing/warnings/UseImplicit/
H A DTestProcUseImplicitWarning.java46 int round = 0; field in class:TestProcUseImplicitWarning
50 round++;
52 if (round == 1) {
/openjdk10/jdk/test/java/lang/Math/
H A DRoundTests.java27 * @summary Check for correct implementation of {Math, StrictMath}.round
39 System.err.println("Testing {Math, StrictMath}.round incurred "
67 failures += Tests.test("Math.round", input, Math.round(input), expected);
68 failures += Tests.test("StrictMath.round", input, StrictMath.round(input), expected);
95 failures += Tests.test("Math.round", input, Math.round(input), expected);
96 failures += Tests.test("StrictMath.round", input, StrictMath.round(inpu
[all...]
/openjdk10/hotspot/test/compiler/floatingpoint/
H A DTestRound.java27 * @summary calling Math.round(NaN) can break subsequent calls to Math.round()
37 // of Math.round() without any other command-line flags.
41 Math.round(Double.NaN);
43 if (Math.round(1d) != 1) {
/openjdk10/langtools/test/tools/javac/processing/werror/
H A DWError1.java47 if (++round == 1) {
48 messager.printMessage(Diagnostic.Kind.WARNING, "round 1");
53 int round = 0; field in class:WError1
H A DWErrorGen.java47 if (++round == 1) {
59 int round = 0; field in class:WErrorGen
/openjdk10/langtools/test/tools/javac/processing/6994946/
H A DTestProcessor.java31 private int round = 0; field in class:TestProcessor
35 if (++round == 1)
/openjdk10/langtools/test/tools/javac/processing/options/testPrintProcessorInfo/
H A DTest.java45 int round = 0; field in class:Test
49 round++;
50 messager.printMessage(Diagnostic.Kind.NOTE, "round " + round);
51 if (round <= MAX_ROUNDS)
52 generateSource("Gen" + round);
54 messager.printMessage(Diagnostic.Kind.WARNING, "last round");
/openjdk10/langtools/test/tools/javac/processing/model/util/directSupersOfErr/
H A DDirectSupersOfErr.java45 RoundEnvironment round) {
46 if (round.processingOver()) return true;
48 for (TypeElement te : typesIn(round.getRootElements())) {
44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
/openjdk10/langtools/test/tools/javac/processing/model/util/
H A DNoSupers.java44 RoundEnvironment round) {
45 if (round.processingOver()) return true;
43 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
H A DBinaryName.java47 RoundEnvironment round) {
48 if (round.processingOver()) return true;
50 Set<? extends TypeElement> ts = typesIn(round.getElementsAnnotatedWith(
46 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
H A DDirectSuperOfInt.java45 RoundEnvironment round) {
46 if (round.processingOver())
50 for (TypeElement te : typesIn(round.getRootElements())) {
44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
H A DGetTypeElemBadArg.java45 RoundEnvironment round) {
46 if (round.processingOver()) return true;
44 process(Set<? extends TypeElement> tes, RoundEnvironment round) argument
/openjdk10/langtools/test/tools/javac/processing/model/type/MirroredTypeEx/
H A DOverEager.java49 RoundEnvironment round) {
50 if (!round.processingOver())
51 doit(annoTypes, round);
56 RoundEnvironment round) {
57 for (TypeElement t : typesIn(round.getRootElements())) {
48 process(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument
55 doit(Set<? extends TypeElement> annoTypes, RoundEnvironment round) argument
/openjdk10/langtools/test/tools/javac/diags/examples/ProcTypeRecreate/processors/
H A DAnnoProc.java34 round++;
35 if (round <= 2) {
54 int round; field in class:AnnoProc
/openjdk10/langtools/test/tools/javac/processing/
H A DTestWarnErrorCount.java69 boolean warn(int round) { return false; }
72 /** Generate a warning if round count is a multiple of 2. */
74 boolean warn(int round) { return (round % 2) == 0; }
77 /** Generate a warning if round count is a multiple of 3. */
79 boolean warn(int round) { return (round % 3) == 0; }
82 /** Generate a warning every round. */
84 boolean warn(int round) { return true; }
88 /** whether to generate a warning in round 'roun
89 warn(int round) argument
294 int round = 0; field in class:TestWarnErrorCount
[all...]
/openjdk10/langtools/test/tools/javac/options/
H A DT7022337.java81 int round = 0; field in class:T7022337
85 round++;
88 if (round < MAXROUNDS)
89 generate("Gen" + round);
/openjdk10/langtools/test/tools/javac/processing/environment/round/
H A DTestContext.java27 * @summary A new JavacElements is created for each round of annotation processing
53 int round = 0; field in class:TestContext
63 round++;
72 if (round < MAXROUNDS)
73 generateSource("Gen" + round);
84 "round " + round + " unexpected value for " + expected.getClass().getName() + ": " + actual);
/openjdk10/langtools/test/tools/javac/processing/filer/
H A DTestPackageInfo.java57 private int round = 0; field in class:TestPackageInfo
61 round++;
68 System.out.println("\nRound " + round);
76 switch (round) {
119 throw new RuntimeException("Unexpected round number " + round);
/openjdk10/langtools/test/tools/javac/diags/examples/ProcSuspiciousClassName/processors/
H A DAnnoProc.java34 if (++round == 1) {
57 int round = 0; field in class:AnnoProc
/openjdk10/langtools/test/tools/javac/diags/examples/ProcIllegalFileName/processors/
H A DAnnoProc.java34 if (++round == 1) {
54 int round = 0; field in class:AnnoProc
/openjdk10/langtools/test/tools/javac/diags/examples/ProcFileReopening/processors/
H A DAnnoProc.java34 if (++round == 1) {
56 int round = 0; field in class:AnnoProc
/openjdk10/langtools/test/tools/javac/processing/rounds/
H A DClassDependingOnGenerated.java45 int round = 1; field in class:ClassDependingOnGenerated
54 if (round++ == 1) {
/openjdk10/langtools/test/tools/javac/diags/examples/ProcUseProcOrImplicit/processors/
H A DAnnoProc.java34 if ((++round) == 1) {
53 int round; field in class:AnnoProc
/openjdk10/langtools/test/tools/javac/diags/examples/ProcUseImplicit/processors/
H A DAnnoProc.java34 if ((++round) == 1) {
53 int round; field in class:AnnoProc

Completed in 210 milliseconds

1234567