Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 596 for Constraint (0.14 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. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy

            javaPlatform.assertPublished()
            javaPlatform.parsedModuleMetadata.variant("apiElements") {
                constraint("org.test:foo:1.0")
                noMoreDependencies()
            }
            javaPlatform.parsedModuleMetadata.variant("runtimeElements") {
                constraint("org.test:foo:1.0")
                constraint("org.test:bar:1.0")
                noMoreDependencies()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. src/internal/trace/event/requirements.go

    package event
    
    // SchedReqs is a set of constraints on what the scheduling
    // context must look like.
    type SchedReqs struct {
    	Thread    Constraint
    	Proc      Constraint
    	Goroutine Constraint
    }
    
    // Constraint represents a various presence requirements.
    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyConstraintTest.groovy

        def "can copy project dependency constraint"() {
            setup:
            DefaultProjectDependencyConstraint constraint = createProjectDependencyConstraint()
            constraint.force = true
            constraint.reason = "reason"
    
            when:
            def constraintCopy = constraint.copy()
    
            then:
            constraintCopy.group == constraint.group
            constraintCopy.name == constraint.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorIntegrationTest.groovy

                ${createDependenciesAndConfiguration()}
    
                dependencies {
                    implementation(constraint("com:foo:1.0"))
                }
    
                def constraint = configurations.conf.dependencyConstraints.find { it.name == "foo" }
                constraint.version {
                    require("2.0")
                }
            """
    
            when:
            fails("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 00:10:09 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintHandler.java

        /**
         * Adds a dependency constraint to the given configuration, and configures the dependency constraint using the given closure.
         *
         * @param configurationName The name of the configuration.
         * @param dependencyNotation The dependency constraint notation
         * @param configureAction The closure to use to configure the dependency constraint.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 3.5K bytes
    - Viewed (0)
Back to top