Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 550 for uint16 (0.16 sec)

  1. test/rename.go

    			false +
    			float32 +
    			float64 +
    			imag +
    			int +
    			int8 +
    			int16 +
    			int32 +
    			int64 +
    			len +
    			make +
    			new +
    			nil +
    			panic +
    			print +
    			println +
    			real +
    			recover +
    			rune +
    			string +
    			true +
    			uint +
    			uint8 +
    			uint16 +
    			uint32 +
    			uint64 +
    			uintptr +
    			iota
    	if n != NUM*(NUM-1)/2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue21048.go

    type T struct {
    	_ [1]byte
    	a [2]byte // offset: 1
    	_ [3]byte
    	b [2]uint16 // offset: 6
    	_ [2]byte
    	c [2]uint32 // offset: 12
    	_ [2]byte
    	d [2]int16 // offset: 22
    	_ [2]byte
    	e [2]int32 // offset: 28
    }
    
    var Source, Sink T
    
    func newT() T {
    	return T{
    		a: [2]byte{1, 2},
    		b: [2]uint16{1, 2},
    		c: [2]uint32{1, 2},
    		d: [2]int16{1, 2},
    		e: [2]int32{1, 2},
    	}
    }
    
    //go:noinline
    func moves() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 19 14:22:48 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/sys/plan9/dir_plan9.go

    func gbit32(b []byte) (uint32, []byte) {
    	return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24, b[4:]
    }
    
    // gbit64 reads a 64-bit number in little-endian order from b and returns it with the remaining slice of b.
    func gbit64(b []byte) (uint64, []byte) {
    	lo := uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24
    	hi := uint32(b[4]) | uint32(b[5])<<8 | uint32(b[6])<<16 | uint32(b[7])<<24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. src/runtime/pprof/elf.go

    		return "", errBadELF
    	case 1: // 32-bit file header
    		shoff = int64(byteOrder.Uint32(buf[32:]))
    		shentsize = int64(byteOrder.Uint16(buf[46:]))
    		if shentsize != 40 {
    			return "", errBadELF
    		}
    		shnum = int(byteOrder.Uint16(buf[48:]))
    	case 2: // 64-bit file header
    		shoff = int64(byteOrder.Uint64(buf[40:]))
    		shentsize = int64(byteOrder.Uint16(buf[58:]))
    		if shentsize != 64 {
    			return "", errBadELF
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top