Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for disambiguate (0.67 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/VariantIdentityUniquenessVerifier.java

            ) {
                DocumentedFailure.Builder builder = DocumentedFailure.builder();
                String advice = "Consider adding an additional attribute to one of the configurations to disambiguate them.";
                if (withTaskAdvice) {
                    advice += "  Run the 'outgoingVariants' task for more details.";
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CodeNarcPlugin.java

            configureReportsConventionMapping(task, baseName);
            configureToolchains(task);
        }
    
        @Override
        protected void beforeApply() {
            // Necessary to disambiguate the published variants of newer codenarc versions (including the default version)
            project.getPluginManager().apply(JvmEcosystemPlugin.class);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:49:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

            matcher.matches([candidate2, candidate4], requested, explanationBuilder) == [candidate4]
        }
    
        def "rule can disambiguate based on requested value"() {
            given:
            def matcher = new DefaultAttributeMatcher(schema)
    
            def usage = Attribute.of('usage', String)
            def rule = new AttributeDisambiguationRule<String>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java

            // the same work, so instead we cache disambiguation results based on the attributes being disambiguated.
            // The result of this is a list of indices into the original candidate list from which the
            // attributes-to-disambiguate are derived. When retrieving a result from the cache, we use the resulting
            // indices to index back into the original candidates list.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

            }
    
            throw failureProcessor.noMatchingArtifactVariantFailure(schema, matcher, producer.asDescribable().getDisplayName(), componentRequested, variants);
        }
    
        /**
         * Attempt to disambiguate between multiple potential transform candidates. This first performs attribute matching on the {@code candidates}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc

    4. If several candidates are compatible and are compatible with an equal number of attributes, Gradle needs to disambiguate the candidates.
        a. For each requested attribute, if a candidate does not have a value matching the disambiguation rule, it's eliminated from consideration.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 18:51:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

                return consumerSchema.getAttributes().contains(attribute) || producerSchema.getAttributes().contains(attribute);
            }
    
            @Override
            public Set<Object> disambiguate(Attribute<?> attribute, @Nullable Object requested, Set<Object> candidates) {
                DefaultMultipleCandidateResult<Object> result = null;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/VariantAttributesRulesIntegrationTest.groovy

                    module("org.test:moduleA:1.0:$expectedVariant") {
                        module("org.test:moduleB:1.0")
                    }
                }
            }
        }
    
        def "can disambiguate variants to select #selectedVariant"() {
            given:
            withDefaultVariantToTest()
            buildFile << """
                class AttributeRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  10. src/debug/dwarf/entry.go

    	AttrRnglistsBase:   ClassRngListsPtr,
    	AttrLoclistsBase:   ClassLocListPtr,
    }
    
    // formToClass returns the DWARF 4 Class for the given form. If the
    // DWARF version is less then 4, it will disambiguate some forms
    // depending on the attribute.
    func formToClass(form format, attr Attr, vers int, b *buf) Class {
    	switch form {
    	default:
    		b.error("cannot determine class of unknown attribute form")
    		return 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top