Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 377 for uint16_t (0.19 sec)

  1. src/cmd/cgo/internal/test/testx.go

    // callback.  Make sure GC works and the stack trace is correct.
    
    #include <stdint.h>
    
    // use ugly atomic variable sync since that doesn't require calling back into
    // Go code or OS dependencies
    void issue7978c(uint32_t *sync);
    
    // issue 8331 part 2 - part 1 in test.go
    // A typedef of an unnamed struct is the same struct when
    // #include'd twice.  No runtime test; just make sure it compiles.
    #include "issue8331.h"
    
    // issue 8945
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. 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)
  3. src/encoding/binary/binary.go

    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (littleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func (littleEndian) AppendUint16(b []byte, v uint16) []byte {
    	return append(b,
    		byte(v),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    type Stat_t struct {
    	Dev     uint64
    	_       uint16
    	_       uint32
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	_       uint16
    	Size    int64
    	Blksize int32
    	Blocks  int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Ino     uint64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/syscall/ztypes_linux_amd64.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
    - 12K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. src/internal/xcoff/xcoff.go

    type FileHeader32 struct {
    	Fmagic   uint16 // Target machine
    	Fnscns   uint16 // Number of sections
    	Ftimedat uint32 // Time and date of file creation
    	Fsymptr  uint32 // Byte offset to symbol table start
    	Fnsyms   uint32 // Number of entries in symbol table
    	Fopthdr  uint16 // Number of bytes in optional header
    	Fflags   uint16 // Flags
    }
    
    type FileHeader64 struct {
    	Fmagic   uint16 // Target machine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/shift_test.go

    //go:noinline
    func ofz16r16(n uint16) int16 {
    	var x int16
    	return x >> n
    }
    
    //go:noinline
    func ofz16r8(n uint8) int16 {
    	var x int16
    	return x >> n
    }
    
    //go:noinline
    func ofz16ur64(n uint64) uint16 {
    	var x uint16
    	return x >> n
    }
    
    //go:noinline
    func ofz16ur32(n uint32) uint16 {
    	var x uint16
    	return x >> n
    }
    
    //go:noinline
    func ofz16ur16(n uint16) uint16 {
    	var x uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/image/png/reader.go

    				tr := uint16(d.transparent[0])<<8 | uint16(d.transparent[1])
    				tg := uint16(d.transparent[2])<<8 | uint16(d.transparent[3])
    				tb := uint16(d.transparent[4])<<8 | uint16(d.transparent[5])
    				for x := 0; x < width; x++ {
    					rcol := uint16(cdat[6*x+0])<<8 | uint16(cdat[6*x+1])
    					gcol := uint16(cdat[6*x+2])<<8 | uint16(cdat[6*x+3])
    					bcol := uint16(cdat[6*x+4])<<8 | uint16(cdat[6*x+5])
    					acol := uint16(0xffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top