Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 204 for unambiguous (0.16 sec)

  1. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/11995")
        def "provides a human understable error message when some variants were discarded and the remainder is ambiguous"() {
            buildFile << """
                apply plugin: 'java-base'
    
                configurations {
                    consumer {
                        assert canBeResolved
                        canBeConsumed = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:14:19 UTC 2024
    - 4K 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. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCandidateInfo.kt

        /**
         * Returns true if the [candidate] is in the final set of candidates that the call is actually resolved to. There can be multiple
         * candidates if the call is ambiguous.
         */
        public val isInBestCandidates: Boolean by validityAsserted(isInBestCandidates)
    }
    
    public typealias KtCallCandidateInfo = KaCallCandidateInfo
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. src/net/rawconn_unix_test.go

    	}
    	return operr
    }
    
    func controlOnConnSetup(network string, address string, c syscall.RawConn) error {
    	var operr error
    	var fn func(uintptr)
    	switch network {
    	case "tcp", "udp", "ip":
    		return errors.New("ambiguous network: " + network)
    	case "unix", "unixpacket", "unixgram":
    		fn = func(s uintptr) {
    			_, operr = syscall.GetsockoptInt(int(s), syscall.SOL_SOCKET, syscall.SO_ERROR)
    		}
    	default:
    		switch network[len(network)-1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3K bytes
    - Viewed (1)
  6. src/net/rawconn_windows_test.go

    	}
    	return operr
    }
    
    func controlOnConnSetup(network string, address string, c syscall.RawConn) error {
    	var operr error
    	var fn func(uintptr)
    	switch network {
    	case "tcp", "udp", "ip":
    		return errors.New("ambiguous network: " + network)
    	default:
    		switch network[len(network)-1] {
    		case '4':
    			fn = func(s uintptr) {
    				operr = syscall.SetsockoptInt(syscall.Handle(s), syscall.IPPROTO_IP, syscall.IP_TTL, 1)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 18 08:47:18 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportTaskSpec.groovy

            when:
            task.configuration = "coB"
            task.dependencySpec = { true } as Spec
    
            then:
            task.configuration == confB
        }
    
        def "ambiguous configuration selection by camelCase shortcut fails"() {
            given:
            project.configurations.create("confAlpha")
            project.configurations.create("confAlfa")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 17 06:46:38 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  10. 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)
Back to top