Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 439 for uint16 (0.17 sec)

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

    	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
    	CountryCode     uint32
    	CodePage        uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. 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)
  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/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)
  9. src/internal/types/testdata/fixedbugs/issue63563.go

    	_ = int16(1 /* ERROR "constant 65535 overflows int16" */ <<16 - 1)
    	_ = int32(1 /* ERROR "constant 4294967295 overflows int32" */ <<32 - 1)
    	_ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1)
    
    	_ = uint8(1 /* ERROR "constant 256 overflows uint8" */ << 8)
    	_ = uint16(1 /* ERROR "constant 65536 overflows uint16" */ << 16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/interface_freebsd.go

    		}
    		extOff = int(nativeEndian.Uint16(b[18:20]))
    		bodyOff = int(nativeEndian.Uint16(b[16:18]))
    	} else {
    		extOff = w.extOff
    		bodyOff = w.bodyOff
    	}
    	if len(b) < extOff || len(b) < bodyOff {
    		return nil, errInvalidMessage
    	}
    	l := int(nativeEndian.Uint16(b[:2]))
    	if len(b) < l {
    		return nil, errInvalidMessage
    	}
    	attrs := uint(nativeEndian.Uint32(b[4:8]))
    	if attrs&syscall.RTA_IFP == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top