Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for overflows (0.13 sec)

  1. src/compress/lzw/writer.go

    	order Order
    	write func(*Writer, uint32) error
    	nBits uint
    	width uint
    	bits  uint32
    	// hi is the code implied by the next code emission.
    	// overflow is the code at which hi overflows the code width.
    	hi, overflow uint32
    	// savedCode is the accumulated code at the end of the most recent Write
    	// call. It is equal to invalidCode if there was no such call.
    	savedCode uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/net/http/httptrace/trace.go

    		if of.IsNil() {
    			continue
    		}
    		if tf.IsNil() {
    			tf.Set(of)
    			continue
    		}
    
    		// Make a copy of tf for tf to call. (Otherwise it
    		// creates a recursive call cycle and stack overflows)
    		tfCopy := reflect.ValueOf(tf.Interface())
    
    		// We need to call both tf and of in some order.
    		newFunc := reflect.MakeFunc(hookType, func(args []reflect.Value) []reflect.Value {
    			tfCopy.Call(args)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/compress/lzw/reader.go

    	// with the upper bound incrementing on each code seen.
    	//
    	// overflow is the code at which hi overflows the code width. It always
    	// equals 1 << width.
    	//
    	// last is the most recently seen code, or decoderInvalidCode.
    	//
    	// An invariant is that hi < overflow.
    	clear, eof, hi, overflow, last uint16
    
    	// Each code c in [lo, hi] expands to two or more bytes. For c != hi:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    // than int32.
    // Deprecated: use FromInt32 instead.
    func FromInt(val int) IntOrString {
    	if val > math.MaxInt32 || val < math.MinInt32 {
    		klog.Errorf("value: %d overflows int32\n%s\n", val, debug.Stack())
    	}
    	return IntOrString{Type: Int, IntVal: int32(val)}
    }
    
    // FromInt32 creates an IntOrString object with an int32 value.
    func FromInt32(val int32) IntOrString {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    			pos, end := ret.Pos(), ret.End()
    			// golang/go#64547: cfg.Block.Return may return a synthetic
    			// ReturnStmt that overflows the file.
    			if pass.Fset.File(pos) != pass.Fset.File(end) {
    				end = pos
    			}
    			pass.Report(analysis.Diagnostic{
    				Pos:     pos,
    				End:     end,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/runtime/internal/math/math.go

    const MaxUintptr = ^uintptr(0)
    
    // MulUintptr returns a * b and whether the multiplication overflowed.
    // On supported platforms this is an intrinsic lowered by the compiler.
    func MulUintptr(a, b uintptr) (uintptr, bool) {
    	if a|b < 1<<(4*goarch.PtrSize) || a == 0 {
    		return a * b, false
    	}
    	overflow := b > MaxUintptr/a
    	return a * b, overflow
    }
    
    // Mul64 returns the 128-bit product of x and y: (hi, lo) = x * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:03:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun nonBasicCodePointInInsertionCoding() {
        assertNull(Punycode.decode("xn--cat-ñ3h"))
      }
    
      @Test fun unterminatedCodePoint() {
        assertNull(Punycode.decode("xn--cat-n"))
      }
    
      @Test fun overflowI() {
        assertNull(Punycode.decode("xn--99999999"))
      }
    
      @Test fun overflowMaxCodePoint() {
        assertNull(Punycode.decode("xn--a-b.net"))
        assertNull(Punycode.decode("xn--a-9b.net"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.css

    body {
      overflow: hidden; /* Want scrollbar not here, but in #stack-holder */
    }
    /* Scrollable container for flame graph */
    #stack-holder {
      width: 100%;
      flex-grow: 1;
      overflow-y: auto;
      background: #eee; /* Light grey gives better contrast with boxes */
      position: relative; /* Allows absolute positioning of child boxes */
    }
    /* Flame graph */
    #stack-chart {
      width: 100%;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/runtime/unsafe.go

    	if len < 0 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    
    	if et.Size_ == 0 {
    		if ptr == nil && len > 0 {
    			panicunsafeslicenilptr1(getcallerpc())
    		}
    	}
    
    	mem, overflow := math.MulUintptr(et.Size_, uintptr(len))
    	if overflow || mem > -uintptr(ptr) {
    		if ptr == nil {
    			panicunsafeslicenilptr1(getcallerpc())
    		}
    		panicunsafeslicelen1(getcallerpc())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/math/exp.go

    		Ln2Lo = 1.90821492927058770002e-10
    		Log2e = 1.44269504088896338700e+00
    
    		Overflow  = 7.09782712893383973096e+02
    		Underflow = -7.45133219101941108420e+02
    		NearZero  = 1.0 / (1 << 28) // 2**-28
    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case IsInf(x, -1):
    		return 0
    	case x > Overflow:
    		return Inf(1)
    	case x < Underflow:
    		return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top