- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for isMatching (0.29 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy
1 * attributeMatcher.isMatching(sourceVariant.getAttributes(), fromSource) >> true 1 * attributeMatcher.isMatching(sourceVariant.getAttributes(), fromOther) >> false // other variant matches fromOther, but not fromSource 1 * attributeMatcher.isMatching(otherVariant.getAttributes(), fromSource) >> false 1 * attributeMatcher.isMatching(otherVariant.getAttributes(), fromOther) >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 22.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy
matcher.matches([candidate2, candidate3, candidate4], requested, explanationBuilder) == [candidate4] matcher.isMatching(candidate1, requested) !matcher.isMatching(candidate2, requested) !matcher.isMatching(candidate3, requested) matcher.isMatching(candidate4, requested) } def "selects candidate with additional attributes and whose values match"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy
expect: !schema.matcher().selectionSchema.matchValue(attribute, "a", "b") schema.matcher().selectionSchema.matchValue(attribute, "a", "a") !schema.matcher().isMatching(attribute, "a", "b") schema.matcher().isMatching(attribute, "a", "a") } static class DoNothingRule implements AttributeCompatibilityRule<String> { static int count @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java
// while y may not be compatible with x. We accept compatibility in either direction as sufficient for this method. return !matcher.isMatching(firstCandidate.getAttributes(), secondCandidate.getAttributes()) && !matcher.isMatching(secondCandidate.getAttributes(), firstCandidate.getAttributes()); } private static class TraceDiscardedVariants implements AttributeMatchingExplanationBuilder {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 30 13:33:37 UTC 2024 - 10K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooser.java
if (componentMetadata != null) { AttributeContainerInternal attributes = (AttributeContainerInternal) componentMetadata.getAttributes(); boolean matching = attributesSchema.matcher().isMatching(attributes, consumerAttributes); if (!matching) { return new RejectedByAttributesVersion(id, attributesSchema.matcher().describeMatching(attributes, consumerAttributes)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 13 17:41:33 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy
attributeMatcher.matches(_ as Collection, typeAttributes("classes"), _ as AttributeMatchingExplanationBuilder) >> [variant1, variant2] attributeMatcher.isMatching(_, _, _) >> true when: def result = variantSelectorFactory.create(dependenciesResolverFactory).select(set, typeAttributes("classes"), false, factory) visit(result) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java
AttributeValue<?> producerValue = candidateAttributes.findEntry(attributeName); if (consumerValue.isPresent() && producerValue.isPresent()) { if (attributeMatcher.isMatching(untyped, producerValue.coerce(attribute), consumerValue.coerce(attribute))) { compatible.add(new AssessedAttribute<>(attribute, Cast.uncheckedCast(consumerValue.get()), Cast.uncheckedCast(producerValue.get())));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java
if (!consumerAttributes.isEmpty() && !conf.getAttributes().isEmpty()) { // Need to validate that the selected configuration still matches the consumer attributes if (!attributeMatcher.isMatching(conf.getAttributes(), consumerAttributes)) { throw failureHandler.incompatibleRequestedConfigurationFailure(consumerSchema, attributeMatcher, consumerAttributes, targetComponent, conf); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 17.8K bytes - Viewed (0) -
internal/hash/reader_test.go
src: mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4), size: 4, actualSize: 4, success: true, }, { desc: "Mismatching sha256", src: mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589", 4), size: 4, actualSize: 4,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 10.3K bytes - Viewed (0)