- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 437 for uint16 (0.2 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/ir/mini.go
func (n *miniNode) SetPos(x src.XPos) { n.pos = x } func (n *miniNode) Esc() uint16 { return n.esc } func (n *miniNode) SetEsc(x uint16) { n.esc = x } const ( miniTypecheckShift = 0 miniWalked = 1 << 2 // to prevent/catch re-walking ) func (n *miniNode) Typecheck() uint8 { return n.bits.get2(miniTypecheckShift) } func (n *miniNode) SetTypecheck(x uint8) { if x > 2 { panic(fmt.Sprintf("cannot SetTypecheck %d", x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 22:09:44 UTC 2022 - 2.8K bytes - Viewed (0) -
test/codegen/rotate.go
return a } func rot16nc(x uint16, z uint) uint16 { var a uint16 z &= 15 // amd64:"ROLW",-"ANDQ" // riscv64: "OR","SLL","SRL",-"AND\t" a += x<<z | x>>(16-z) // amd64:"RORW",-"ANDQ" // riscv64: "OR","SLL","SRL",-"AND\t" a += x>>z | x<<(16-z) return a } func rot8nc(x uint8, z uint) uint8 { var a uint8 z &= 7 // amd64:"ROLB",-"ANDQ"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 6K bytes - Viewed (0) -
pkg/kubelet/server/server_websocket_test.go
p, err := strconv.ParseUint(test.port, 10, 16) require.NoError(t, err, "parse port") p16 := uint16(p) channel, data, err := wsRead(ws) require.NoError(t, err, "read") assert.Equal(t, dataChannel, int(channel), "channel") assert.Len(t, data, binary.Size(p16), "data size") assert.Equal(t, p16, binary.LittleEndian.Uint16(data), "data") channel, data, err = wsRead(ws) assert.NoError(t, err, "read")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 8.2K bytes - Viewed (0) -
pilot/pkg/bootstrap/options.go
if err != nil { return err } p.ServerOptions.TLSOptions.CipherSuits = cipherSuits return nil } func allCiphers() map[string]uint16 { acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites())) for _, cipher := range tls.InsecureCipherSuites() { acceptedCiphers[cipher.Name] = cipher.ID }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 6.1K bytes - Viewed (0)