- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,045 for UInt16 (0.16 sec)
-
src/vendor/golang.org/x/net/route/route_openbsd.go
b := make([]byte, l) nativeEndian.PutUint16(b[:2], uint16(l)) if m.Version == 0 { b[2] = syscall.RTM_VERSION } else { b[2] = byte(m.Version) } b[3] = byte(m.Type) nativeEndian.PutUint16(b[4:6], uint16(sizeofRtMsghdr)) nativeEndian.PutUint32(b[16:20], uint32(m.Flags)) nativeEndian.PutUint16(b[6:8], uint16(m.Index)) nativeEndian.PutUint32(b[24:28], uint32(m.ID))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 1.7K bytes - Viewed (0) -
test/fixedbugs/bug303.go
// Issue 1011. Removing either #1 or #3 avoided the crash at #2. package main import ( "io" "strings" ) func readU16BE(b []byte) uint16 { b[0] = 0 b[1] = 1 return uint16(b[0])<<8 + uint16(b[1]) // #1 n := uint16(b[0])<<8 + uint16(b[1]) return n } func readStr(r io.Reader, b []byte) string { n := readU16BE(b) if int(n) > len(b) { return "err: n>b" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 693 bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/interface_openbsd.go
if len(b) < 26 { 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[6:8])), What: int(nativeEndian.Uint16(b[8:10])), raw: b[:l], } for i := 0; i < 16; i++ { if b[10+i] != 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
Atim Timespec Mtim Timespec Ctim Timespec _ [2]int32 } type Dirent struct { Ino uint64 Off int64 Reclen uint16 Type uint8 Name [256]uint8 _ [5]byte } type Flock_t struct { Type int16 Whence int16 Start int64 Len int64 Pid int32 _ [4]byte } type DmNameList struct { Dev uint64 Next uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.1K bytes - Viewed (0) -
api/go1.12.txt
pkg crypto/tls, const TLS_AES_128_GCM_SHA256 = 4865 pkg crypto/tls, const TLS_AES_128_GCM_SHA256 uint16 pkg crypto/tls, const TLS_AES_256_GCM_SHA384 = 4866 pkg crypto/tls, const TLS_AES_256_GCM_SHA384 uint16 pkg crypto/tls, const TLS_CHACHA20_POLY1305_SHA256 = 4867 pkg crypto/tls, const TLS_CHACHA20_POLY1305_SHA256 uint16 pkg crypto/tls, const VersionTLS13 = 772 pkg crypto/tls, const VersionTLS13 ideal-int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 21:21:53 UTC 2019 - 13.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.1K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
type dhKEM struct { dh ecdh.Curve kdf hkdfKDF suiteID []byte nSecret uint16 } var SupportedKEMs = map[uint16]struct { curve ecdh.Curve hash crypto.Hash nSecret uint16 }{ // RFC 9180 Section 7.1 0x0020: {ecdh.X25519(), crypto.SHA256, 32}, } func newDHKem(kemID uint16) (*dhKEM, error) { suite, ok := SupportedKEMs[kemID] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
math.Float64bits(math.E), } { want16 := uint16(value) order.PutUint16(buf[:2], want16) if got := order.Uint16(buf[:2]); got != want16 { t.Errorf("PutUint16: Uint16 = %v, want %v", got, want16) } buf = order.AppendUint16(buf[:offset], want16) if got := order.Uint16(buf[offset:]); got != want16 { t.Errorf("AppendUint16: Uint16 = %v, want %v", got, want16) } if len(buf) != offset+2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/internal/syscall/windows/registry/zsyscall_windows.go
if r0 != 0 { regerrno = syscall.Errno(r0) } return } func regLoadMUIString(key syscall.Handle, name *uint16, buf *uint16, buflen uint32, buflenCopied *uint32, flags uint32, dir *uint16) (regerrno error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 02 15:41:00 UTC 2020 - 4K bytes - Viewed (0)