Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 149 for 1391 (0.03 sec)

  1. ci/official/envs/macos_x86

    TFCI_MACOS_TWINE_INSTALL_ENABLE=1
    TFCI_OUTPUT_DIR=build_output
    TFCI_WHL_BAZEL_TEST_ENABLE=1
    TFCI_WHL_SIZE_LIMIT=255M
    TFCI_WHL_SIZE_LIMIT_ENABLE=1
    
    # 3.11 is the system python on our images
    case $TFCI_PYTHON_VERSION in
    3.11)
      TFCI_MACOS_PYENV_INSTALL_ENABLE=0
      TFCI_MACOS_UPGRADE_PYENV_ENABLE=0
      ;;
    *)
      TFCI_MACOS_PYENV_INSTALL_ENABLE=1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 19:47:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/loadstore_test.go

    		}
    	}
    	{
    		var in int32 = (1 << 30) + 1
    		var p int32
    		got := loadHitStore32(in, &p)
    		want := int64(in * in)
    		if got != want {
    			t.Errorf("testLoadHitStore (int32) failed. want = %d, got = %d", want, got)
    		}
    	}
    	{
    		var in uint32 = (1 << 30) + 1
    		var p uint32
    		got := loadHitStoreU32(in, &p)
    		want := uint64(in * in)
    		if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. src/cmd/internal/bio/buf_mmap.go

    //	DragonFly   1000000 (vm.max_proc_mmap)
    //	FreeBSD   unlimited
    //	Linux         65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count?
    //	NetBSD    unlimited
    //	OpenBSD   unlimited
    var mmapLimit int32 = 1<<31 - 1
    
    func init() {
    	// Linux is the only practically concerning OS.
    	if runtime.GOOS == "linux" {
    		mmapLimit = 30000
    	}
    }
    
    func (r *Reader) sliceOS(length uint64) ([]byte, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. test/chancap.go

    		shouldPanic("makechan: size out of range", func() { _ = make(T, int(n2)) })
    		// Test elem.size*cap overflow
    		n2 = 1<<63 - 1
    		shouldPanic("makechan: size out of range", func() { _ = make(T, int(n2)) })
    	} else {
    		n = 1<<31 - 1
    		shouldPanic("makechan: size out of range", func() { _ = make(T, n) })
    		shouldPanic("makechan: size out of range", func() { _ = make(T, int64(n)) })
    	}
    }
    
    func shouldPanic(str string, f func()) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 14:06:28 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/net/port.go

    	if service == "" {
    		// Lock in the legacy behavior that an empty string
    		// means port 0. See golang.org/issue/13610.
    		return 0, false
    	}
    	const (
    		max    = uint32(1<<32 - 1)
    		cutoff = uint32(1 << 30)
    	)
    	neg := false
    	if service[0] == '+' {
    		service = service[1:]
    	} else if service[0] == '-' {
    		neg = true
    		service = service[1:]
    	}
    	var n uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:56 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  6. src/math/rand/rng.go

    package rand
    
    /*
     * Uniform distribution
     *
     * algorithm by
     * DP Mitchell and JA Reeds
     */
    
    const (
    	rngLen   = 607
    	rngTap   = 273
    	rngMax   = 1 << 63
    	rngMask  = rngMax - 1
    	int32max = (1 << 31) - 1
    )
    
    var (
    	// rngCooked used for seeding. See gen_cooked.go for details.
    	rngCooked [rngLen]int64 = [...]int64{
    		-4181792142133755926, -4576982950128230565, 1395769623340756751, 5333664234075297259,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  7. src/math/rand/gen_cooked.go

    // a 64bit and a 63bit version of the array is printed to
    // the standard output.
    
    package main
    
    import "fmt"
    
    const (
    	length = 607
    	tap    = 273
    	mask   = (1 << 63) - 1
    	a      = 48271
    	m      = (1 << 31) - 1
    	q      = 44488
    	r      = 3399
    )
    
    var (
    	rngVec          [length]int64
    	rngTap, rngFeed int
    )
    
    func seedrand(x int32) int32 {
    	hi := x / q
    	lo := x % q
    	x = a*lo - r*hi
    	if x < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int_test.go

    		{big.NewInt(1000), 3, 0, 1},
    		{big.NewInt(0), 3, 0, 0},
    
    		// always round up
    		{big.NewInt(999), 3, 0, 1},
    		{big.NewInt(500), 3, 0, 1},
    		{big.NewInt(499), 3, 0, 1},
    		{big.NewInt(1), 3, 0, 1},
    		// large scaled value does not lose precision
    		{big.NewInt(0).Sub(maxInt64, bigOne), 1, 0, (math.MaxInt64-1)/10 + 1},
    		// large intermediate result.
    		{big.NewInt(1).Exp(big.NewInt(10), big.NewInt(100), nil), 100, 0, 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/crypto/subtle/constant_time.go

    // Its behavior is undefined if x or y are negative or > 2**31 - 1.
    func ConstantTimeLessOrEq(x, y int) int {
    	x32 := int32(x)
    	y32 := int32(y)
    	return int(((x32 - y32 - 1) >> 31) & 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 01:54:27 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/runtime/internal/math/math.go

    // half returned in lo.
    // This is a copy from math/bits.Mul64
    // On supported platforms this is an intrinsic lowered by the compiler.
    func Mul64(x, y uint64) (hi, lo uint64) {
    	const mask32 = 1<<32 - 1
    	x0 := x & mask32
    	x1 := x >> 32
    	y0 := y & mask32
    	y1 := y >> 32
    	w0 := x0 * y0
    	t := x1*y0 + w0>>32
    	w1 := t & mask32
    	w2 := t >> 32
    	w1 += x0 * y1
    	hi = x1*y1 + w2 + w1>>32
    	lo = x * y
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:03:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top