- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 231 for Constraint (0.58 sec)
-
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) -
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) -
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) -
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) -
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) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/GradleDependencyMetadata.java
private final List<ExcludeMetadata> excludes; private final boolean constraint; private final boolean endorsing; private final String reason; private final boolean force; private final List<IvyArtifactName> artifacts;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/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 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
def AreTheSameElementType : Constraint< CPred<"$0.getType() == $1.getType()">>; // Checks if the given two values are the same. def AreTheSameValue : Constraint< CPred<"$0 == $1">>; // Checks if the value has rank. def HasRank : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank()">>; // Checks if the value has rank of `n`. class HasRankOf<int n> : Constraint<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
goBuildPos token.Pos // position of first go:build line found plusBuildPos token.Pos // position of first "+build" line found goBuild constraint.Expr // go:build constraint found plusBuild constraint.Expr // AND of +build constraints found } func (check *checker) init(pass *analysis.Pass) { check.pass = pass check.goBuildOK = true check.plusBuildOK = true check.crossCheck = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
schema/constraint_test.go
results := map[string]schema.CheckConstraint{ "name_checker": { Name: "name_checker", Constraint: "name <> 'jinzhu'", }, "chk_user_checks_name2": { Name: "chk_user_checks_name2", Constraint: "name <> 'jinzhu'", }, "chk_user_checks_name3": { Name: "chk_user_checks_name3", Constraint: "name <> 'jinzhu'", }, } checks := user.ParseCheckConstraints()
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 2.2K bytes - Viewed (0)