Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,045 for uint16_t (0.32 sec)

  1. test/fixedbugs/issue9604.go

    package main
    
    var x uint16 = 0xffff
    var y uint16 = 0xfffe
    var a uint16 = 0x7000
    var b uint16 = 0x9000
    
    func main() {
    	// Make sure we truncate to smaller-width types after evaluating expressions.
    	// This is a problem for arm where there is no 16-bit comparison op.
    	if ^x != 0 {
    		panic("^uint16(0xffff) != 0")
    	}
    	if ^y != 1 {
    		panic("^uint16(0xfffe) != 1")
    	}
    	if -x != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 15 23:50:01 UTC 2015
    - 631 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/memcombine_test.go

    	t.a = uint16(x)
    	t.b = uint16(x >> 16)
    }
    
    type T8 struct {
    	a, b uint8
    }
    
    //go:noinline
    func (t *T8) bigEndianLoad() uint16 {
    	return uint16(t.a)<<8 | uint16(t.b)
    }
    
    //go:noinline
    func (t *T8) littleEndianLoad() uint16 {
    	return uint16(t.a) | (uint16(t.b) << 8)
    }
    
    //go:noinline
    func (t *T8) bigEndianStore(x uint16) {
    	t.a = uint8(x >> 8)
    	t.b = uint8(x)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 30 18:35:50 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. src/syscall/ztypes_linux_arm64.go

    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    type RawSockaddrNetlink struct {
    	Family uint16
    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [96]int8
    }
    
    type _Socklen uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/crypto/tls/cipher_suites.go

    	TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA          uint16 = 0xc009
    	TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA          uint16 = 0xc00a
    	TLS_ECDHE_RSA_WITH_RC4_128_SHA                uint16 = 0xc011
    	TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA           uint16 = 0xc012
    	TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA            uint16 = 0xc013
    	TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA            uint16 = 0xc014
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    	Cc    [16]uint8
    }
    
    type Termio struct {
    	Iflag uint16
    	Oflag uint16
    	Cflag uint16
    	Lflag uint16
    	Line  uint8
    	Cc    [8]uint8
    	_     [1]byte
    }
    
    type Winsize struct {
    	Row    uint16
    	Col    uint16
    	Xpixel uint16
    	Ypixel uint16
    }
    
    type PollFd struct {
    	Fd      int32
    	Events  uint16
    	Revents uint16
    }
    
    const (
    	POLLERR    = 0x4000
    	POLLHUP    = 0x2000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/syscall/ztypes_linux_mips.go

    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    type RawSockaddrNetlink struct {
    	Family uint16
    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [96]int8
    }
    
    type _Socklen uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. src/syscall/ztypes_linux_mipsle.go

    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    type RawSockaddrNetlink struct {
    	Family uint16
    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [96]int8
    }
    
    type _Socklen uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. src/syscall/ztypes_linux_mips64le.go

    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    type RawSockaddrNetlink struct {
    	Family uint16
    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [96]int8
    }
    
    type _Socklen uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. src/syscall/ztypes_linux_arm.go

    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    type RawSockaddrNetlink struct {
    	Family uint16
    	Pad    uint16
    	Pid    uint32
    	Groups uint32
    }
    
    type RawSockaddr struct {
    	Family uint16
    	Data   [14]uint8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [96]uint8
    }
    
    type _Socklen uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_386.go

    type RawSockaddrInet6 struct {
    	Family   uint16
    	Port     uint16
    	Flowinfo uint32
    	Addr     [16]byte /* in6_addr */
    	Scope_id uint32
    }
    
    type RawSockaddrUnix struct {
    	Family uint16
    	Path   [108]int8
    }
    
    type RawSockaddrLinklayer struct {
    	Family   uint16
    	Protocol uint16
    	Ifindex  int32
    	Hatype   uint16
    	Pkttype  uint8
    	Halen    uint8
    	Addr     [8]uint8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top