- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 257 for uint16 (0.14 sec)
-
src/net/dnsclient.go
s += "." } return s } // An SRV represents a single DNS SRV record. type SRV struct { Target string Port uint16 Priority uint16 Weight uint16 } // byPriorityWeight sorts SRV records by ascending priority and weight. type byPriorityWeight []*SRV // shuffleByWeight shuffles SRV records by weight using the algorithm
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 5.7K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
for n := 0; n < (1 << d); n++ { expected := DecompressRat(uint16(n), uint8(d)) result := decompress(uint16(n), uint8(d)) if result != expected { t.Errorf("decompress(%d, %d): got %d, expected %d", n, d, result, expected) } } } } func BitRev7(n uint8) uint8 { if n>>7 != 0 { panic("not 7 bits") } var r uint8 r |= n >> 6 & 0b0000_0001 r |= n >> 4 & 0b0000_0010
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/testdata/testprog/panicprint.go
type MyComplex64 complex64 type MyFloat32 float32 type MyFloat64 float64 type MyInt int type MyInt8 int8 type MyInt16 int16 type MyInt32 int32 type MyInt64 int64 type MyString string type MyUint uint type MyUint8 uint8 type MyUint16 uint16 type MyUint32 uint32 type MyUint64 uint64 type MyUintptr uintptr func panicCustomComplex64() { panic(MyComplex64(0.11 + 3i)) } func panicCustomComplex128() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 2.2K bytes - Viewed (0) -
src/os/os_windows_test.go
printName namePosition pathBuf []uint16 } type namePosition struct { offset uint16 length uint16 } func (rd *reparseData) addUTF16s(s []uint16) (offset uint16) { off := len(rd.pathBuf) * 2 rd.pathBuf = append(rd.pathBuf, s...) return uint16(off) } func (rd *reparseData) addString(s string) (offset, length uint16) { p := syscall.StringToUTF16(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
src/os/dir_plan9.go
return names, dirents, infos, &PathError{Op: "readdir", Path: file.name, Err: syscall.ErrShortStat} } } // Get a record from the buffer. b := d.buf[d.bufp:] m := int(uint16(b[0])|uint16(b[1])<<8) + 2 if m < syscall.STATFIXLEN { return names, dirents, infos, &PathError{Op: "readdir", Path: file.name, Err: syscall.ErrShortStat} } dir, err := syscall.UnmarshalDir(b[:m]) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.1K bytes - Viewed (0) -
src/debug/elf/file.go
Off: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Off):])), Vaddr: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Vaddr):])), Paddr: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Paddr):])), Filesz: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Filesz):])), Memsz: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Memsz):])), Align: uint64(bo.Uint32(phdata[off+unsafe.Offsetof(ph.Align):])), }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go
Att_version uint16 Att_res01 [2]uint8 Att_setflags1 uint8 Att_setflags2 uint8 Att_setflags3 uint8 Att_setflags4 uint8 Att_mode uint32 Att_uid uint32 Att_gid uint32 Att_opaquemask [3]uint8 Att_visblmaskres uint8 Att_opaque [3]uint8 Att_visibleres uint8 Att_size_h uint32 Att_size_l uint32 Att_atime uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 19.9K bytes - Viewed (0) -
src/internal/abi/type.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/crypto/tls/key_agreement.go
// the sigType (for earlier TLS versions). For Ed25519 signatures, which don't // do pre-hashing, it returns the concatenation of the slices. func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte { if sigType == signatureEd25519 { var signed []byte for _, slice := range slices { signed = append(signed, slice...) } return signed }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 14:56:25 UTC 2024 - 11.8K bytes - Viewed (0) -
test/codegen/mathbits.go
var r [2]uint64 var c uint64 r[0], c = bits.Sub64(a[0], b[0], c) r[1], c = bits.Sub64(a[1], b[1], c) // s390x:"BRC\t[$]12," if c == 1 { panic("overflow") } return r } func Sub64MPanicOnOverflowNE(a, b [2]uint64) [2]uint64 { var r [2]uint64 var c uint64 r[0], c = bits.Sub64(a[0], b[0], c) r[1], c = bits.Sub64(a[1], b[1], c) // s390x:"BRC\t[$]12,"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:51:17 UTC 2024 - 19.6K bytes - Viewed (0)