Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,042 for int2 (0.05 sec)

  1. src/runtime/defs_darwin_arm64.go

    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type sigactiont struct {
    	__sigaction_u [8]byte
    	sa_tramp      unsafe.Pointer
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type usigactiont struct {
    	__sigaction_u [8]byte
    	sa_mask       uint32
    	sa_flags      int32
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/const1.go

    	maxFloat64 = math.MaxFloat64
    )
    
    const (
    	_ int8 = minInt8 /* ERROR "overflows" */ - 1
    	_ int8 = minInt8
    	_ int8 = maxInt8
    	_ int8 = maxInt8 /* ERROR "overflows" */ + 1
    	_ int8 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = int8(minInt8 /* ERROR "overflows" */ - 1)
    	_ = int8(minInt8)
    	_ = int8(maxInt8)
    	_ = int8(maxInt8 /* ERROR "overflows" */ + 1)
    	_ = int8(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go

    )
    
    type lifnum struct {
    	Family    uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Count     int32
    }
    
    type lifreq struct {
    	Name   [32]int8
    	Lifru1 [4]byte
    	Type   uint32
    	Lifru  [336]byte
    }
    
    type lifconf struct {
    	Family    uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Len       int32
    	Pad_cgo_1 [4]byte
    	Lifcu     [8]byte
    }
    
    type lifIfinfoReq struct {
    	Maxhops      uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 981 bytes
    - Viewed (0)
  4. test/literal.go

    	assert(-(i15+1) == i16, "i15")
    
    	// int32
    	var i20 int32 = 0
    	var i21 int32 = 1
    	var i22 int32 = -1
    	var i23 int32 = 2147483647
    	var i24 int32 = -2147483647
    	var i25 int32 = -2147483648
    	var i26 int32 = +2147483647
    	assert(i21 == i20+1, "i21")
    	assert(i22 == -i21, "i22")
    	assert(i23 == -i24, "i23")
    	assert(-(i25+1) == i26, "i25")
    	assert(i23 == (1<<31)-1, "i23 size")
    
    	// int64
    	var i30 int64 = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  5. test/fixedbugs/issue23719.go

    package main
    
    func main() {
    	v1 := [2]int32{-1, 88}
    	v2 := [2]int32{-1, 99}
    	if v1 == v2 {
    		panic("bad comparison")
    	}
    
    	w1 := [2]int16{-1, 88}
    	w2 := [2]int16{-1, 99}
    	if w1 == w2 {
    		panic("bad comparison")
    	}
    	x1 := [4]int16{-1, 88, 88, 88}
    	x2 := [4]int16{-1, 99, 99, 99}
    	if x1 == x2 {
    		panic("bad comparison")
    	}
    
    	a1 := [2]int8{-1, 88}
    	a2 := [2]int8{-1, 99}
    	if a1 == a2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 18:24:33 UTC 2018
    - 826 bytes
    - Viewed (0)
  6. test/ken/divmod.go

    		panic("fail")
    	}
    
    	/* int */
    	var in1 int = +5
    	var in2 int = -5
    	var id1 int = +3
    	var id2 int = -3
    
    	if in1/id1 != q1 || in1%id1 != r1 {
    		println("int-1", in1, id1, in1/id1, in1%id1)
    		panic("fail")
    	}
    	if in2/id1 != q2 || in2%id1 != r2 {
    		println("int-2", in2, id1, in2/id1, in2%id1)
    		panic("fail")
    	}
    	if in1/id2 != q3 || in1%id2 != r3 {
    		println("int-3", in1, id2, in1/id2, in1%id2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 5.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/testdata/loadstore_test.go

    		t.Errorf("testDeadStorePanic failed.  want = %d, got = %d", want, got)
    	}
    }
    
    //go:noinline
    func loadHitStore8(x int8, p *int8) int32 {
    	x *= x           // try to trash high bits (arch-dependent)
    	*p = x           // store
    	return int32(*p) // load and cast
    }
    
    //go:noinline
    func loadHitStoreU8(x uint8, p *uint8) uint32 {
    	x *= x            // try to trash high bits (arch-dependent)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue19113.go

    import "reflect"
    
    var tests = []interface{}{
    	func(x int, s int) int {
    		return x << s
    	},
    	func(x int, s int64) int {
    		return x << s
    	},
    	func(x int, s int32) int {
    		return x << s
    	},
    	func(x int, s int16) int {
    		return x << s
    	},
    	func(x int, s int8) int {
    		return x << s
    	},
    	func(x int, s int) int {
    		return x >> s
    	},
    	func(x int, s int64) int {
    		return x >> s
    	},
    	func(x int, s int32) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 15 23:13:09 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  9. security/pkg/pki/testdata/multilevelpki/int-cert-chain.pem

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/internal/notsha256/sha256.go

    	d.h[3] = init3
    	d.h[4] = init4
    	d.h[5] = init5
    	d.h[6] = init6
    	d.h[7] = init7
    	d.nx = 0
    	d.len = 0
    }
    
    // New returns a new hash.Hash computing the NOTSHA256 checksum.
    // state of the hash.
    func New() hash.Hash {
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int {
    	return Size
    }
    
    func (d *digest) BlockSize() int { return BlockSize }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top