Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for unnamed1 (0.12 sec)

  1. platforms/documentation/docs/src/snippets/base/customExternalTask/groovy/task/build.gradle

            this.test = test;
        }
        @Override
        Iterable<String> asArguments() {
            return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)
                ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"]
                : []
        }
    }
    tasks.withType(Test).configureEach {
        jvmArgumentProviders.add(new AddOpensArgProvider(it))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            jvmArgs(listOf("--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"))
    
            if (isUnitTest() || usesEmbeddedExecuter()) {
                jvmArgs(org.gradle.internal.jvm.JpmsConfiguration.GRADLE_DAEMON_JPMS_ARGS)
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DaemonJavaCompiler.java

                javaForkOptions.jvmArgs(
                    "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
                    "--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"
                );
            } else {
                // In JDK 8 and below, the compiler internal classes are in tools.jar.
                File toolsJar = jvm.getToolsJar();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. test/escape5.go

    	_ = x[0] + y[0]
    }
    
    // Test for issue 19687 (passing to unnamed parameters does not escape).
    func f11(**int) {
    }
    func f12(_ **int) {
    }
    func f13() {
    	var x *int
    	f11(&x)
    	f12(&x)
    	runtime.KeepAlive(&x)
    }
    
    // Test for issue 24305 (passing to unnamed receivers does not escape).
    type U int
    
    func (*U) M()   {}
    func (_ *U) N() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/service-no-port-name-system-namespace.yaml

    # If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning.
    # If the service is in system namespace, i.e., kube-system, istio-system, kube-public, the check will be skipped.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service1
      namespace: kube-system  # Skipped because it's in a kube system namespace
    spec:
      selector:
        app: my-service1
      ports:
        - protocol: TCP
          port: 8080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

    tasks.withType<Test>().configureEach {
        if (JavaVersion.current().isJava9Compatible) {
            //allow ProjectBuilder to inject legacy types into the system classloader
            jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            jvmArgs("--illegal-access=deny")
        }
        useJUnitPlatform()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:32:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/service-port-name.yaml

    # If port is unnamed or port name doesn't follow <protocol>[-<suffix>], the analyzer will report warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # internal waypoint, should not generate warning
    apiVersion: v1
    kind: Service
    metadata:
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 21:10:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/identity.go

    			case TINT8, TUINT8, TINT16, TUINT16, TINT32, TUINT32, TINT64, TUINT64, TINT, TUINT, TUINTPTR, TCOMPLEX64, TCOMPLEX128, TFLOAT32, TFLOAT64, TBOOL, TSTRING, TPTR, TUNSAFEPTR:
    				return true
    			}
    			// fall through to unnamed type comparison for complex types.
    			goto cont
    		}
    		// Special case: we keep byte/uint8 and rune/int32
    		// separate for error messages. Treat them as equal.
    		switch t1.kind {
    		case TUINT8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

            given:
            def javaSourceFile = file("$JAVA_SRC_DIR_PATH/MyClass.java")
            def expectedOutput = "${javaSourceFile.absolutePath}:4: warning: [deprecation] Legacy in unnamed package has been deprecated"
    
            buildFile << """
                apply plugin: 'java'
    
                compileJava {
                    options.compilerArgs = ['-Xlint:all']
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue50755.go

    // license that can be found in the LICENSE file.
    
    package p
    
    // The core type of M2 unifies with the type of m1
    // during function argument type inference.
    // M2's constraint is unnamed.
    func f1[K1 comparable, E1 any](m1 map[K1]E1) {}
    
    func f2[M2 map[string]int](m2 M2) {
    	f1(m2)
    }
    
    // The core type of M3 unifies with the type of m1
    // during function argument type inference.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
Back to top