Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 467 for unrenamed (0.13 sec)

  1. test/rename1.go

    // errorcheck
    
    // Copyright 2009 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.
    
    // Verify that renamed identifiers no longer have their old meaning.
    // Does not compile.
    
    package main
    
    func main() {
    	var n byte         // ERROR "not a type|expected type"
    	var y = float32(0) // ERROR "cannot call|expected function"
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:07:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/cache/GeneralCompileCaches.java

    import org.gradle.cache.Cache;
    import org.gradle.internal.hash.HashCode;
    
    /**
     * The build scoped compile caches.
     *
     * NOTE: This class cannot be renamed because it used to leak onto the public API
     * and some community plugins still depend on it in their byte code.
     */
    public interface GeneralCompileCaches {
        Cache<HashCode, ClassSetAnalysisData> getClassSetAnalysisCache();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. 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)
  7. src/syscall/syscall_openbsd_arm64.go

    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    const RTM_LOCK = 0x8
    
    // SYS___SYSCTL only exists in OpenBSD 5.8 and earlier, when it was
    // was renamed to SYS_SYSCTL.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 906 bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd_ppc64.go

    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    const RTM_LOCK = 0x8
    
    // SYS___SYSCTL only exists in OpenBSD 5.8 and earlier, when it was
    // was renamed to SYS_SYSCTL.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 906 bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd_riscv64.go

    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    const RTM_LOCK = 0x8
    
    // SYS___SYSCTL only exists in OpenBSD 5.8 and earlier, when it was
    // was renamed to SYS_SYSCTL.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 906 bytes
    - Viewed (0)
  10. 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)
Back to top