Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 224 for Constraint (0.15 sec)

  1. src/internal/types/errors/codes.go

    	// not valid.
    	//
    	// Example:
    	//  type _ interface {
    	//   	~int | interface{ m() }
    	//  }
    	InvalidUnion
    
    	// MisplacedConstraintIface occurs when a constraint-type interface is used
    	// outside of constraint position.
    	//
    	// Example:
    	//   type I interface { ~int }
    	//
    	//   var _ I
    	MisplacedConstraintIface
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	policyMeta, err := meta.Accessor(policySpec)
    	if err != nil {
    		// This should not happen if P, and B have ObjectMeta, but
    		// unfortunately there is no way to express "able to call
    		// meta.Accessor" as a type constraint
    		utilruntime.HandleError(err)
    		var emptyEvaluator E
    		return emptyEvaluator
    	}
    	key := types.NamespacedName{
    		Namespace: policyMeta.GetNamespace(),
    		Name:      policyMeta.GetName(),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        if (expected_params == compared_params) continue;
        // If the quantization parameters are not the same, as long as it has the
        // same storage type and the op interface doesn't require same scale
        // constraint for this storage type, it is still ok.
        if (expected_params.isSigned() == compared_params.isSigned() &&
            expected_params.getStorageTypeIntegralWidth() ==
                compared_params.getStorageTypeIntegralWidth() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/mvs/mvs.go

    		panic(fmt.Sprintf("mistake: chose versions %+v instead of targets %+v", vs, targets))
    	}
    	return list, nil
    }
    
    // Req returns the minimal requirement list for the target module,
    // with the constraint that all module paths listed in base must
    // appear in the returned list.
    func Req(mainModule module.Version, base []string, reqs Reqs) ([]module.Version, error) {
    	list, err := BuildList([]module.Version{mainModule}, reqs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/size.go

    			if f.Type.NotInHeap() {
    				t.SetNotInHeap(true)
    			}
    		}
    
    		offset += f.Type.width
    
    		maxwidth := MaxWidth
    		// On 32-bit systems, reflect tables impose an additional constraint
    		// that each field start offset must fit in 31 bits.
    		if maxwidth < 1<<32 {
    			maxwidth = 1<<31 - 1
    		}
    		if offset >= maxwidth {
    			base.ErrorfAt(typePos(t), 0, "type %L too large", t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. pkg/api/pod/util.go

    func hasInvalidTopologySpreadConstraintLabelSelector(spec *api.PodSpec) bool {
    	for _, constraint := range spec.TopologySpreadConstraints {
    		errs := metavalidation.ValidateLabelSelector(constraint.LabelSelector, metavalidation.LabelSelectorValidationOptions{AllowInvalidLabelValueInSelector: false}, nil)
    		if len(errs) != 0 {
    			return true
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    * Unlike the top-level `dependencies` block, constraints are not in a separate block.
    ** Instead, constraints are added by decorating a dependency with `constraint(...)` like `implementation(constraint("org:foo:1.0"))`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/schedule.go

    			}
    			if score[c.ID] == ScoreReadTuple {
    				score[c.Args[0].ID] = ScoreControl
    				continue
    			}
    			score[c.ID] = ScoreControl
    		}
    	}
    	priq.score = score
    
    	// An edge represents a scheduling constraint that x must appear before y in the schedule.
    	type edge struct {
    		x, y *Value
    	}
    	edges := make([]edge, 0, 64)
    
    	// inEdges is the number of scheduling edges incoming from values that haven't been scheduled yet.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

                  "Invalid input list: type mismatch the op def expectation");
        } else if (!inputs.empty()) {
          if (arg_def.type_attr().empty())
            return FailedPrecondition(
                "Invalid opdef type constraint: either type or type_attr required");
    
          attrs_[arg_def.type_attr()] =
              TypeAttr::get(cast<MlirTensor>(inputs.front())->getElementType());
        }
      } else if (!arg_def.type_list_attr().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    			if err != nil {
    				if errors.IsNotFound(err) {
    					continue
    				}
    				return fmt.Errorf("couldn't get pod which should be deleted due to scheduling constraints %q: %v", podToDeleteName, err)
    			}
    			logger.V(5).Info("DaemonSet pod on node should be deleted due to scheduling constraints", "daemonset", klog.KObj(ds), "pod", klog.KObj(podToDelete), "node", podToDelete.Spec.NodeName)
    			oldPodsToDelete = append(oldPodsToDelete, podToDeleteName)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top