Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 349 for uint16 (0.16 sec)

  1. test/codegen/bitfield.go

    func ubfx2(x uint32) uint64 {
    	return uint64(x >> 15) // arm64:"UBFX\t[$]15, R[0-9]+, [$]17",-"LSR"
    }
    
    func ubfx3(x uint16) uint64 {
    	return uint64(x >> 9) // arm64:"UBFX\t[$]9, R[0-9]+, [$]7",-"LSR"
    }
    
    func ubfx4(x uint8) uint64 {
    	return uint64(x >> 3) // arm64:"UBFX\t[$]3, R[0-9]+, [$]5",-"LSR"
    }
    
    func ubfx5(x uint32) uint64 {
    	return uint64(x) >> 30 // arm64:"UBFX\t[$]30, R[0-9]+, [$]2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 06:11:32 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. pkg/proxy/util/nfacct/handler.go

    // into the resulting request.
    func (n *netlinkHandler) newRequest(cmd int, flags uint16) request {
    	req := &nl.NetlinkRequest{
    		// netlink message header
    		// (definition: https://github.com/torvalds/linux/blob/v6.7/include/uapi/linux/netlink.h#L44-L58)
    		NlMsghdr: unix.NlMsghdr{
    			Len:   uint32(unix.SizeofNlMsghdr),
    			Type:  uint16(cmd | (unix.NFNL_SUBSYS_ACCT << 8)),
    			Flags: flags,
    		},
    		Sockets: map[int]*nl.SocketHandle{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/archive/zip/register.go

    	var err error
    	if r.fr != nil {
    		err = r.fr.Close()
    		flateReaderPool.Put(r.fr)
    		r.fr = nil
    	}
    	return err
    }
    
    var (
    	compressors   sync.Map // map[uint16]Compressor
    	decompressors sync.Map // map[uint16]Decompressor
    )
    
    func init() {
    	compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil }))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/compress/lzw/reader.go

    	}
    
    	br, ok := src.(io.ByteReader)
    	if !ok && src != nil {
    		br = bufio.NewReader(src)
    	}
    	r.r = br
    	r.litWidth = litWidth
    	r.width = 1 + uint(litWidth)
    	r.clear = uint16(1) << uint(litWidth)
    	r.eof, r.hi = r.clear+1, r.clear+1
    	r.overflow = uint16(1) << r.width
    	r.last = decoderInvalidCode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. test/fixedbugs/issue58293.go

    // compile
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    var bar = f(13579)
    
    func f(x uint16) uint16 {
    	return x>>8 | x<<8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 09:33:47 UTC 2023
    - 251 bytes
    - Viewed (0)
  6. src/runtime/defs_dragonfly_amd64.go

    	mc_r11      uint64
    	mc_r12      uint64
    	mc_r13      uint64
    	mc_r14      uint64
    	mc_r15      uint64
    	mc_xflags   uint64
    	mc_trapno   uint64
    	mc_addr     uint64
    	mc_flags    uint64
    	mc_err      uint64
    	mc_rip      uint64
    	mc_cs       uint64
    	mc_rflags   uint64
    	mc_rsp      uint64
    	mc_ss       uint64
    	mc_len      uint32
    	mc_fpformat uint32
    	mc_ownedfp  uint32
    	mc_reserved uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/env_windows.go

    func (token Token) Environ(inheritExisting bool) (env []string, err error) {
    	var block *uint16
    	err = CreateEnvironmentBlock(&block, token, inheritExisting)
    	if err != nil {
    		return nil, err
    	}
    	defer DestroyEnvironmentBlock(block)
    	size := unsafe.Sizeof(*block)
    	for *block != 0 {
    		// find NUL terminator
    		end := unsafe.Pointer(block)
    		for *(*uint16)(end) != 0 {
    			end = unsafe.Add(end, size)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 20:35:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/syscall/wtf8_windows.go

    	maskx = 0b00111111
    	mask3 = 0b00001111
    
    	rune1Max = 1<<7 - 1
    	rune2Max = 1<<11 - 1
    )
    
    // encodeWTF16 returns the potentially ill-formed
    // UTF-16 encoding of s.
    func encodeWTF16(s string, buf []uint16) []uint16 {
    	for i := 0; i < len(s); {
    		// Cannot use 'for range s' because it expects valid
    		// UTF-8 runes.
    		r, size := utf8.DecodeRuneInString(s[i:])
    		if r == utf8.RuneError {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/runtime/defs1_solaris_amd64.go

    	portev_events int32
    	portev_source uint16
    	portev_pad    uint16
    	portev_object uint64
    	portev_user   *byte
    }
    
    type pthread uint32
    type pthreadattr struct {
    	__pthread_attrp *byte
    }
    
    type stat struct {
    	st_dev     uint64
    	st_ino     uint64
    	st_mode    uint32
    	st_nlink   uint32
    	st_uid     uint32
    	st_gid     uint32
    	st_rdev    uint64
    	st_size    int64
    	st_atim    timespec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:40:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/syscall/env_windows.go

    	keyp, err := UTF16PtrFromString(key)
    	if err != nil {
    		return "", false
    	}
    	n := uint32(100)
    	for {
    		b := make([]uint16, n)
    		n, err = GetEnvironmentVariable(keyp, &b[0], uint32(len(b)))
    		if n == 0 && err == ERROR_ENVVAR_NOT_FOUND {
    			return "", false
    		}
    		if n <= uint32(len(b)) {
    			return UTF16ToString(b[:n]), true
    		}
    	}
    }
    
    func Setenv(key, value string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top