Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 553 for Constraint (0.32 sec)

  1. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/PersistentVcsMetadataCache.java

            cache.useCache(() -> workingDirCache.put(constraintCacheKey(repository, constraint), selectedVersion));
        }
    
        private String constraintCacheKey(VersionControlRepositoryConnection repository, VersionConstraint constraint) {
            if (constraint.getBranch() != null) {
                return repository.getUniqueId() + ":b:" + constraint.getBranch();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/go/types/typeparam.go

    // than one type will result in a panic.
    //
    // The constraint argument can be nil, and set later via SetConstraint. If the
    // constraint is non-nil, it must be fully defined.
    func NewTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	return (*Checker)(nil).newTypeParam(obj, constraint)
    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Version constraint for dependency. Constraint is either a range ("[1,2)") or recommended version ("1.0").
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionConstraint {
        /**
         * Returns the range of this constraint, or {@code null} if none.
         * <p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BomSupportPluginsSmokeTest.groovy

                            constraint("org.springframework:spring-core:${springVersion}")
                            constraint("org.springframework:spring-aop:${springVersion}")
                            constraint("org.springframework:spring-beans:${springVersion}")
                            constraint("org.springframework:spring-context:${springVersion}")
                            constraint("org.springframework:spring-expression:${springVersion}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LocalComponentDependencyMetadata.java

            List<ExcludeMetadata> excludes,
            boolean force, boolean changing, boolean transitive, boolean constraint, boolean endorsing,
            @Nullable String reason
        ) {
            this(selector, dependencyConfiguration, artifactNames, excludes, force, changing, transitive, constraint, endorsing, false, reason);
        }
    
        public LocalComponentDependencyMetadata(
            ComponentSelector selector,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/test_cluster_ops_by_policy.cc

        if (auto result_constraint = results.GetConstraint(op->getResult(0))) {
          // `test.OpA` converts shape constraint to rank constraint.
          if (is_op_a && *result_constraint == ValueConstraint::kShape)
            operands.Insert(op->getOperand(0), ValueConstraint::kRank);
    
          // `test.OpB` converts value constraint to shape constraint.
          if (*result_constraint == ValueConstraint::kValue)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. src/crypto/x509/cert_pool.go

    // constraint. When Certificate.Verify builds a chain which is rooted by cert,
    // it will additionally pass the whole chain to constraint to determine its
    // validity. If constraint returns a non-nil error, the chain will be discarded.
    // constraint may be called concurrently from multiple goroutines.
    func (s *CertPool) AddCertWithConstraint(cert *Certificate, constraint func([]*Certificate) error) {
    	if cert == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/examples/typesets.go

    }
    
    // A type parameter may not be embedded in an interface;
    // so it can also not be used as a constraint.
    func _[A any, B A /* ERROR "cannot use a type parameter as constraint" */]()    {}
    func _[A any, B, C A /* ERROR "cannot use a type parameter as constraint" */]() {}
    
    // Error messages refer to the type constraint as it appears in the source.
    // (No implicit interface should be exposed.)
    func _[T string](x T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/Dependencies.java

         *
         * @param dependencyConstraintNotation dependency constraint to add
         * @return the new dependency constraint
         * @see DependencyConstraintFactory#create(CharSequence) Valid dependency constraint notation for this method
         * @since 8.7
         */
        default DependencyConstraint constraint(CharSequence dependencyConstraintNotation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 05:34:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyCollector.java

        /**
         * Add a dependency constraint.
         *
         * @param dependencyConstraint dependency constraint to add
         * @since 8.7
         */
        void addConstraint(DependencyConstraint dependencyConstraint);
    
        /**
         * Add a dependency constraint and configure it.
         *
         * @param dependencyConstraint dependency constraint to add
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:12 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top