Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 576 for Int8 (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    	teb := embed{"test"}
    	tebw := embedwrap{teb, &teb}
    
    	testCases := []struct {
    		a    interface{}
    		want string
    	}{
    		{int8(93), "(int8) 93\n"},
    		{int16(93), "(int16) 93\n"},
    		{int32(93), "(int32) 93\n"},
    		{int64(93), "(int64) 93\n"},
    		{int(-93), "(int) -93\n"},
    		{int8(-93), "(int8) -93\n"},
    		{int16(-93), "(int16) -93\n"},
    		{int32(-93), "(int32) -93\n"},
    		{int64(-93), "(int64) -93\n"},
    		{uint(93), "(uint) 93\n"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arith_test.go

    		}
    		if want, got := int8(i)%int8(pow2[3]) == 0, divisible_int8_2to3(int8(i)); got != want {
    			t.Errorf("divisible_int8_2to3(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int8(i)%int8(pow2[4]) == 0, divisible_int8_2to4(int8(i)); got != want {
    			t.Errorf("divisible_int8_2to4(%d) = %v want %v", i, got, want)
    		}
    		if want, got := int8(i)%int8(pow2[5]) == 0, divisible_int8_2to5(int8(i)); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go

    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type RawSockaddrCtl struct {
    	Sc_len      uint8
    	Sc_family   uint8
    	Ss_sysaddr  uint16
    	Sc_id       uint32
    	Sc_unit     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go

    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [46]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Xucred struct {
    	Version uint32
    	Uid     uint32
    	Ngroups int16
    	Groups  [16]uint32
    	_       *byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go

    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [46]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Xucred struct {
    	Version uint32
    	Uid     uint32
    	Ngroups int16
    	Groups  [16]uint32
    	_       *byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. test/fixedbugs/bug452.go

    		u + 1 + v + 2 + w + 3 + x + 4 + y + 5 + z + 6 + A + 7 + B + 8 + C + 9 + D + 10 +
    		E + 1 + F + 2 + G + 3
    }
    
    func bar() int8 {
    	var (
    		W int16
    		X int32
    		Y int32
    		Z int32
    	)
    	return int8(W+int16(X+3)+3) * int8(Y+3+Z*3)
    }
    
    func main() {
    	if foo() == 0 {
    		panic("foo")
    	}
    	if bar() == 0 {
    		panic("bar")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 915 bytes
    - Viewed (0)
  7. src/runtime/defs_darwin_arm64.go

    type pthreadattr struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutex struct {
    	X__sig    int64
    	X__opaque [56]int8
    }
    type pthreadmutexattr struct {
    	X__sig    int64
    	X__opaque [8]int8
    }
    type pthreadcond struct {
    	X__sig    int64
    	X__opaque [40]int8
    }
    type pthreadcondattr struct {
    	X__sig    int64
    	X__opaque [8]int8
    }
    
    type machTimebaseInfo struct {
    	numer uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue19113.go

    	},
    	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 {
    		return x >> s
    	},
    	func(x int, s int16) int {
    		return x >> s
    	},
    	func(x int, s int8) int {
    		return x >> s
    	},
    	func(x uint, s int) uint {
    		return x << s
    	},
    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. test/literal.go

    	return a == b
    }
    
    func main() {
    	// bool
    	var t bool = true
    	var f bool = false
    	assert(t == !f, "bool")
    
    	// int8
    	var i00 int8 = 0
    	var i01 int8 = 1
    	var i02 int8 = -1
    	var i03 int8 = 127
    	var i04 int8 = -127
    	var i05 int8 = -128
    	var i06 int8 = +127
    	assert(i01 == i00+1, "i01")
    	assert(i02 == -i01, "i02")
    	assert(i03 == -i04, "i03")
    	assert(-(i05+1) == i06, "i05")
    
    	// int16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go

    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [12]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    }
    
    type _Socklen uint32
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type Iovec struct {
    	Base *byte
    	Len  uint64
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top