Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,131 for Constraint (0.12 sec)

  1. schema/constraint.go

    	Name       string
    	Constraint string // length(phone) >= 10
    	*Field
    }
    
    func (chk *CheckConstraint) GetName() string { return chk.Name }
    
    func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
    	return "CONSTRAINT ? CHECK (?)", []interface{}{clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}}
    }
    
    // ParseCheckConstraints parse schema check constraints
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 07:33:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir

    // RUN: tf-opt -tf-optimize %s | FileCheck %s
    
    // Check passing an argument into DefinedByConv2D constraint does not crash.
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1xf32>) -> tensor<1xf32>
    attributes  {tf.entry_function = {inputs = "input", outputs = "output_node"}} {
      %0 = arith.constant dense<2.000000e+00> : tensor<f32>
      %1 = arith.constant dense<1.000000e+00> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 719 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyConstraintHandlerTest.groovy

            1 * dependencyConstraintFactory.createDependencyConstraint("someOther") >> constraint2
            1 * dependencyConstraintSet.add(constraint1)
            1 * dependencyConstraintSet.add(constraint2)
        }
    
        void "can use dynamic method to add multiple dependency constraint from nested lists"() {
            def constraint1 = Mock(DependencyConstraint)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependencyConstraintHandlerScope.kt

            constraints.add(this, dependencyConstraintNotation)
    
        /**
         * Adds a dependency constraint to the given configuration.
         *
         * @param dependencyConstraintNotation notation for the dependency constraint to be added.
         * @param configuration expression to use to configure the dependency constraint.
         * @return The dependency constraint.
         * @see [DependencyConstraintHandler.add]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 06:41:25 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecs.java

            protected final List<Object> constraints;
    
            public RecursiveOrderSpec(List<Object> constraints) {
                this.constraints = constraints;
            }
    
            protected int checkConstraint(Object constraint, int lastIndex, List<String> executedTaskPaths) {
                int index;
                if (constraint instanceof String) {
                    index = executedTaskPaths.indexOf(constraint);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      // Collect `dst_root` constraints that are applicable to the values defined in
      // the `src_root` cluster.
      ValuesConstraintSet constraints = members[src_root].constraints;
      members[dst_root].constraints.Walk([&](Value v, ValueConstraint constraint) {
        Operation *op = v.getDefiningOp();
        if (op && filter(op)) constraints.Insert(v, constraint);
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsIntegrationTest.groovy

                }
            }
        }
    
        def "a strict constraint wins over a nested strict constraint"() {
            boolean publishedConstraintsSupported = gradleMetadataPublished
    
            given:
            repository {
                'org:a:1.0' {
                    dependsOn(group: 'org', artifact: 'b', version: '1.0')
                    constraint(group: 'org', artifact: 'c', strictly: '2.0')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/EndorseStrictVersionsIntegrationTest.groovy

            given:
            repository {
                'org:platform:1.0'() {
                    constraint(group: 'org', artifact: 'bar', version: '1.0')
                    constraint(group: 'org', artifact: 'foo', strictly: '1.0')
                }
                'org:platform:2.0'() {
                    constraint(group: 'org', artifact: 'bar', version: '1.0')
                    constraint(group: 'org', artifact: 'foo', version: '1.0')
                }
                'org:foo:1.0'()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/PublishedDependencyConstraintsIntegrationTest.groovy

                        if (available) {
                            if (GradleMetadataResolveRunner.gradleMetadataPublished) {
                                constraint("org:foo:1.1", "org:foo:1.1").byConstraint('published dependency constraint')
                            } else {
                                constraint("org:foo:1.1", "org:foo:1.1")
                            }
                        }
                    }
                    if (available) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionsInPlatformCentricDevelopmentIntegrationTest.groovy

            PLATFORM,          // constraints in platform are published with strict constraints, consumer uses 'platform()' dependencies
            // The recommended way of dealing with existing platforms
            LEGACY_PLATFORM,   // constraints in platform are published without strict constraints, consumer uses 'platform()' dependencies + component metadata rules to make all published constraints strict
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top