Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for unambiguous (0.15 sec)

  1. src/cmd/compile/internal/types/alg.go

    		base.Fatalf("setAlg(%v,%s) starting with unknown priority", t, a)
    	}
    	if algPriority[a] > algPriority[t.alg] {
    		t.alg = a
    	} else if a != t.alg && algPriority[a] == algPriority[t.alg] {
    		base.Fatalf("ambiguous priority %s and %s", a, t.alg)
    	}
    }
    
    // AlgType returns the AlgKind used for comparing and hashing Type t.
    func AlgType(t *Type) AlgKind {
    	CalcSize(t)
    	return t.alg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ImportTest.kt

                    "d" to DefaultFqName("a.b.c", "d")
                ),
                result
            )
            assertTrue(analysisContext.errorCollector.errors.isEmpty())
        }
    
        @Test
        fun `reports ambiguous import errors`() {
            val imports = listOf(
                importOf("a", "b", "C"),
                importOf("a", "c", "C"),
                importOf("a", "b", "D")
            )
            val analysisContext = testContext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy

            then:
            failure.assertThatCause(containsNormalizedString("Cannot add task 'test' as a task with that name already exists."))
        }
    
        // currently not supported, variants are ambiguous without further information
        def "reports of multiple targets cannot be aggregated"() {
            setupBasicTestingProject(['test-report-aggregation'])
            buildFile << """
                testing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 7.3K 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. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/MissingAttributeAmbiguousGraphVariantsFailureDescriber.java

        }
    
        private String suggestDependencyInsight() {
            return "Use the dependencyInsight report with the --all-variants option to view all variants of the ambiguous dependency.  This report is described at " + getDocumentationRegistry().getDocumentationFor("viewing_debugging_dependencies", "sec:identifying_reason_dependency_selection") + ".";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:12:53 UTC 2024
    - 6K 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/os/error.go

    // IsTimeout returns a boolean indicating whether the error is known
    // to report that a timeout occurred.
    //
    // This function predates [errors.Is], and the notion of whether an
    // error indicates a timeout can be ambiguous. For example, the Unix
    // error EWOULDBLOCK sometimes indicates a timeout and sometimes does not.
    // New code should use errors.Is with a value appropriate to the call
    // returning the error, such as [os.ErrDeadlineExceeded].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

            'validation:configuration-cache-invocation-of-task-project-at-execution-time-is-unsupported' : 'invocation of \'Task.project\' at execution time is unsupported.',
            'task-selection:ambiguous-matches' : 'Ambiguous matches',
            'task-selection:no-matches' : 'No matches',
            'task-selection:selection-failed' : 'Selection failed',
            'task-selection:empty-path' : 'Empty path',
            'missing-task-name' : 'Missing task name',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/util/NameMatcher.java

            String capItem = StringUtils.capitalize(singularItemDescription);
            if (!matches.isEmpty()) {
                return String.format("%s '%s' is ambiguous in %s. Candidates are: %s.", capItem, pattern, container, GUtil.toString(matches));
            }
            if (!candidates.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:48:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. 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)
Back to top