Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,045 for UInt16 (0.58 sec)

  1. src/cmd/compile/internal/test/shift_test.go

    		{16, true, 16, true, func(n int16, s uint16) int16 { return n << s }},
    		{16, true, 16, false, func(n int16, s uint16) int16 { return n >> s }},
    		{16, false, 16, false, func(n uint16, s uint16) uint16 { return n >> s }},
    		{16, true, 8, true, func(n int16, s uint8) int16 { return n << s }},
    		{16, true, 8, false, func(n int16, s uint8) int16 { return n >> s }},
    		{16, false, 8, false, func(n uint16, s uint8) uint16 { return n >> s }},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/loadstore_test.go

    		}
    	}
    	{
    		var in int16 = (1 << 10) + 1
    		var p int16
    		got := loadHitStore16(in, &p)
    		want := int32(in * in)
    		if got != want {
    			t.Errorf("testLoadHitStore (int16) failed. want = %d, got = %d", want, got)
    		}
    	}
    	{
    		var in uint16 = (1 << 10) + 1
    		var p uint16
    		got := loadHitStoreU16(in, &p)
    		want := uint32(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/syscall/ztypes_aix_ppc64.go

    	Offset    uint64
    	Ino       uint64
    	Reclen    uint16
    	Namlen    uint16
    	Name      [256]uint8
    	Pad_cgo_0 [4]byte
    }
    
    type RawSockaddrInet4 struct {
    	Len    uint8
    	Family uint8
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]uint8
    }
    
    type RawSockaddrInet6 struct {
    	Len      uint8
    	Family   uint8
    	Port     uint16
    	Flowinfo uint32
    	Addr     [16]byte /* in6_addr */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  4. src/syscall/ztypes_linux_amd64.go

    	Family uint16
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]uint8
    }
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 12K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/syscall_windows.go

    	MaxUses     uint32
    	CurrentUses uint32
    	Path        *uint16
    	Passwd      *uint16
    }
    
    //sys  NetShareAdd(serverName *uint16, level uint32, buf *byte, parmErr *uint16) (neterr error) = netapi32.NetShareAdd
    //sys  NetShareDel(serverName *uint16, netName *uint16, reserved uint32) (neterr error) = netapi32.NetShareDel
    
    const (
    	FILE_NAME_NORMALIZED = 0x0
    	FILE_NAME_OPENED     = 0x8
    
    	VOLUME_NAME_DOS  = 0x0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/route/binary.go

    )
    
    type binaryByteOrder interface {
    	Uint16([]byte) uint16
    	Uint32([]byte) uint32
    	PutUint16([]byte, uint16)
    	PutUint32([]byte, uint32)
    	Uint64([]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
    - 2.7K bytes
    - Viewed (0)
  7. src/runtime/vdso_elf64.go

    	e_ehsize    uint16           /* ELF header size in bytes */
    	e_phentsize uint16           /* Program header table entry size */
    	e_phnum     uint16           /* Program header table entry count */
    	e_shentsize uint16           /* Section header table entry size */
    	e_shnum     uint16           /* Section header table entry count */
    	e_shstrndx  uint16           /* Section header string table index */
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go

    )
    
    const (
    	PIDFD_NONBLOCK = 0x800
    )
    
    type SysvIpcPerm struct {
    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint16
    	_    [2]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Atime_high uint32
    	Dtime      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. 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)
Back to top