Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for overflows (0.32 sec)

  1. src/runtime/map.go

    	// However, bmap.overflow is a pointer. In order to keep overflow buckets
    	// alive, we store pointers to all overflow buckets in hmap.extra.overflow and hmap.extra.oldoverflow.
    	// overflow and oldoverflow are only used if key and elem do not contain pointers.
    	// overflow contains overflow buckets for hmap.buckets.
    	// oldoverflow contains overflow buckets for hmap.oldbuckets.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. src/time/time_test.go

    		sec := notMonoTime.Unix()
    		notMonoTime = notMonoTime.Add(Duration(i * 1e9))
    		if newSec := notMonoTime.Unix(); newSec != sec+i && newSec+UnixToInternal != maxInt64 {
    			t.Fatalf("time ext: %d overflows with positive delta, overflow threshold: %d", newSec, maxInt64)
    		}
    	}
    
    	// Test it with negative delta.
    	maxInt64 = -maxInt64
    	notMonoTime = NotMonoNegativeTime
    	for i := int64(0); i > -100; i-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/math/all_test.go

    	Inf(+1),
    	Inf(-1),
    	0,
    	NaN(),
    	NaN(),
    	NaN(),
    }
    
    var vfexpSC = []float64{
    	Inf(-1),
    	-2000,
    	2000,
    	Inf(1),
    	NaN(),
    	// smallest float64 that overflows Exp(x)
    	7.097827128933841e+02,
    	// Issue 18912
    	1.48852223e+09,
    	1.4885222e+09,
    	1,
    	// near zero
    	3.725290298461915e-09,
    	// denormal
    	-740,
    }
    var expSC = []float64{
    	0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/prove.go

    				//
    				// This is always correct, even in case of overflow.
    				//
    				// If the initial fact is x+delta >= w instead, the derived conditions are:
    				//    if min<max: min <= x AND x <= max
    				//    if min>max: min <= x OR  x <= max
    				//
    				// Notice the conditions for max are still <=, as they handle overflows.
    				var min, max int64
    				var vmin, vmax *Value
    				switch x.Type.Size() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  5. src/time/time.go

    		r = -r
    		if lessThanHalf(r, m) {
    			return d + r
    		}
    		if d1 := d - m + r; d1 < d {
    			return d1
    		}
    		return minDuration // overflow
    	}
    	if lessThanHalf(r, m) {
    		return d - r
    	}
    	if d1 := d + m - r; d1 > d {
    		return d1
    	}
    	return maxDuration // overflow
    }
    
    // Abs returns the absolute value of d.
    // As a special case, [math.MinInt64] is converted to [math.MaxInt64].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * Any object can be the result of a Future, and not every object has a reasonable toString()
       * implementation. Using a reconstruction of the default Object.toString() prevents OOMs and stack
       * overflows, and helps avoid sensitive data inadvertently ending up in exception messages.
       */
      private void appendResultObject(StringBuilder builder, @CheckForNull Object o) {
        if (o == null) {
          builder.append("null");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      /**
       * Any object can be the result of a Future, and not every object has a reasonable toString()
       * implementation. Using a reconstruction of the default Object.toString() prevents OOMs and stack
       * overflows, and helps avoid sensitive data inadvertently ending up in exception messages.
       */
      private void appendResultObject(StringBuilder builder, @CheckForNull Object o) {
        if (o == null) {
          builder.append("null");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  8. src/runtime/malloc.go

    // See go.dev/issue/67401.
    //
    //go:linkname newarray
    func newarray(typ *_type, n int) unsafe.Pointer {
    	if n == 1 {
    		return mallocgc(typ.Size_, typ, true)
    	}
    	mem, overflow := math.MulUintptr(typ.Size_, uintptr(n))
    	if overflow || mem > maxAlloc || n < 0 {
    		panic(plainError("runtime: allocation size out of range"))
    	}
    	return mallocgc(mem, typ, true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/runtime/mgcscavenge.go

    // completed successfully. One reason this might fail is if error has been growing
    // in an unbounded manner, to the point of overflow.
    //
    // In the specific case of an error overflow occurs, the errOverflow field will be
    // set and the rest of the controller's internal state will be fully reset.
    func (c *piController) next(input, setpoint, period float64) (float64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/css/manual.css

    	background: var(--nav-color);
    	overflow-y: scroll;
    	overflow-x: auto;
    }
    
    .layout {
    	display: flex;
    	flex-direction: column;
    	overflow: hidden;
    	height: 100vh;
    }
    
    .main-content {
    	overflow-y: auto;
    	overflow-x: auto;
    	display: flex;
    }
    
    .content {
    	flex: 1 1 auto;
    	overflow: auto;
    	padding-left: 0;
    	padding-right: 0;
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top