Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for overflows (0.34 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/time/format.go

    	i := 0
    	scale = 1
    	overflow := false
    	for ; i < len(s); i++ {
    		c := s[i]
    		if c < '0' || c > '9' {
    			break
    		}
    		if overflow {
    			continue
    		}
    		if x > (1<<63-1)/10 {
    			// It's possible for overflow to give a positive number, so take care.
    			overflow = true
    			continue
    		}
    		y := x*10 + uint64(c) - '0'
    		if y > 1<<63 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  10. src/go/types/expr.go

    			// If we reach here it's because of number under-/overflow.
    			// TODO(gri) setConst (and in turn the go/constant package)
    			// should return an error describing the issue.
    			check.errorf(e, InvalidConstVal, "malformed constant: %s", e.Value)
    			goto Error
    		}
    		// Ensure that integer values don't overflow (go.dev/issue/54280).
    		check.overflow(x, e.Pos())
    
    	case *ast.FuncLit:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top