Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,131 for Constraint (0.17 sec)

  1. src/internal/types/testdata/fixedbugs/issue50755.go

    // The core type of M2 unifies with the type of m1
    // during function argument type inference.
    // M2's constraint is unnamed.
    func f1[K1 comparable, E1 any](m1 map[K1]E1) {}
    
    func f2[M2 map[string]int](m2 M2) {
    	f1(m2)
    }
    
    // The core type of M3 unifies with the type of m1
    // during function argument type inference.
    // M3's constraint is named.
    type Map3 map[string]int
    
    func f3[M3 Map3](m3 M3) {
    	f1(m3)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/testdata/tparams.go

    package p
    
    type t[a, b /* ERROR missing type constraint */ ] struct{}
    type t[a t, b t, c /* ERROR missing type constraint */ ] struct{}
    type t struct {
    	t [n]byte
    	t[a]
    	t[a, b]
    }
    type t interface {
    	t[a]
    	m /* ERROR method must have no type parameters */ [_ _, /* ERROR mixed */ _]()
    	t[a, b]
    }
    
    func f[ /* ERROR empty type parameter list */ ]()
    func f[a, b /* ERROR missing type constraint */ ]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 17:49:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/DependenciesAwareVersionCatalogBuilder.java

            }
        }
    
        private void collectConstraints(DependencyConstraintSet allConstraints, Set<ModuleIdentifier> seen) {
            for (DependencyConstraint constraint : allConstraints) {
                String group = constraint.getGroup();
                String name = constraint.getName();
                ModuleIdentifier id = DefaultModuleIdentifier.newId(group, name);
                if (seen.add(id)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/go/printer/gobuild.go

    		insert = p.plusBuild[0]
    	}
    
    	var x constraint.Expr
    	switch len(p.goBuild) {
    	case 0:
    		// Synthesize //go:build expression from // +build lines.
    		for _, pos := range p.plusBuild {
    			y, err := constraint.Parse(p.commentTextAt(pos))
    			if err != nil {
    				x = nil
    				break
    			}
    			if x == nil {
    				x = y
    			} else {
    				x = &constraint.AndExpr{X: x, Y: y}
    			}
    		}
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/AbstractConflictResolverTest.groovy

            private MutableVersionConstraint constraint
            String repositoryName
    
            TestComponent(ModuleVersionIdentifier id) {
                this.id = id
                this.componentId = DefaultModuleComponentIdentifier.newId(id)
                this.constraint = new DefaultMutableVersionConstraint(id.version)
            }
    
            TestComponent strict() {
                constraint.strictly(id.version)
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ExternalDependency.java

        /**
         * Configures the version constraint for this dependency.
         * @param configureAction the configuration action for the module version
         * @since 4.4
         */
        void version(Action<? super MutableVersionConstraint> configureAction);
    
        /**
         * Returns the version constraint to be used during selection.
         * @return the version constraint
         *
         * @since 4.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 06 18:52:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/validation/CronExpression.java

    import java.lang.annotation.Target;
    
    import javax.validation.Constraint;
    import javax.validation.Payload;
    
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
        String message() default "{org.lastaflute.validator.constraints.CronExpression.message}";
    
        Class<?>[] groups() default {};
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ScriptHandlerScope.kt

        /**
         * Adds a dependency constraint to the script classpath configuration.
         *
         * @param dependencyConstraintNotation the dependency constraint notation
         * @param configuration the block to use to configure the dependency constraint
         *
         * @return the added dependency constraint
         *
         * @see [DependencyConstraintHandler.add]
         * @since 5.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

                throw new IllegalStateException("Could not parse current Maven version: " + e.getMessage(), e);
            }
    
            if (constraint.getRange() == null) {
                return constraint.getVersion().compareTo(current) <= 0;
            }
            return constraint.containsVersion(current);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 18 11:03:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td

    def NoFallbackAttrNotSet : Constraint<CPred<
      "!$0.getDefiningOp()->hasAttr(kNoFallbackAttr)">>;
    
    class FloatValueEquals<string val> : Constraint<CPred<
      "FloatValueEquals($0, " # val # ")">>;
    
    class RankEquals<string rank> : Constraint<CPred<
      "RankEquals($0, " # rank # ")">>;
    
    def IsFusibleWithBias : Constraint<CPred<
      "IsFusibleWithBiasOp($0.getDefiningOp())">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top