Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 377 for Constraint (0.14 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractDependencyMetadataRulesTest.groovy

            then:
            if (supportedInMetadata(metadataType)) {
                assert dependencies.size() == 2
                assert dependencies[0].constraint == addAllDependenciesAsConstraints()
                assert dependencies[1].constraint == addAllDependenciesAsConstraints()
            } else {
                assert dependencies.empty
            }
    
            where:
            metadataType | metadataImplementation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:39:10 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/override/ComponentOverrideMetadataResolveIntegrationTest.groovy

                root(":", ":test:") {
                    edge('org:foo', 'org:foo:1.0') {
                        byConstraint()
                        artifact(type: 'distribution-tgz')
                    }
                    constraint('org:foo:1.0')
                }
            }
        }
    
        def "The first artifact is used as replacement for metadata if multiple artifacts are declared using #declaration"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 03 18:15:26 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpecBuilder.java

            ImmutableVersionConstraint constraint = DefaultImmutableVersionConstraint.of(dependencyConstraint);
            ModuleMetadataSpec.Version version = versionFor(constraint, identifier.getVersion());
    
            return new ModuleMetadataSpec.DependencyCoordinates(identifier.getGroup(), identifier.getName(), version);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

                action()
                view
            }
    
            DependencyConstraintView constraint(String notation, @DelegatesTo(value=DependencyConstraintView, strategy= Closure.DELEGATE_FIRST) Closure<Void> action = { exists() }) {
                def (String group, String module, String version) = notation.split(':') as List
                constraint(group, module, version, action)
            }
    
            List<Capability> getCapabilities() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc

    [[sub:terminology_dependency_constraint]]
    == Dependency constraint
    
    A dependency constraint defines requirements that need to be met by a module to make it a valid resolution result for the dependency.
    For example, a dependency constraint can narrow down the set of supported module versions.
    Dependency constraints can be used to express such requirements for transitive dependencies.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    | By constraint
    | A <<dependency_constraints#sec:adding-constraints-transitive-deps, dependency constraint>> participated in the version selection.
    May be followed by a `because` text.
    
    | By ancestor
    | There is a <<rich_versions#rich-version-constraints, rich version>> with a `strictly` which enforces the version of this dependency.
    
    | Selected by rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/interfaces.go

    	// ResourceVersion provides a resource version constraint to apply to the list operation
    	// as a "not older than" constraint: the result contains data at least as new as the provided
    	// ResourceVersion. The newest available data is preferred, but any data not older than this
    	// ResourceVersion may be served.
    	ResourceVersion string
    	// ResourceVersionMatch provides the rule for how the resource version constraint applies. If set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:53:48 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyConstraintHandler.java

        private final static DependencyConstraint DUMMY_CONSTRAINT = new DependencyConstraint() {
            private InvalidUserCodeException shouldNotBeCalled() {
                return new InvalidUserCodeException("You shouldn't use a dependency constraint created via a Provider directly");
            }
    
            @Override
            public void version(Action<? super MutableVersionConstraint> configureAction) {
                throw shouldNotBeCalled();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // Check that an empty replicate is invalid (replicate needs a region).
    func.func @verifier_replicate_no_block() {
      "tf_device.replicate" () ({
    // expected-error@-1 {{'tf_device.replicate' op region #0 ('body') failed to verify constraint: region with 1 blocks}}
      }) {n = 2 : i32, operandSegmentSizes = array<i32: 0, 0>} : () -> ()
      func.return
    }
    
    // -----
    
    // Check that an empty replicate block is invalid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultConfigurationMetadata.java

                }
            }
            return dependencies.build();
        }
    
        private ImmutableList<ModuleDependencyMetadata> withConstraints(boolean constraint, ImmutableList<ModuleDependencyMetadata> configDependencies) {
            if (configDependencies.isEmpty()) {
                return ImmutableList.of();
            }
            int count = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top