Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 874 for unnamed (0.23 sec)

  1. test/fixedbugs/bug477.go

    // compile
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test multiple identical unnamed structs with methods.  This caused
    // a compilation error with gccgo.
    
    package p
    
    type S1 struct{}
    
    func (s S1) M() {}
    
    type S2 struct {
    	F1 struct {
    		S1
    	}
    	F2 struct {
    		S1
    	}
    }
    
    type I interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 491 bytes
    - Viewed (0)
  2. test/fixedbugs/bug388.go

    // license that can be found in the LICENSE file.
    
    // Issue 2231
    
    package main
    import "runtime"
    
    func foo(runtime.UintType, i int) {  // ERROR "cannot declare name runtime.UintType|mixed named and unnamed|undefined identifier"
    	println(i, runtime.UintType) // GCCGO_ERROR "undefined identifier"
    }
    
    func qux() {
    	var main.i	// ERROR "unexpected [.]|expected type"
    	println(main.i)
    }
    
    func corge() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 636 bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
                executer.withArgument('-Dorg.gradle.jvmargs=--add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED')
            }
    
            buildFile << """
                import org.gradle.internal.operations.BuildOperationExecutor
                import org.gradle.internal.operations.RunnableBuildOperation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/base/customExternalTask/kotlin/task/build.gradle.kts

        override fun asArguments() : Iterable<String> {
            return if (test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) {
                listOf("--add-opens=java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        }
    }
    tasks.withType<Test>().configureEach {
        jvmArgumentProviders.add(AddOpensArgProvider(this))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test/abi/defer_recover_results.go

    	a, b, c, d = a0, b0, c0, d0
    	defer func() { recover() }()
    	panic("XXX")
    	return
    }
    
    func main() {
    	a1, b1, zero, c1, d1 := F()
    	if a1 != a0 || b1 != b0 || c1 != c0 || d1 != d0 || zero != 0 { // unnamed result gets zero value
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 06 20:22:15 UTC 2021
    - 800 bytes
    - Viewed (0)
  10. 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)
Back to top