Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for disambiguate (0.19 sec)

  1. src/cmd/go/testdata/script/mod_get_split.txt

    # that match the pattern but *not* the version.
    #
    # That only leaves two options: we can set the module to an arbitrary version
    # (perhaps 'latest' or 'none'), or we can report an error and the let the user
    # disambiguate. We would rather not choose arbitrarily, so we do the latter.
    #
    # TODO(#27899): Should we instead upgrade or downgrade to an arbitrary version?
    
    ! go get example.net/split/nested/...@v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/LambdaOverloadResolutionTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object LambdaOverloadResolutionTest {
        @Test
        fun `functions with and without lambda get disambiguated at runtime`() {
            val schema = schemaFromTypes(MyTopLevelReceiver::class, listOf(MyTopLevelReceiver::class, AddedObject::class))
    
            val code = """
                addSomething(1) { }
                addSomething(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 12:27:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

            schema.attribute(additional).with {
                compatibilityRules.add(CompatibilityRule)
                disambiguationRules.add(DisambiguationRule)
            }
        }
    
        def "when precedence is known, disambiguates by ordered elimination"() {
            def candidate1 = candidate("best", "best", "best")
            def candidate2 = candidate("best", "best", "compatible")
            def candidate3 = candidate("best", "compatible", "compatible")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/OverloadResolutionTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object OverloadResolutionTest {
        @Test
        fun `function overloads with and without configure lambda are disambiguated`() {
            val schema = schemaFromTypes(MyTopLevelReceiver::class, listOf(MyTopLevelReceiver::class))
    
            val code = """
                addSomething(1)
                addSomething(1) { }
            """.trimIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/TargetJvmVersionRulesTest.groovy

            8        | 7        | true
            8        | 8        | true
            8        | 9        | false
            8        | 10       | false
            8        | 11       | false
        }
    
        @Unroll("disamgiguates when consumer=#consumer and candidates=#candidates chooses=#expected")
        def "check disambiguation rules"() {
            MultipleCandidatesResult details = Mock()
    
            when:
            disambiguationRules.execute(details)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 03 17:43:36 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    }
    
    // StackSource holds function/location info for a stack entry.
    type StackSource struct {
    	FullName   string
    	FileName   string
    	UniqueName string // Disambiguates functions with same names
    	Inlined    bool   // If true this source was inlined into its caller
    
    	// Alternative names to display (with decreasing lengths) to make text fit.
    	// Guaranteed to be non-empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top