Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. migrator/migrator.go

    						if rel.Field.IgnoreMigration {
    							continue
    						}
    						if constraint := rel.ParseConstraint(); constraint != nil &&
    							constraint.Schema == stmt.Schema && !queryTx.Migrator().HasConstraint(value, constraint.Name) {
    							if err := execTx.Migrator().CreateConstraint(value, constraint.Name); err != nil {
    								return err
    							}
    						}
    					}
    				}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy

            ':myPath'   | 'myLib'
            ':myPath'   | null
            ':myPath'   | 'myLib'
        }
    
        def "serializes version constraint"() {
            given:
            ModuleComponentSelector selection = DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId('group-one', 'name-one'), constraint('req', 'pref', 'strict', ['rej']))
    
            when:
            ModuleComponentSelector result = serialize(selection, serializer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/CachingDependencyResultFactory.java

                                                                     ComponentSelectionReason reason, ModuleVersionResolveException failure) {
            List<Object> key = asList(requested, from, constraint);
            if (!unresolvedDependencies.containsKey(key)) {
                unresolvedDependencies.put(key, new DefaultUnresolvedDependencyResult(requested, constraint, reason, from, failure));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/go/build/constraint/expr_test.go

    	{"// +build x y \n ", nil, "not a build constraint"},
    	{"// +build x y \nmore", nil, "not a build constraint"},
    	{" //+build x y", nil, "not a build constraint"},
    
    	{"//go:build x && y", and(tag("x"), tag("y")), ""},
    	{"//go:build x && y\n", and(tag("x"), tag("y")), ""},
    	{"//go:build x && y\n ", nil, "not a build constraint"},
    	{"//go:build x && y\nmore", nil, "not a build constraint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 18 22:36:55 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

        @Nonnull
        VersionRange parseVersionRange(@Nonnull String range);
    
        /**
         * Parses the specified version constraint specification, for example "1.0" or "[1.0,2.0)".
         *
         * @param constraint the constraint specification to parse, must not be {@code null}
         * @return the parsed version constraint, never {@code null}
         * @throws VersionParserException if the range specification violates the syntax rules of this scheme
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintFactory.java

         *
         * <p>
         * Note that no classifier or extension is accepted here.
         * </p>
         *
         * @param dependencyConstraintNotation the dependency constraint notation
         * @return the new dependency constraint
         * @since 8.7
         */
        DependencyConstraint create(CharSequence dependencyConstraintNotation);
    
        /**
         * Create a {@link DependencyConstraint} from a series of strings.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    class FloatValueEquals<string val> : Constraint<CPred<
      "FloatValueEquals($0, " # val # ")">>;
    
    class IsBoolAttrEqual<string true_or_false> : Constraint<CPred<
      "$0.getValue() == "#true_or_false#"">>;
    
    // Flattens a constant tensor to 1D.
    def FlattenTo1D : NativeCodeCall<"FlattenTo1D($0)">;
    
    def HasOneUse : Constraint<CPred<"$0.hasOneUse()">>;
    
    def HasSameStaticShapes : Constraint<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultImmutableVersionConstraintTest.groovy

        }
    
        def "doesn't create a copy of an already immutable version constraint"() {
            given:
            def v = new DefaultImmutableVersionConstraint('1.0')
    
            when:
            def c = DefaultImmutableVersionConstraint.of(v)
    
            then:
            v.is(c)
        }
    
        def "can convert mutable version constraint to immutable version constraint"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/idea_default.xml

            <constraint name="dir" within="" contains="" />
          </replaceConfiguration>
          <searchConfiguration name="Use RecursionManager?" text="class $Class$ { &#10;  ThreadLocal&lt;$FieldType$&gt; $FieldName$ = $Init$;&#10;}" recursive="false" caseInsensitive="false" type="JAVA">
            <constraint name="Class" script="&quot;&quot;" within="" contains="" />
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 09 20:59:03 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  10. src/go/parser/testdata/tparams.go2

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type _[a, b] /* ERROR "missing type constraint" */ struct{}
    type _[a t, b t, c]  /* ERROR "missing type constraint" */ struct{}
    type _ struct {
    	t [n]byte
    	t[a]
    	t[a,]
    	t[a, b]
    	t[a, b,]
    }
    type _ struct {
    	t [n, /* ERROR "unexpected comma; expecting ]" */ ]byte
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top