Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 113 for overflows (0.3 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/cap_freebsd.go

    		if caprver(right) != CAP_RIGHTS_VERSION_00 {
    			return errors.New("bad right version")
    		}
    		i, err := rightToIndex(right)
    		if err != nil {
    			return err
    		}
    		if i >= n {
    			return errors.New("index overflow")
    		}
    		if capidxbit(rights.Rights[i]) != capidxbit(right) {
    			return errors.New("index mismatch")
    		}
    		rights.Rights[i] |= right
    		if capidxbit(rights.Rights[i]) != capidxbit(right) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

        }
    
        private static boolean detectOverflow(DaemonFixture daemon, long fromLine) {
            boolean overflowDetected = daemon.logContains(fromLine, FileWatcherRegistry.Type.OVERFLOW.toString())
            if (overflowDetected) {
                println "Detected overflow in watcher, no files will be retained for the next build"
            }
            overflowDetected
        }
    
        private static void waitBetweenChangesToAvoidOverflow() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. src/math/bits/bits_errors_bootstrap.go

    package bits
    
    type errorString string
    
    func (e errorString) RuntimeError() {}
    
    func (e errorString) Error() string {
    	return "runtime error: " + string(e)
    }
    
    var overflowError = error(errorString("integer overflow"))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 592 bytes
    - Viewed (0)
  4. src/debug/dwarf/typeunit.go

    	b := makeBuf(d, unknownFormat{}, name, 0, types)
    	for len(b.data) > 0 {
    		base := b.off
    		n, dwarf64 := b.unitLength()
    		if n != Offset(uint32(n)) {
    			b.error("type unit length overflow")
    			return b.err
    		}
    		hdroff := b.off
    		vers := int(b.uint16())
    		if vers != 4 {
    			b.error("unsupported DWARF version " + strconv.Itoa(vers))
    			return b.err
    		}
    		var ao uint64
    		if !dwarf64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/checkptr.go

    		throw("checkptr: misaligned pointer conversion")
    	}
    
    	// Check that (*[n]elem)(p) doesn't straddle multiple heap objects.
    	// TODO(mdempsky): Fix #46938 so we don't need to worry about overflow here.
    	if checkptrStraddles(p, n*elem.Size_) {
    		throw("checkptr: converted pointer straddles multiple allocations")
    	}
    }
    
    // checkptrStraddles reports whether the first size-bytes of memory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/image/color/color.go

    	// values operations with respect to overflow/wrap around:
    	//
    	// > For unsigned integer values, the operations +, -, *, and << are
    	// > computed modulo 2n, where n is the bit width of the unsigned
    	// > integer's type. Loosely speaking, these unsigned integer operations
    	// > discard high bits upon overflow, and programs may rely on ``wrap
    	// > around''.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. src/runtime/msize.go

    		}
    		return uintptr(class_to_size[size_to_class128[divRoundUp(reqSize-smallSizeMax, largeSizeDiv)]]) - (reqSize - size)
    	}
    	// Large object. Align reqSize up to the next page. Check for overflow.
    	reqSize += pageSize - 1
    	if reqSize < size {
    		return size
    	}
    	return reqSize &^ (pageSize - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/runtime/align_runtime_test.go

    // operations (all the *64 operations in internal/runtime/atomic).
    var AtomicFields = []uintptr{
    	unsafe.Offsetof(m{}.procid),
    	unsafe.Offsetof(p{}.gcFractionalMarkTime),
    	unsafe.Offsetof(profBuf{}.overflow),
    	unsafe.Offsetof(profBuf{}.overflowTime),
    	unsafe.Offsetof(heapStatsDelta{}.tinyAllocCount),
    	unsafe.Offsetof(heapStatsDelta{}.smallAllocCount),
    	unsafe.Offsetof(heapStatsDelta{}.smallFreeCount),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/math/ldexp.go

    		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
    	}
    	x &^= mask << shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go

    	}
    	return positiveScaleInt64(a.value, a.scale)
    }
    
    // AsScaledInt64 returns an int64 representing the value of this amount at the specified scale,
    // rounding up, or false if that would result in overflow. (1e20).AsScaledInt64(1) would result
    // in overflow because 1e19 is not representable as an int64. Note that setting a scale larger
    // than the current value may result in loss of precision - i.e. (1e-6).AsScaledInt64(0) would
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top