Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 550 for uint16 (0.15 sec)

  1. src/cmd/compile/internal/syntax/testdata/linalg.go

    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		float32 | ~float64 |
    		complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/net_windows.go

    //go:noescape
    func WSASendtoInet4(s syscall.Handle, bufs *syscall.WSABuf, bufcnt uint32, sent *uint32, flags uint32, to *syscall.SockaddrInet4, overlapped *syscall.Overlapped, croutine *byte) (err error)
    
    //go:linkname WSASendtoInet6 syscall.wsaSendtoInet6
    //go:noescape
    func WSASendtoInet6(s syscall.Handle, bufs *syscall.WSABuf, bufcnt uint32, sent *uint32, flags uint32, to *syscall.SockaddrInet6, overlapped *syscall.Overlapped, croutine *byte) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. src/testing/quick/quick_test.go

    func fUint16(a uint16) uint16 { return a }
    
    type TestUint16Alias uint16
    
    func fUint16Alias(a TestUint16Alias) TestUint16Alias { return a }
    
    func fUint32(a uint32) uint32 { return a }
    
    type TestUint32Alias uint32
    
    func fUint32Alias(a TestUint32Alias) TestUint32Alias { return a }
    
    func fUint64(a uint64) uint64 { return a }
    
    type TestUint64Alias uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/linalg.go

    package linalg
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/route/interface_multicast.go

    	}
    	l := int(nativeEndian.Uint16(b[:2]))
    	if len(b) < l {
    		return nil, errInvalidMessage
    	}
    	m := &InterfaceMulticastAddrMessage{
    		Version: int(b[2]),
    		Type:    int(b[3]),
    		Flags:   int(nativeEndian.Uint32(b[8:12])),
    		Index:   int(nativeEndian.Uint16(b[12:14])),
    		raw:     b[:l],
    	}
    	var err error
    	m.Addrs, err = parseAddrs(uint(nativeEndian.Uint32(b[4:8])), parseKernelInetAddr, b[w.bodyOff:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 829 bytes
    - Viewed (0)
  6. src/debug/dwarf/buf.go

    	return s
    }
    
    func (b *buf) uint16() uint16 {
    	a := b.bytes(2)
    	if a == nil {
    		return 0
    	}
    	return b.order.Uint16(a)
    }
    
    func (b *buf) uint24() uint32 {
    	a := b.bytes(3)
    	if a == nil {
    		return 0
    	}
    	if b.dwarf.bigEndian {
    		return uint32(a[2]) | uint32(a[1])<<8 | uint32(a[0])<<16
    	} else {
    		return uint32(a[0]) | uint32(a[1])<<8 | uint32(a[2])<<16
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. src/internal/types/errors/code_string.go

    	_Code_index_3 = [...]uint16{0, 16, 31, 44, 54, 66, 77, 91, 104, 115, 125, 140, 151, 162, 175, 191, 208, 232, 249, 264, 274, 283, 296, 312, 328, 339, 354}
    	_Code_index_4 = [...]uint16{0, 14, 30, 44, 61, 81, 94, 110, 124, 141, 158, 175, 190, 204, 218, 229, 241, 254, 271, 284, 295, 308, 320, 329, 336, 348, 364, 382, 400, 415, 432, 451, 465, 485, 497, 521, 544, 562, 584, 603}
    	_Code_index_5 = [...]uint8{0, 12, 24, 44, 50}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. test/copy.go

    )
    
    const N = 40
    
    var input8 = make([]uint8, N)
    var output8 = make([]uint8, N)
    var input16 = make([]uint16, N)
    var output16 = make([]uint16, N)
    var input32 = make([]uint32, N)
    var output32 = make([]uint32, N)
    var input64 = make([]uint64, N)
    var output64 = make([]uint64, N)
    var inputS string
    var outputS = make([]uint8, N)
    
    type my8 []uint8
    type my16 []uint16
    type my32 []uint32
    type my32b []uint32
    type my64 []uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  9. pilot/cmd/pilot-agent/options/statusserver.go

    	return &status.Options{
    		IPv6:           ipv6,
    		PodIP:          InstanceIPVar.Get(),
    		AdminPort:      uint16(proxyConfig.ProxyAdminPort),
    		StatusPort:     uint16(proxyConfig.StatusPort),
    		KubeAppProbers: kubeAppProberNameVar.Get(),
    		NodeType:       t,
    		Probes:         []ready.Prober{agent},
    		NoEnvoy:        agent.EnvoyDisabled(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. test/print.go

    	println((map[int]int)(nil)) // printpointer
    	println(([]int)(nil))       // printslice
    	println(int64(-7))          // printint
    	println(uint64(7))          // printuint
    	println(uint32(7))          // printuint
    	println(uint16(7))          // printuint
    	println(uint8(7))           // printuint
    	println(uint(7))            // printuint
    	println(uintptr(7))         // printuint
    	println(8.0)                // printfloat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
Back to top