Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 338 for Constraint (0.34 sec)

  1. tests/table_test.go

    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    			t.Fatalf("failed to find unique constraint, got %v", constraints)
    		}
    
    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    	t.Run("naming strategy", func(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    			implicit = r.bool()
    		}
    		constraint := r.typ()
    		if implicit {
    			iface, _ := constraint.(*types.Interface)
    			if iface == nil {
    				errorf("non-interface constraint marked implicit")
    			}
    			iface.MarkImplicit()
    		}
    		// The constraint type may not be complete, if we
    		// are in the middle of a type recursion involving type
    		// constraints. So, we defer SetConstraint until we have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    			// Nodes which don't have all required topologyKeys present are ignored
    			// when scoring later.
    			s.IgnoredNodes.Insert(node.Node().Name)
    			continue
    		}
    		for i, constraint := range s.Constraints {
    			// per-node counts are calculated during Score.
    			if constraint.TopologyKey == v1.LabelHostname {
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    class ValueEquals<string val> : Constraint<CPred<"ValueEquals($0, " # val # ")">>;
    def ValueGreaterThanZero : Constraint<CPred<"ValueGreaterThanZero($0)">>;
    def ValueIsReciprocal : Constraint<CPred<"ValueIsReciprocal($0, $1)">>;
    def TensorIsSign : Constraint<CPred<"TensorIsSign($_builder, $0, $1)">>;
    def SameValue : Constraint<CPred<"$0 == $1">>;
    def FloatOrDefaultCompare : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/go/types/instantiate.go

    // is called through an exported API call such as AssignableTo. If constraint
    // is set, T is a type constraint.
    //
    // If the provided cause is non-nil, it may be set to an error string
    // explaining why V does not implement (or satisfy, for constraints) T.
    func (check *Checker) implements(pos token.Pos, V, T Type, constraint bool, cause *string) bool {
    	Vu := under(V)
    	Tu := under(T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    // is called through an exported API call such as AssignableTo. If constraint
    // is set, T is a type constraint.
    //
    // If the provided cause is non-nil, it may be set to an error string
    // explaining why V does not implement (or satisfy, for constraints) T.
    func (check *Checker) implements(pos syntax.Pos, V, T Type, constraint bool, cause *string) bool {
    	Vu := under(V)
    	Tu := under(T)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

                    }
                }
            }
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    constraint("org:foo:{prefer 1.0.0}", "org:foo:1.1.0")
                    constraint("org:foo:{prefer 1.1.0}", "org:foo:1.1.0")
                    edge("org:foo:[1.0.0,2.0.0)", "org:foo:1.1.0") {
                        notRequested()
                        byConstraint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def OneElementAttr
      : ElementsAttrBase<And<[ElementsAttr.predicate, OneElementAttrPred]>,
                         "Scalar ElementsAttr">;
    
    def HasRankedFirstOperand
      : Constraint<CPred<"(*$0.begin()).getType().isa<RankedTensorType>()">>;
    
    def IsShapedTensor
      : Constraint<CPred<"$0.getType().isa<RankedTensorType>()">>;
    
    // This pattern converts TensorFlow axis format to HLO axis format which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. src/go/build/constraint/expr.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package constraint implements parsing and evaluation of build constraint lines.
    // See https://golang.org/cmd/go/#hdr-Build_constraints for documentation about build constraints themselves.
    //
    // This package parses both the original “// +build” syntax and the “//go:build” syntax that was added in Go 1.17.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

             * Defines a link between nodes created through a dependency constraint.
             */
            NodeBuilder constraint(String requested, String selectedModuleVersionId = requested, @DelegatesTo(NodeBuilder) Closure cl = {}) {
                def node = graph.moduleNode(selectedModuleVersionId)
                def edge = new EdgeBuilder(this, requested, node)
                edge.constraint = true
                deps << edge
                applyTo(node, cl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top