Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 463 for uint16At (0.14 sec)

  1. src/syscall/ztypes_netbsd_amd64.go

    	Lastchange Timespec
    }
    
    type IfaMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Metric    int32
    	Index     uint16
    	Pad_cgo_0 [6]byte
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Index   uint16
    	Name    [16]int8
    	What    uint16
    }
    
    type RtMsghdr struct {
    	Msglen    uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/syscall/wtf8_windows_test.go

    )
    
    var wtf8tests = []struct {
    	str  string
    	wstr []uint16
    }{
    	{
    		str:  "\x00",
    		wstr: []uint16{0x00},
    	},
    	{
    		str:  "\x5C",
    		wstr: []uint16{0x5C},
    	},
    	{
    		str:  "\x7F",
    		wstr: []uint16{0x7F},
    	},
    
    	// 2-byte
    	{
    		str:  "\xC2\x80",
    		wstr: []uint16{0x80},
    	},
    	{
    		str:  "\xD7\x8A",
    		wstr: []uint16{0x05CA},
    	},
    	{
    		str:  "\xDF\xBF",
    		wstr: []uint16{0x07FF},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/eventlog.go

    )
    
    //sys	RegisterEventSource(uncServerName *uint16, sourceName *uint16) (handle Handle, err error) [failretval==0] = advapi32.RegisterEventSourceW
    //sys	DeregisterEventSource(handle Handle) (err error) = advapi32.DeregisterEventSource
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 825 bytes
    - Viewed (0)
  7. src/internal/syscall/windows/security_windows.go

    	Flags           uint32
    	ScriptPath      *uint16
    	AuthFlags       uint32
    	FullName        *uint16
    	UsrComment      *uint16
    	Parms           *uint16
    	Workstations    *uint16
    	LastLogon       uint32
    	LastLogoff      uint32
    	AcctExpires     uint32
    	MaxStorage      uint32
    	UnitsPerWeek    uint32
    	LogonHours      *byte
    	BadPwCount      uint32
    	NumLogons       uint32
    	LogonServer     *uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/dupLoad_test.go

    // load up into two separate loads.
    
    package main
    
    import "testing"
    
    //go:noinline
    func read1(b []byte) (uint16, uint16) {
    	// There is only a single read of b[0].  The two
    	// returned values must have the same low byte.
    	v := b[0]
    	return uint16(v), uint16(v) | uint16(b[1])<<8
    }
    
    func main1(t *testing.T) {
    	const N = 100000
    	done := make(chan bool, 2)
    	b := make([]byte, 2)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  9. src/syscall/ztypes_openbsd_riscv64.go

    }
    
    type IfaMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	Tableid uint16
    	Pad1    uint8
    	Pad2    uint8
    	Addrs   int32
    	Flags   int32
    	Metric  int32
    }
    
    type IfAnnounceMsghdr struct {
    	Msglen  uint16
    	Version uint8
    	Type    uint8
    	Hdrlen  uint16
    	Index   uint16
    	What    uint16
    	Name    [16]int8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/lif/binary.go

    )
    
    type binaryByteOrder interface {
    	Uint16([]byte) uint16
    	Uint32([]byte) uint32
    	Uint64([]byte) uint64
    	PutUint16([]byte, uint16)
    	PutUint32([]byte, uint32)
    	PutUint64([]byte, uint64)
    }
    
    type binaryLittleEndian struct{}
    
    func (binaryLittleEndian) Uint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top