Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for overflows (0.17 sec)

  1. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    		for i := 0; i < 100; i++ {
    			ips = append(ips, ip)
    		}
    	}
    }
    
    // ip4i was one of the possible representations of IP that came up in
    // discussions, inlining IPv4 addresses, but having an "overflow"
    // interface for IPv6 or IPv6 + zone. This is here for benchmarking.
    type ip4i struct {
    	ip4    [4]byte
    	flags1 byte
    	flags2 byte
    	flags3 byte
    	flags4 byte
    	ipv6   any
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. src/strings/strings_test.go

    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    	if !is64Bit {
    		return
    	}
    
    	runTestCases("64-bit", []testCase{
    		0: {"-", maxInt, "out of range"},
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.pb.go

    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 57K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.pb.go

    	}
    	return 0, io.ErrUnexpectedEOF
    }
    
    var (
    	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  6. src/fmt/fmt_test.go

    	{"%-20.8d", -1234, "-00001234           "},
    	{"%-#20.8x", 0x1234abc, "0x01234abc          "},
    	{"%-#20.8X", 0x1234abc, "0X01234ABC          "},
    	{"%-#20.8o", 01234, "00001234            "},
    
    	// Test correct f.intbuf overflow checks.
    	{"%068d", 1, zeroFill("", 68, "1")},
    	{"%068d", -1, zeroFill("-", 67, "1")},
    	{"%#.68x", 42, zeroFill("0x", 68, "2a")},
    	{"%.68d", -42, zeroFill("-", 68, "42")},
    	{"%+.68d", 42, zeroFill("+", 68, "42")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  7. src/runtime/mgcmark.go

    		throw("rootBlockBytes must be a multiple of 8*ptrSize")
    	}
    
    	// Note that if b0 is toward the end of the address space,
    	// then b0 + rootBlockBytes might wrap around.
    	// These tests are written to avoid any possible overflow.
    	off := uintptr(shard) * rootBlockBytes
    	if off >= n0 {
    		return 0
    	}
    	b := b0 + off
    	ptrmask := (*uint8)(add(unsafe.Pointer(ptrmask0), uintptr(shard)*(rootBlockBytes/(8*goarch.PtrSize))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. src/runtime/mprof.go

    func SetBlockProfileRate(rate int) {
    	var r int64
    	if rate <= 0 {
    		r = 0 // disable profiling
    	} else if rate == 1 {
    		r = 1 // profile everything
    	} else {
    		// convert ns to cycles, use float64 to prevent overflow during multiplication
    		r = int64(float64(rate) * float64(ticksPerSecond()) / (1000 * 1000 * 1000))
    		if r == 0 {
    			r = 1
    		}
    	}
    
    	atomic.Store64(&blockprofilerate, uint64(r))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrIntegerOverflow: {
    		Code:           "IntegerOverflow",
    		Description:    "Int overflow or underflow in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrLikeInvalidInputs: {
    		Code:           "LikeInvalidInputs",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  10. src/bytes/bytes_test.go

    		1: {"", maxInt, ""},
    		2: {"-", 10, ""},
    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    	if !is64Bit {
    		return
    	}
    
    	runTestCases("64-bit", []testCase{
    		0: {"-", maxInt, "out of range"},
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top