Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for underflow (0.15 sec)

  1. src/internal/abi/stack.go

    	// beyond the stack guard.
    	StackSmall = 128
    
    	// Functions that need frames <= StackBig can assume that neither
    	// SP-framesize nor stackGuard-StackSmall will underflow, and thus use a
    	// more efficient check. In order to ensure this, StackBig must be <= the
    	// size of the unmapped space at zero.
    	StackBig = 4096
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/math/ldexp.go

    	case IsInf(frac, 0) || IsNaN(frac):
    		return frac
    	}
    	frac, e := normalize(frac)
    	exp += e
    	x := Float64bits(frac)
    	exp += int(x>>shift)&mask - bias
    	if exp < -1075 {
    		return Copysign(0, frac) // underflow
    	}
    	if exp > 1023 { // overflow
    		if frac < 0 {
    			return Inf(-1)
    		}
    		return Inf(1)
    	}
    	var m float64 = 1
    	if exp < -1022 { // denormal
    		exp += 53
    		m = 1.0 / (1 << 53) // 2**-53
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

              // Not enough room in output buffer--drain it, creating a bigger buffer if necessary.
              startDraining(true);
              continue DRAINING;
            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ReaderInputStream.java

              // Not enough room in output buffer--drain it, creating a bigger buffer if necessary.
              startDraining(true);
              continue DRAINING;
            } else if (result.isUnderflow()) {
              // If encoder underflows, it means either:
              // a) the final flush() succeeded; next drain (then done)
              // b) we encoded all of the input; next flush
              // c) we ran of out input to encode; next read more input
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. test/abi/idata.go

    func (x ratVal) String() string   { return rtof(x).String() }
    
    func (x floatVal) String() string {
    	f := x.val
    
    	// Use exact fmt formatting if in float64 range (common case):
    	// proceed if f doesn't underflow to 0 or overflow to inf.
    	if x, _ := f.Float64(); f.Sign() == 0 == (x == 0) && !math.IsInf(x, 0) {
    		return fmt.Sprintf("%.6g", x)
    	}
    
    	return "OOPS"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 05 20:11:08 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. test/typeparam/issue50561.dir/diameter.go

    }
    
    type Try[T any] struct {
    	v   *T
    	err error
    }
    
    func (r Try[T]) IsSuccess() bool {
    	return r.v != nil
    }
    
    type ByteBuffer struct {
    	pos       int
    	buf       []byte
    	underflow error
    }
    
    // InboundHandler is extends of uclient.NetInboundHandler
    type InboundHandler interface {
    	OriginHost() string
    	OriginRealm() string
    }
    
    type transactionID struct {
    	hopID uint32
    	endID uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 22:58:24 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. internal/s3select/sql/value_test.go

    			fields: fields{
    				value: []byte("9223372036854775808"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MaxInt64,
    			wantOK: false,
    		},
    		{
    			name: "min-underflow",
    			fields: fields{
    				value: []byte("-9223372036854775809"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MinInt64,
    			wantOK: false,
    		},
    		{
    			name: "zerospace",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go

    	}
    	return true
    }
    
    // Sub removes the value of b from the current amount, or returns false if underflow would result.
    func (a *int64Amount) Sub(b int64Amount) bool {
    	return a.Add(int64Amount{value: -b.value, scale: b.scale})
    }
    
    // Mul multiplies the provided b to the current amount, or
    // returns false if overflow or underflow would result.
    func (a *int64Amount) Mul(b int64) bool {
    	switch {
    	case a.value == 0:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. src/math/cmplx/sqrt.go

    			return complex(r, -r)
    		}
    		r := math.Sqrt(0.5 * imag(x))
    		return complex(r, r)
    	}
    	a := real(x)
    	b := imag(x)
    	var scale float64
    	// Rescale to avoid internal overflow or underflow.
    	if math.Abs(a) > 4 || math.Abs(b) > 4 {
    		a *= 0.25
    		b *= 0.25
    		scale = 2
    	} else {
    		a *= 1.8014398509481984e16 // 2**54
    		b *= 1.8014398509481984e16
    		scale = 7.450580596923828125e-9 // 2**-27
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 3K bytes
    - Viewed (0)
  10. src/crypto/internal/bigmod/nat.go

    //
    // x and m operands must have the same announced length.
    func (x *Nat) maybeSubtractModulus(always choice, m *Modulus) {
    	t := NewNat().set(x)
    	underflow := t.sub(m.nat)
    	// We keep the result if x - m didn't underflow (meaning x >= m)
    	// or if always was set.
    	keep := not(choice(underflow)) | choice(always)
    	x.assign(keep, t)
    }
    
    // Sub computes x = x - y mod m.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top