Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for rounds (0.12 sec)

  1. tests/integration/telemetry/api/dashboard_test.go

    					// These calls are not under tests, the dashboards are, so we can be leniant here
    					log.Warnf("requests failed: %v", err)
    				}
    			}
    		case <-done:
    			scopes.Framework.Infof("done sending traffic after %v rounds", times)
    			return
    		}
    	}
    }
    
    // extractQueries pulls all prometheus queries out of a grafana dashboard
    // Rather than importing the entire grafana API just for this test, do some shoddy json parsing
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    // Negative numbers are rounded away from zero (-9 scale 1 rounds to -10).
    func (q *Quantity) RoundUp(scale Scale) bool {
    	if q.d.Dec != nil {
    		q.s = ""
    		d, exact := q.d.AsScale(scale)
    		q.d = d
    		return exact
    	}
    	// avoid clearing the string value if we have already calculated it
    	if q.i.scale >= scale {
    		return true
    	}
    	q.s = ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

      (TF_IdentityOp $input)>;
    
    // Implements TF Round on floats using basic operations. TF Round is specified
    // as RoundHalfToEven to be compatible with Numpy.
    def LowerRoundOpOnFloatTensor : Pat<
      (TF_RoundOp:$res TF_FloatTensor:$input),
      (TF_SelectV2Op
        (TF_EqualOp
          (TF_ConstOp:$zero (GetScalarOfFloatType<"0.0"> $input)),
          (TF_SelectV2Op:$rounded
            (TF_LogicalOrOp
              (TF_GreaterOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. src/net/tcpsock.go

    	ln, err := sl.listenTCP(context.Background(), laddr)
    	if err != nil {
    		return nil, &OpError{Op: "listen", Net: network, Source: nil, Addr: laddr.opAddr(), Err: err}
    	}
    	return ln, nil
    }
    
    // roundDurationUp rounds d to the next multiple of to.
    func roundDurationUp(d time.Duration, to time.Duration) time.Duration {
    	return (d + to - 1) / to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/crypto/tls/cipher_suites.go

    //
    //     The only potential advantages of AES-256 are better multi-target
    //     margins, and hypothetical post-quantum properties. Neither apply to
    //     TLS, and AES-256 is slower due to its four extra rounds (which don't
    //     contribute to the advantages above).
    //
    //   - ECDSA comes before RSA
    //
    //     The relative order of ECDSA and RSA cipher suites doesn't matter,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. src/crypto/md5/md5block_ppc64x.s

    	ROUND2(R4,R5,R22,R3,M15,0xd8a1e681,14);
    	ROUND2(R3,R4,R5,R22,M04,0xe7d3fbc8,20);
    	ROUND2(R22,R3,R4,R5,M09,0x21e1cde6, 5);
    	ROUND2(R5,R22,R3,R4,M14,0xc33707d6, 9);
    	ROUND2(R4,R5,R22,R3,M03,0xf4d50d87,14);
    	ROUND2(R3,R4,R5,R22,M08,0x455a14ed,20);
    	ROUND2(R22,R3,R4,R5,M13,0xa9e3e905, 5);
    	ROUND2(R5,R22,R3,R4,M02,0xfcefa3f8, 9);
    	ROUND2(R4,R5,R22,R3,M07,0x676f02d9,14);
    	ROUND2(R3,R4,R5,R22,M12,0x8d2a4c8a,20);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/math/rand/rand.go

    	// to 1<<63 that the division rounds up to 1.0, and we've guaranteed
    	// that the result is always less than 1.0.
    	//
    	// We tried to fix this by mapping 1.0 back to 0.0, but since float64
    	// values near 0 are much denser than near 1, mapping 1 to 0 caused
    	// a theoretically significant overshoot in the probability of returning 0.
    	// Instead of that, if we round up to 1, just try again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. src/time/time.go

    }
    
    // Round returns the result of rounding d to the nearest multiple of m.
    // The rounding behavior for halfway values is to round away from zero.
    // If the result exceeds the maximum (or minimum)
    // value that can be stored in a [Duration],
    // Round returns the maximum (or minimum) duration.
    // If m <= 0, Round returns d unchanged.
    func (d Duration) Round(m Duration) Duration {
    	if m <= 0 {
    		return d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    		adjustframe(&u.frame, &adjinfo)
    	}
    
    	// free old stack
    	if stackPoisonCopy != 0 {
    		fillstack(old, 0xfc)
    	}
    	stackfree(old)
    }
    
    // round x up to a power of 2.
    func round2(x int32) int32 {
    	s := uint(0)
    	for 1<<s < x {
    		s++
    	}
    	return 1 << s
    }
    
    // Called from runtime·morestack when more stack is needed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Round to integer, float64 only.
    	// Special cases:
    	//   ±∞  → ±∞ (sign preserved)
    	//   ±0  → ±0 (sign preserved)
    	//   NaN → NaN
    	{name: "Floor", argLength: 1},       // round arg0 toward -∞
    	{name: "Ceil", argLength: 1},        // round arg0 toward +∞
    	{name: "Trunc", argLength: 1},       // round arg0 toward 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top