Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 301 for Constraint (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilder.java

    public class ResolutionResultGraphBuilder implements ResolvedComponentVisitor {
        private static final DefaultComponentSelectionDescriptor DEPENDENCY_LOCKING = new DefaultComponentSelectionDescriptor(ComponentSelectionCause.CONSTRAINT, Describables.of("Dependency locking"));
        private final Long2ObjectMap<DefaultResolvedComponentResult> components = new Long2ObjectOpenHashMap<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/cmp/cmp.go

    // Package cmp provides types and functions related to comparing
    // ordered values.
    package cmp
    
    // Ordered is a constraint that permits any ordered type: any type
    // that supports the operators < <= >= >.
    // If future releases of Go add new ordered types,
    // this constraint will be modified to include them.
    //
    // Note that floating-point types may contain NaN ("not-a-number") values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td

    class IsBoolAttrEqual<string true_or_false> : Constraint<CPred<
      "$0.getValue() == "#true_or_false#"">>;
    
    // Receives a composite DictionaryAttr as an argument and checks if one of the
    // its attributes (with the name `attr_name`) is of type `attribute` and has
    // the value `val`.
    class IsCompositeAttribute<string attr_name, Attr attribute, string val>:
      Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/infer.go

    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    						err.addf(pos, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
    						return nil
    					}
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // satisfied by SAME or VALID tensorflow padding.
    def HasCustomPadding:
      Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
    
    // Returns true if the provided padding in the composite op can be satisfied 
    // by SAME or VALID tensorflow padding.
    def HasSameOrValidPadding: Constraint<Neg<HasCustomPadding.predicate>>;
    
    // See the function doc in the header file.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/go/types/infer.go

    					var cause string
    					constraint := tpar.iface()
    					if m, _ := check.missingMethod(tx, constraint, true, func(x, y Type) bool { return u.unify(x, y, exact) }, &cause); m != nil {
    						// TODO(gri) better error message (see TODO above)
    						err.addf(posn, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
    						return nil
    					}
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. src/crypto/x509/verify_test.go

    		result, err := matchDomainConstraint(test.domain, test.constraint)
    
    		if err != nil && !test.expectError {
    			t.Errorf("unexpected error for test #%d: domain=%s, constraint=%s, err=%s", i, test.domain, test.constraint, err)
    			continue
    		}
    
    		if err == nil && test.expectError {
    			t.Errorf("unexpected success for test #%d: domain=%s, constraint=%s", i, test.domain, test.constraint)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  8. src/go/types/typexpr.go

    				if tset.comparable {
    					check.softErrorf(e, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ)
    				} else {
    					check.softErrorf(e, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface contains type constraints", typ)
    				}
    			}
    		}
    	}).describef(e, "check var type %s", typ)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/typexpr.go

    				if tset.comparable {
    					check.softErrorf(pos, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface is (or embeds) comparable", typ)
    				} else {
    					check.softErrorf(pos, MisplacedConstraintIface, "cannot use type %s outside a type constraint: interface contains type constraints", typ)
    				}
    			}
    		}
    	}).describef(e, "check var type %s", typ)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

                        (TFL_HardSwishOp $input)>;
    
    def IsNchwLayoutOp: Constraint<CPred<
      "$0.get(\"is_nchw_op\") && $0.get(\"is_nchw_op\").dyn_cast<BoolAttr>() "
          "== mlir::BoolAttr::get($_builder.getContext(), true)">>;
    
    def IsNhwcLayoutOp: Constraint<Neg<IsNchwLayoutOp.predicate>>;
    
    // TODO(b/343278954): Move the creation of transposes to a separate prepare pass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top