Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 550 for uint16 (0.29 sec)

  1. src/vendor/golang.org/x/net/route/route_classic.go

    		Index:   int(nativeEndian.Uint16(b[4:6])),
    		ID:      uintptr(nativeEndian.Uint32(b[16:20])),
    		Seq:     int(nativeEndian.Uint32(b[20:24])),
    		extOff:  w.extOff,
    		raw:     b[:l],
    	}
    	errno := syscall.Errno(nativeEndian.Uint32(b[28:32]))
    	if errno != 0 {
    		m.Err = errno
    	}
    	var err error
    	m.Addrs, err = parseAddrs(uint(nativeEndian.Uint32(b[12:16])), parseKernelInetAddr, b[w.bodyOff:])
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue66066b.go

    //go:noinline
    func f32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int32) uint64 {
    	return uint64(uint32(x))
    }
    
    //go:noinline
    func f16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int16) uint64 {
    	return uint64(uint16(x))
    }
    
    //go:noinline
    func f8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int8) uint64 {
    	return uint64(uint8(x))
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. internal/fips/api.go

    // exchange.
    func TLSCiphers() []uint16 {
    	if Enabled {
    		return []uint16{
    			tls.TLS_AES_128_GCM_SHA256, // TLS 1.3
    			tls.TLS_AES_256_GCM_SHA384,
    			tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, // TLS 1.2
    			tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
    			tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
    			tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
    		}
    	}
    	return []uint16{
    		tls.TLS_CHACHA20_POLY1305_SHA256, // TLS 1.3
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 30 19:37:07 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. src/debug/pe/section.go

    type SectionHeader32 struct {
    	Name                 [8]uint8
    	VirtualSize          uint32
    	VirtualAddress       uint32
    	SizeOfRawData        uint32
    	PointerToRawData     uint32
    	PointerToRelocations uint32
    	PointerToLineNumbers uint32
    	NumberOfRelocations  uint16
    	NumberOfLineNumbers  uint16
    	Characteristics      uint32
    }
    
    // fullName finds real name of section sh. Normally name is stored
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/internal/syscall/execenv/execenv_windows.go

    	}
    	var blockp *uint16
    	err = windows.CreateEnvironmentBlock(&blockp, sys.Token, false)
    	if err != nil {
    		return nil, err
    	}
    	defer windows.DestroyEnvironmentBlock(blockp)
    
    	const size = unsafe.Sizeof(*blockp)
    	for *blockp != 0 { // environment block ends with empty string
    		// find NUL terminator
    		end := unsafe.Add(unsafe.Pointer(blockp), size)
    		for *(*uint16)(end) != 0 {
    			end = unsafe.Add(end, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/reflect/iter.go

    		return rangeNum[int8](v.Int())
    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    	case Uint8:
    		return rangeNum[uint8](v.Uint())
    	case Uint16:
    		return rangeNum[uint16](v.Uint())
    	case Uint32:
    		return rangeNum[uint32](v.Uint())
    	case Uint64:
    		return rangeNum[uint64](v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. test/convinline.go

    	case "uint":
    		return fmt.Sprintf("%s(%#x)", t2, uint(v))
    	case "uint8":
    		return fmt.Sprintf("%s(%#x)", t2, uint8(v))
    	case "uint16":
    		return fmt.Sprintf("%s(%#x)", t2, uint16(v))
    	case "uint32":
    		return fmt.Sprintf("%s(%#x)", t2, uint32(v))
    	case "uint64":
    		return fmt.Sprintf("%s(%#x)", t2, uint64(v))
    	case "uintptr":
    		return fmt.Sprintf("%s(%#x)", t2, uintptr(v))
    	case "float32":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. src/net/udpsock_plan9.go

    	h := new(udpHeader)
    	h.raddr, b = IP(b[:16]), b[16:]
    	h.laddr, b = IP(b[:16]), b[16:]
    	h.ifcaddr, b = IP(b[:16]), b[16:]
    	h.rport, b = uint16(b[0])<<8|uint16(b[1]), b[2:]
    	h.lport, b = uint16(b[0])<<8|uint16(b[1]), b[2:]
    	return h, b
    }
    
    func (sl *sysListener) listenUDP(ctx context.Context, laddr *UDPAddr) (*UDPConn, error) {
    	l, err := listenPlan9(ctx, sl.network, laddr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 18:35:35 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  9. test/typeparam/listimp.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // List is a linked list of ordered values of type T.
    type List[T Ordered] struct {
    	Next *List[T]
    	Val  T
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/interface_announce.go

    	if len(b) < w.bodyOff {
    		return nil, errMessageTooShort
    	}
    	l := int(nativeEndian.Uint16(b[:2]))
    	if len(b) < l {
    		return nil, errInvalidMessage
    	}
    	m := &InterfaceAnnounceMessage{
    		Version: int(b[2]),
    		Type:    int(b[3]),
    		Index:   int(nativeEndian.Uint16(b[4:6])),
    		What:    int(nativeEndian.Uint16(b[22:24])),
    		raw:     b[:l],
    	}
    	for i := 0; i < 16; i++ {
    		if b[6+i] != 0 {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 770 bytes
    - Viewed (0)
Back to top