Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for unambiguous (0.21 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                        continue;
                    }
                    if (claimedBy == null) {
                        claimedBy = handler;
                    } else {
                        handler.ambiguous(propertyMetaData);
                        break;
                    }
                }
                if (claimedBy != null) {
                    continue;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  4. 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)
  5. doc/go1.17_spec.html

    func()(x)        // function signature func() x
    (func())(x)      // x is converted to func()
    (func() int)(x)  // x is converted to func() int
    func() int(x)    // x is converted to func() int (unambiguous)
    </pre>
    
    <p>
    A <a href="#Constants">constant</a> value <code>x</code> can be converted to
    type <code>T</code> if <code>x</code> is <a href="#Representability">representable</a>
    by a value of <code>T</code>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. src/runtime/error.go

    // If panic is called with a value that has a String or Error method,
    // it has already been converted into a string by preprintpanics.
    //
    // To ensure that the traceback can be unambiguously parsed even when
    // the panic value contains "\ngoroutine" and other stack-like
    // strings, newlines in the string representation of v are replaced by
    // "\n\t".
    func printpanicval(v any) {
    	switch v := v.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            failure.assertHasErrorOutput(UnknownPluginException.class.getName())
        }
    
        @Issue("https://github.com/gradle/gradle/issues/24609")
        def "when plugin request fails due to ambiguous plugin variants available, gets default error message"() {
            given:
            def producer = file('producer')
            def consumer = file('consumer')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/typecheck.go

    			return f
    		}
    		if f.Sym != s {
    			continue
    		}
    		if r != nil {
    			if errnode != nil {
    				base.Errorf("ambiguous selector %v", errnode)
    			} else if t.IsPtr() {
    				base.Errorf("ambiguous selector (%v).%v", t, s)
    			} else {
    				base.Errorf("ambiguous selector %v.%v", t, s)
    			}
    			break
    		}
    
    		r = f
    	}
    
    	return r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    			}
    		}()
    		into = &content
    	}
    
    	if !s.options.strict {
    		return nil, modes.DecodeLax.Unmarshal(data, into)
    	}
    
    	err := modes.Decode.Unmarshal(data, into)
    	// TODO: UnknownFieldError is ambiguous. It only provides the index of the first problematic
    	// map entry encountered and does not indicate which map the index refers to.
    	var unknownField *cbor.UnknownFieldError
    	if errors.As(err, &unknownField) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. pilot/pkg/model/gateway.go

    // resolvePorts takes a Gateway port, and resolves it to the port that will actually be listened on.
    // When legacyGatewaySelector=false, then the gateway is directly referencing a Service. In this
    // case, the translation is un-ambiguous - we just find the matching port and return the targetPort
    // When legacyGatewaySelector=true things are a bit more complex, as we support referencing a Service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top