Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 172 for unnamed1 (0.37 sec)

  1. test/fixedbugs/issue17631.go

    		updateTime time.Time
    		expect     map[string]int
    	}{
    		about:   "this one",
    		updates: map[string]int{"gopher": 10}, // ERROR "unknown field updates in struct literal of type|unknown field .*updates.* in .*unnamed struct.*"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 21:59:09 UTC 2022
    - 540 bytes
    - Viewed (0)
  2. test/fixedbugs/issue6140.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6140: compiler incorrectly rejects method values
    // whose receiver has an unnamed interface type.
    
    package p
    
    type T *interface {
    	m() int
    }
    
    var x T
    
    var _ = (*x).m
    
    var y interface {
    	m() int
    }
    
    var _ = y.m
    
    type I interface {
    	String() string
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 466 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/service-no-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-service1
      namespace: my-namespace1
    spec:
      selector:
        app: my-service1
      ports:
        - protocol: TCP
          port: 8080
          targetPort: 8080
        - protocol: TCP
          port: 8081
          targetPort: 8081
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 574 bytes
    - Viewed (0)
  4. test/fixedbugs/gcc67968.go

    // gccgo compiler crash building the equality and hash functions for a
    // type when a return statement requires a conversion to interface
    // type of a call of function defined in a different package that
    // returns an unnamed type.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 01 21:17:01 UTC 2015
    - 456 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test/fixedbugs/issue67160.go

    // generated equality functions on architectures that can't do
    // unaligned loads.
    
    package main
    
    // T has a big field that wants to be compared with larger loads/stores.
    // T is "special" because of the unnamed field, so it needs a generated equality function.
    // T is an odd number of bytes in size and has alignment 1.
    type T struct {
    	src [8]byte
    	_   byte
    }
    
    // U contains 8 copies of T, each at a different %8 alignment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:34:04 UTC 2024
    - 767 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