Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sum (0.12 sec)

  1. common-protos/k8s.io/api/core/v1/generated.proto

      // most preferred is the one with the greatest sum of weights, i.e.
      // for each node that meets all of the scheduling requirements (resource
      // request, requiredDuringScheduling affinity expressions, etc.),
      // compute a sum by iterating through the elements of this field and adding
      // "weight" to the sum if the node matches the corresponding matchExpressions; the
      // node(s) with the highest sum are the most preferred.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <pre>
    // sum returns the sum (concatenation, for strings) of its arguments.
    func sum[T ~int | ~float64 | ~string](x... T) T { … }
    
    x := sum                       // illegal: the type of x is unknown
    intSum := sum[int]             // intSum has type func(x... int) int
    a := intSum(2, 3)              // a has value 5 of type int
    b := sum[float64](2.0, 3)      // b has value 5.0 of type float64
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top