Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 101 for underflow (0.23 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    		if framesize > abi.StackBig {
    			// Such a large stack we need to protect against underflow.
    			// The runtime guarantees SP > objabi.StackBig, but
    			// framesize is large enough that SP-framesize may
    			// underflow, causing a direct comparison with the
    			// stack guard to incorrectly succeed. We explicitly
    			// guard against underflow.
    			//
    			//	MOV	$(framesize-StackSmall), X7
    			//	BLTU	SP, X7, label-of-call-to-morestack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    // Returns true if the bucket was valid, otherwise returns the counts
    // for the overflow bucket if bucket > 0 or the underflow bucket if
    // bucket < 0, and false.
    func (th *TimeHistogram) Count(bucket, subBucket int) (uint64, bool) {
    	t := (*timeHistogram)(th)
    	if bucket < 0 {
    		return t.underflow.Load(), false
    	}
    	i := bucket*TimeHistNumSubBuckets + subBucket
    	if i >= len(t.counts) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. src/math/bits/bits.go

    //
    // This function's execution time does not depend on the inputs.
    func Sub32(x, y, borrow uint32) (diff, borrowOut uint32) {
    	diff = x - y - borrow
    	// The difference will underflow if the top bit of x is not set and the top
    	// bit of y is set (^x & y) or if they are the same (^(x ^ y)) and a borrow
    	// from the lower place happens. If that borrow happens, the result will be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * threads take special action by participating in the signal-passing game.
       */
    
      /*
       * Timeout handling is intricate, especially given our ambitious goals:
       * - Avoid underflow and overflow of timeout values when specified timeouts are close to
       *   Long.MIN_VALUE or Long.MAX_VALUE.
       * - Favor responding to interrupts over timeouts.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

       * threads take special action by participating in the signal-passing game.
       */
    
      /*
       * Timeout handling is intricate, especially given our ambitious goals:
       * - Avoid underflow and overflow of timeout values when specified timeouts are close to
       *   Long.MIN_VALUE or Long.MAX_VALUE.
       * - Favor responding to interrupts over timeouts.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  6. src/math/all_test.go

    	1.0000000037252903,
    	4.2e-322,
    }
    
    var vfexp2SC = []float64{
    	Inf(-1),
    	-2000,
    	2000,
    	Inf(1),
    	NaN(),
    	// smallest float64 that overflows Exp2(x)
    	1024,
    	// near underflow
    	-1.07399999999999e+03,
    	// near zero
    	3.725290298461915e-09,
    }
    var exp2SC = []float64{
    	0,
    	0,
    	Inf(1),
    	Inf(1),
    	NaN(),
    	Inf(1),
    	5e-324,
    	1.0000000025821745,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  7. src/math/big/int.go

    }
    
    // Rsh sets z = x >> n and returns z.
    func (z *Int) Rsh(x *Int, n uint) *Int {
    	if x.neg {
    		// (-x) >> s == ^(x-1) >> s == ^((x-1) >> s) == -(((x-1) >> s) + 1)
    		t := z.abs.sub(x.abs, natOne) // no underflow because |x| > 0
    		t = t.shr(t, n)
    		z.abs = t.add(t, natOne)
    		z.neg = true // z cannot be zero if x is negative
    		return z
    	}
    
    	z.abs = z.abs.shr(x.abs, n)
    	z.neg = false
    	return z
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/go/types/expr.go

    			check.error(&y, DivByZero, invalidOp+"division by zero")
    			x.mode = invalid
    			return
    		}
    
    		// check for divisor underflow in complex division (see go.dev/issue/20227)
    		if x.mode == constant_ && y.mode == constant_ && isComplex(x.typ) {
    			re, im := constant.Real(y.val), constant.Imag(y.val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  9. src/crypto/tls/conn.go

    type atLeastReader struct {
    	R io.Reader
    	N int64
    }
    
    func (r *atLeastReader) Read(p []byte) (int, error) {
    	if r.N <= 0 {
    		return 0, io.EOF
    	}
    	n, err := r.R.Read(p)
    	r.N -= int64(n) // won't underflow unless len(p) >= n > 9223372036854775809
    	if r.N > 0 && err == io.EOF {
    		return n, io.ErrUnexpectedEOF
    	}
    	if r.N <= 0 && err == nil {
    		return n, io.EOF
    	}
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrIntegerOverflow: {
    		Code:           "IntegerOverflow",
    		Description:    "Int overflow or underflow in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLikeInvalidInputs: {
    		Code:           "LikeInvalidInputs",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
Back to top