Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 355 for Anonymous2 (0.23 sec)

  1. test/fixedbugs/issue4590.go

    // Copyright 2012 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.
    
    // Issue 4590: linker fails on multiple imports of
    // an anonymous struct with methods.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 20:42:26 UTC 2013
    - 276 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/signature.go

    			params = append(params, par)
    			anonymous = true
    		}
    	}
    
    	if named && anonymous {
    		check.error(list[0], InvalidSyntaxTree, "list contains both named and anonymous parameters")
    		// ok to continue
    	}
    
    	// For a variadic function, change the last parameter's type from T to []T.
    	// Since we type-checked T rather than ...T, we also need to retro-actively
    	// record the type for ...T.
    	if variadic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue16369.go

    // Copyright 2016 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.
    
    package p
    
    type T interface { // ERROR "invalid recursive type: anonymous interface refers to itself"
    	M(interface {
    		T
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 302 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go

    				opts.TolerateInClusterLookupFailure = true
    				return opts
    			}(),
    			expectError:         false, // client is valid, skipped cluster lookup
    			expectAuthenticator: true,  // anonymous auth
    			expectTokenErrors:   true,  // client fails making tokenreview calls
    		},
    	}
    
    	for _, tc := range testcases {
    		t.Run(tc.name, func(t *testing.T) {
    			c := &server.AuthenticationInfo{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 15:01:56 UTC 2019
    - 6.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithInnerTypes.groovy

            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass outer
            }
        }
    
        GroovyInterface getSomeProp() {
            // ignore anonymous classes
            return new GroovyInterface() {}
        }
    
        InnerClass.AnotherInner innerClassProp
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 609 bytes
    - Viewed (0)
  6. test/fixedbugs/issue46556.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type A = interface{}
    type B interface{}
    
    // Test that embedding both anonymous and defined types is supported.
    type C interface {
    	A
    	B
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 03 20:52:22 UTC 2021
    - 321 bytes
    - Viewed (0)
  7. test/fixedbugs/issue21770.go

    // license that can be found in the LICENSE file.
    
    // Issue 21770: gccgo incorrectly accepts "p.f = 0" where p is **struct
    
    package p
    
    type PP **struct{ f int }
    
    func f() {
    	// anonymous type
    	var p **struct{ f int }
    	p.f = 0 // ERROR "field"
    	// named type
    	var p2 PP
    	p2.f = 0 // ERROR "field"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 13:32:23 UTC 2017
    - 422 bytes
    - Viewed (0)
  8. test/fixedbugs/issue25101.go

    // Copyright 2018 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.
    
    // Indexed export format must not crash when writing
    // the anonymous parameter for m.
    
    package p
    
    var x interface {
    	m(int)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 05 20:22:07 UTC 2018
    - 312 bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    			}
    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    	anonReq, err := newTestRequest(http.MethodGet, getPutPolicyURL("", bucketName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for bucket \"%s\": <ERROR> %v",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/name_anonymous_iterators.mlir

    // RUN: tf-opt %s --tf-name-anonymous-iterators --split-input-file | FileCheck %s
    
    // CHECK-LABEL: gives_a_name_to_anonymous_iterators
    func.func private @gives_a_name_to_anonymous_iterators() {
      // CHECK: "tf.Iterator"
      // CHECK-SAME: output_shapes{{.*}}200x28x28x1{{.*}}200x10
      // CHECK-SAME: output_types = [f32, f32]
      // CHECK-SAME: shared_name = "_iterator1"
      %0 = "tf.AnonymousIteratorV3"() {output_shapes = [
        #tf_type.shape<200x28x28x1>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 14 09:25:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top