Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrRange (0.09 sec)

  1. src/net/http/h2_bundle.go

    			goto Error
    		}
    
    		if n >= cutoff {
    			// n*base overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n *= uint64(base)
    
    		n1 := n + uint64(v)
    		if n1 < n || n1 > maxVal {
    			// n+v overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n = n1
    	}
    
    	return n, nil
    
    Error:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    		// we don't need to worry about partial overlaps. The two Ts must either be
    		// in disjoint (nonoverlapping) memory or in exactly the same location.
    		// There are 2 cases where this isn't true:
    		//  1) Using unsafe you can arrange partial overlaps.
    		//  2) Since Go 1.17, you can use a cast from a slice to a ptr-to-array.
    		//     https://go.dev/ref/spec#Conversions_from_slice_to_array_pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top