Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for unambiguous (0.18 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

            failureCauseContains '''
      tasks.foonar { ... } @ build.gradle line 15, column 17
        subject:
          - tasks.foonar Object [*]
              suggestions: tasks.foobar
    '''
        }
    
        def "fails on ambiguous by-type reference"() {
            given:
            buildScript """
                class Plugin1 {
                    static class Rules extends RuleSource {
                        @Model
                        String s1() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

                if (expected == null && result) {
                    throw new Exception("Expected an ambiguous result, but got $result")
                }
                assert result == [expected] as Set
            } catch (VariantSelectionException e) {
                if (expected == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/priority_test.go

    		{
    			name:     "single hit",
    			delegate: fixedRESTMapper{resourcesFor: []schema.GroupVersionResource{{Resource: "single-hit"}}},
    			result:   schema.GroupVersionResource{Resource: "single-hit"},
    		},
    		{
    			name: "ambiguous match",
    			delegate: fixedRESTMapper{resourcesFor: []schema.GroupVersionResource{
    				{Group: "one", Version: "a", Resource: "first"},
    				{Group: "two", Version: "b", Resource: "second"},
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 06 15:24:58 UTC 2018
    - 13.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/selection/DefaultBuildTaskSelectorTest.groovy

            "progx:task"    | "Cannot locate tasks that match 'progx:task' as project 'progx' not found in <default project>. Some candidates are: 'proj'."
        }
    
        def "fails on ambiguous project"() {
            withIncludedBuilds(includedBuild("proj1"))
            addProject(root, "proj2")
            addProject(root, "proj3")
    
            when:
            selector.resolveTaskName(null, null, target, ":pr:task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version.go

    func ParseGroupResource(gr string) GroupResource {
    	if i := strings.Index(gr, "."); i >= 0 {
    		return GroupResource{Group: gr[i+1:], Resource: gr[:i]}
    	}
    	return GroupResource{Resource: gr}
    }
    
    // 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
    type GroupVersionResource struct {
    	Group    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 09:08:59 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. pkg/api/pod/warnings_test.go

    					},
    				}},
    			}},
    			expected: []string{
    				`spec.containers[0].ports[1]: dangerously ambiguous port definition with spec.containers[0].ports[0]`,
    				`spec.containers[0].ports[2]: dangerously ambiguous port definition with spec.containers[0].ports[1]`,
    			},
    		},
    		{
    			name: "duplicate container ports with one host IP set and one without",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/lookup.go

    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    //     (the same name appeared more than once at the same embedding level).
    //
    //   - If indirect is set, a method with a pointer receiver type was found
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/go/types/lookup.go

    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    //     (the same name appeared more than once at the same embedding level).
    //
    //   - If indirect is set, a method with a pointer receiver type was found
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolutionIssuesIntegrationTest.groovy

                version = "2.8.0-alpha02"
                group = "androidx.lifecycle"
    
                // There is some failure while resolving this component.
                // We can do this many ways, but one way to do it is with an ambiguous variant selection.
                configurations {
                    consumable("debugApiElements") {
                        attributes {
                            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_API))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 04:02:23 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    * when no variants from the producer match the consumer attributes (incompatibility error)
    
    [[sub:variant-ambiguity]]
    === Dealing with ambiguity errors
    
    An ambiguous variant selection looks like the following:
    
    [listing]
    ----
    > Could not resolve all files for configuration ':compileClasspath'.
       > Could not resolve project :lib.
         Required by:
             project :ui
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top