Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 204 for unambiguous (0.21 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/internal/ModifierStubs.java

                this.testData = testData;
            }
        }
    
        public static class PackagePrivateConstructorWithPrivateConstructor {
            final String testData;
    
            // This is still ambiguous and will require the @Inject annotation to be fixed
            PackagePrivateConstructorWithPrivateConstructor() {
                this("Potato");
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

            private final Class<S> type;
            private Spec<? super S> spec;
            private S match;
            private boolean ambiguous;
    
            SingleElementProvider(Class<S> type, Spec<? super S> spec) {
                this.type = type;
                this.spec = spec;
            }
    
            void selectNow() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/go/printer/testdata/generics.golden

    func _() {
    	type _ []T[P]
    	var _ []T[P]
    	_ = []T[P]{}
    }
    
    // type constraint literals with elided interfaces
    func _[P ~int, Q int | string]()	{}
    func _[P struct{ f int }, Q *P]()	{}
    
    // various potentially ambiguous type parameter lists (issue #49482)
    type _[P *T,] struct{}
    type _[P T | T] struct{}
    type _[P T | T | T | T] struct{}
    type _[P *T, _ any] struct{}
    type _[P *T,] struct{}
    type _[P *T, _ any] struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 16:18:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/example.com_retract_ambiguous_nested_v1.9.0-bad.txt

    -- .mod --
    module example.com/retract/ambiguous/nested
    
    go 1.16
    
    retract v1.9.0-bad // nested modules are bad
    -- .info --
    {"Version":"v1.9.0-bad"}
    -- nested.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 18 15:31:11 UTC 2020
    - 178 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    		}
    
    		return 1
    	}
    
    	val := 0
    	for i := 0; i < iter; i++ {
    		m := m1
    		if i%10 == 0 {
    			m = m2
    		}
    
    		// N.B. Profiles only distinguish calls on a per-line level,
    		// making the two calls ambiguous. However because the
    		// interfaces and implementations are mutually exclusive,
    		// devirtualization can still select the correct callee for
    		// each.
    		//
    		// If they were not mutually exclusive (for example, two Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

        }
    
        def "demonstrate ambiguous graph variant without single disambiguating value selection failure for project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/internal/types/testdata/fixedbugs/issue57352.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type A interface {
    	a()
    }
    
    type AB interface {
    	A
    	b()
    }
    
    type AAB struct {
    	A
    	AB
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 21:22:00 UTC 2023
    - 314 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

            TextUtil.normaliseLineSeparators(e.cause.message) == '''Type-only model reference of type java.lang.Long is ambiguous as multiple model elements are available for this type:
      - a (created by: test)
      - b (created by: test)'''
        }
    
        def "cannot add node that would make a by-type input ambiguous"() {
            given:
            bindings.add(rule("other") { it.inputReference(Long) })
            addNode(node("a", Long))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  9. test/fixedbugs/issue52870.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 52870: gofrontend gave incorrect error when incorrectly
    // compiling ambiguous promoted method.
    
    package p
    
    type S1 struct {
    	*S2
    }
    
    type S2 struct {
    	T3
    	T4
    }
    
    type T3 int32
    
    func (T3) M() {}
    
    type T4 int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 16 01:03:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/group_version.go

    }
    
    func (gr *GroupResource) String() string {
    	if gr == nil {
    		return "<nil>"
    	}
    	if len(gr.Group) == 0 {
    		return gr.Resource
    	}
    	return gr.Resource + "." + gr.Group
    }
    
    // GroupVersionResource unambiguously identifies a resource.  It doesn't anonymously include GroupVersion
    // to avoid automatic coercion.  It doesn't use a GroupVersion to avoid custom marshalling
    //
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 04 09:55:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
Back to top