Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,131 for Constraint (0.13 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingLenientModeIntegrationTest.groovy

                    }
                    edge("org:foo:{strictly 1.1}", "org:foo:1.1")
                    constraint("org:foo:1.0", "org:foo:1.1")
                }
            }
    
            where:
            unique << [true, false]
        }
    
        def 'does not fail when lock file conflicts with declared version constraint (initial unique: #unique)'() {
            given:
            mavenRepo.module('org', 'foo', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DetachedResolvedGraphDependency.java

            this.reason = reason;
            this.selected = selected;
            this.failure = failure;
            this.constraint = constraint;
            this.fromVariant = fromVariant;
            this.targetVariant = targetVariant;
        }
    
        @Override
        public ComponentSelector getRequested() {
            return requested;
        }
    
        @Override
        public Long getSelected() {
            return selected;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    // is deterministic.
    func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
    	constraint := tparam.Constraint()
    	if constraint == nil {
    		return nil, fmt.Errorf("%s has nil constraint", tparam)
    	}
    	iface, _ := constraint.Underlying().(*types.Interface)
    	if iface == nil {
    		return nil, fmt.Errorf("constraint is %T, not *types.Interface", constraint.Underlying())
    	}
    	return InterfaceTermSet(iface)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/cluster_ops_by_policy.mlir

    }
    
    // CHECK-LABEL: func @failed_to_propagate_constraints
    func.func @failed_to_propagate_constraints(%arg0 : tensor<?x?xf32>)
        -> (tensor<?x?xf32> { tf.constraint = "value"  }) {
      // expected-error@below {{failed to propagate results constraints: 0:value}}
      %0 = "test.OpC"(%arg0) : (tensor<?x?xf32>) -> tensor<?x?xf32>
      // expected-remark@below {{operand #0 constrained to: value}}
      func.return %0 : tensor<?x?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            call(self, dependencyOrDependencyConstraint, null);
        }
    
        /**
         * Add a dependency or dependency constraint.
         *
         * @param dependencyOrDependencyConstraint dependency or dependency constraint to add
         * @param configuration an action to configure the dependency or dependency constraint
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue50426.go

    }](v T) {
    }
    
    func _() {
    	var v A2
    	// Use function type inference to infer type A2 for T.
    	// Don't use constraint type inference before function
    	// type inference for typed arguments, otherwise it would
    	// infer type [2]uint64 for T which doesn't have method m
    	// (was the bug).
    	f[int](v)
    }
    
    // Keep using constraint type inference before function type
    // inference for untyped arguments so we infer type float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_constraints.adoc

    Otherwise, the constraint has no effect.
    Dependency constraints can also define a <<rich_versions.adoc#rich-version-constraints,rich version constraint>> and support <<rich_versions.adoc#sec:strict-version,strict versions>> to enforce a version even if it contradicts with the version defined by a transitive dependency (e.g. if the version needs to be downgraded).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializer.java

                return new DetachedResolvedGraphDependency(requested, selectedId, null, null, constraint, fromVariant, selectedVariantId);
            } else if (resultByte == SUCCESSFUL_NOTHING_SELECTED) {
                long selectedId = decoder.readSmallLong();
                return new DetachedResolvedGraphDependency(requested, selectedId, null, null, constraint, fromVariant, null);
            } else if (resultByte == FAILED) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy

     */
    
    package org.gradle.integtests.tooling.fixture
    
    import org.gradle.util.GradleVersion
    import spock.lang.Specification
    
    class GradleVersionSpecTest extends Specification {
        def "greater-than-or-equal version constraint matches all versions with specified base version and later"() {
            def spec = new GradleVersionSpec().toSpec(">=1.0")
    
            expect:
            spec.isSatisfiedBy(GradleVersion.version("1.0"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt

            add("api", constraintNotation)
    
    
        /**
         * Adds a dependency constraint to the 'api' configuration.
         *
         * @param constraintNotation the dependency constraint notation
         * @param block the block to use to configure the dependency constraint
         *
         * @return the added dependency constraint
         *
         * @see [DependencyConstraintHandler.add]
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top