Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 550 for uint16 (0.11 sec)

  1. 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)
  2. 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)
  3. src/syscall/types_windows_386.go

    package syscall
    
    type WSAData struct {
    	Version      uint16
    	HighVersion  uint16
    	Description  [WSADESCRIPTION_LEN + 1]byte
    	SystemStatus [WSASYS_STATUS_LEN + 1]byte
    	MaxSockets   uint16
    	MaxUdpDg     uint16
    	VendorInfo   *byte
    }
    
    type Servent struct {
    	Name    *byte
    	Aliases **byte
    	Port    uint16
    	Proto   *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 17:09:08 UTC 2017
    - 477 bytes
    - Viewed (0)
  4. src/syscall/types_windows_arm.go

    package syscall
    
    type WSAData struct {
    	Version      uint16
    	HighVersion  uint16
    	Description  [WSADESCRIPTION_LEN + 1]byte
    	SystemStatus [WSASYS_STATUS_LEN + 1]byte
    	MaxSockets   uint16
    	MaxUdpDg     uint16
    	VendorInfo   *byte
    }
    
    type Servent struct {
    	Name    *byte
    	Aliases **byte
    	Port    uint16
    	Proto   *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 22 17:16:18 UTC 2018
    - 477 bytes
    - Viewed (0)
  5. src/internal/syscall/windows/reparse_windows.go

    	SubstituteNameLength uint16
    	// PrintNameOffset is similar to SubstituteNameOffset.
    	PrintNameOffset uint16
    	// PrintNameLength is similar to SubstituteNameLength.
    	PrintNameLength uint16
    	// Flags specifies whether the substitute name is a full path name or
    	// a path name relative to the directory containing the symbolic link.
    	Flags      uint32
    	PathBuffer [1]uint16
    }
    
    // Path returns path stored in rb.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 07:15:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/unicode/utf16/utf16.go

    func Encode(s []rune) []uint16 {
    	n := len(s)
    	for _, v := range s {
    		if v >= surrSelf {
    			n++
    		}
    	}
    
    	a := make([]uint16, n)
    	n = 0
    	for _, v := range s {
    		switch RuneLen(v) {
    		case 1: // normal rune
    			a[n] = uint16(v)
    			n++
    		case 2: // needs surrogate sequence
    			r1, r2 := EncodeRune(v)
    			a[n] = uint16(r1)
    			a[n+1] = uint16(r2)
    			n += 2
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/runtime/defs_freebsd_amd64.go

    	mc_fs            uint16
    	mc_gs            uint16
    	mc_addr          uint64
    	mc_flags         uint32
    	mc_es            uint16
    	mc_ds            uint16
    	mc_err           uint64
    	mc_rip           uint64
    	mc_cs            uint64
    	mc_rflags        uint64
    	mc_rsp           uint64
    	mc_ss            uint64
    	mc_len           uint64
    	mc_fpformat      uint64
    	mc_ownedfp       uint64
    	mc_fpstate       [64]uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/types_windows_amd64.go

    package windows
    
    type WSAData struct {
    	Version      uint16
    	HighVersion  uint16
    	MaxSockets   uint16
    	MaxUdpDg     uint16
    	VendorInfo   *byte
    	Description  [WSADESCRIPTION_LEN + 1]byte
    	SystemStatus [WSASYS_STATUS_LEN + 1]byte
    }
    
    type Servent struct {
    	Name    *byte
    	Aliases **byte
    	Proto   *byte
    	Port    uint16
    }
    
    type JOBOBJECT_BASIC_LIMIT_INFORMATION struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 817 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/types_windows_386.go

    package windows
    
    type WSAData struct {
    	Version      uint16
    	HighVersion  uint16
    	Description  [WSADESCRIPTION_LEN + 1]byte
    	SystemStatus [WSASYS_STATUS_LEN + 1]byte
    	MaxSockets   uint16
    	MaxUdpDg     uint16
    	VendorInfo   *byte
    }
    
    type Servent struct {
    	Name    *byte
    	Aliases **byte
    	Port    uint16
    	Proto   *byte
    }
    
    type JOBOBJECT_BASIC_LIMIT_INFORMATION struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 875 bytes
    - Viewed (0)
  10. src/compress/bzip2/huffman.go

    // symbol is found.
    func (t *huffmanTree) Decode(br *bitReader) (v uint16) {
    	nodeIndex := uint16(0) // node 0 is the root of the tree.
    
    	for {
    		node := &t.nodes[nodeIndex]
    
    		var bit uint16
    		if br.bits > 0 {
    			// Get next bit - fast path.
    			br.bits--
    			bit = uint16(br.n>>(br.bits&63)) & 1
    		} else {
    			// Get next bit - slow path.
    			// Use ReadBits to retrieve a single bit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top