- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,838 for uint16s (0.27 sec)
-
src/internal/poll/fd_windows.go
if m > maxWrite { m = maxWrite } chunk := runes[:m] runes = runes[m:] uint16s := utf16.Encode(chunk) for len(uint16s) > 0 { var written uint32 err := syscall.WriteConsole(fd.Sysfd, &uint16s[0], uint32(len(uint16s)), &written, nil) if err != nil { return 0, err } uint16s = uint16s[written:] } } return n, nil } // Pwrite emulates the Unix pwrite system call.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
src/compress/bzip2/huffman.go
// symbol is found. func (t *huffmanTree) Decode(br *bitReader) (v uint16) { nodeIndex := uint16(0) // node 0 is the root of the tree. for { node := &t.nodes[nodeIndex] var bit uint16 if br.bits > 0 { // Get next bit - fast path. br.bits-- bit = uint16(br.n>>(br.bits&63)) & 1 } else { // Get next bit - slow path. // Use ReadBits to retrieve a single bit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:44:37 UTC 2024 - 6.7K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// // m must be a power of 2 <= maxPagesPerPhysPage. func fillAligned(x uint64, m uint) uint64 { apply := func(x uint64, c uint64) uint64 { // The technique used it here is derived from // https://graphics.stanford.edu/~seander/bithacks.html#ZeroInWord // and extended for more than just bytes (like nibbles // and uint16s) by using an appropriate constant. // // To summarize the technique, quoting from that page:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/net/netip/uint128.go
func (u uint128) xor(m uint128) uint128 { return uint128{u.hi ^ m.hi, u.lo ^ m.lo} } // or returns the bitwise OR of u and m (u|m). func (u uint128) or(m uint128) uint128 { return uint128{u.hi | m.hi, u.lo | m.lo} } // not returns the bitwise NOT of u. func (u uint128) not() uint128 { return uint128{^u.hi, ^u.lo} } // subOne returns u - 1. func (u uint128) subOne() uint128 { lo, borrow := bits.Sub64(u.lo, 1, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 21:28:44 UTC 2022 - 2.2K bytes - Viewed (1) -
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
sectionAdditionals: "Additional", } // header is the wire format for a DNS message header. type header struct { id uint16 bits uint16 questions uint16 answers uint16 authorities uint16 additionals uint16 } func (h *header) count(sec section) uint16 { switch sec { case sectionQuestions: return h.questions case sectionAnswers: return h.answers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
tensorflow/c/kernels/ops/bitcast.cc
"uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, " "qint16, quint16, qint32}"); TF_OpDefinitionBuilderAddAttr( op_builder, "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, " "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, " "qint16, quint16, qint32}");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 07:51:50 UTC 2024 - 5.1K bytes - Viewed (0) -
test/divmod.go
} if (uint64(uint16(x)) == x || uint64(uint16(^x)) == ^x) && (uint64(uint16(y)) == y || uint64(uint16(^y)) == ^y) { checkuint16(uint16(x), uint16(y)) } if (uint64(uint8(x)) == x || uint64(uint8(^x)) == ^x) && (uint64(uint8(y)) == y || uint64(uint8(^y)) == ^y) { checkuint8(uint8(x), uint8(y)) } sx := int64(x) sy := int64(y) checkint64(sx, sy)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 9.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
Errno int32 Use int32 Inits uint64 Rmx RtMetrics } type RtMetrics struct { Locks uint64 Mtu uint64 Pksent uint64 Expire uint64 Sendpipe uint64 Ssthresh uint64 Rtt uint64 Rttvar uint64 Recvpipe uint64 Hopcount uint64 Mssopt uint16 Pad uint16 Msl uint64 Iwmaxsegs uint64 Iwcapsegs uint64 } const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/runtime/defs_freebsd_arm64.go
si_pid int32 si_uid uint32 si_status int32 si_addr uint64 si_value [8]byte _reason [40]byte } type gpregs struct { gp_x [30]uint64 gp_lr uint64 gp_sp uint64 gp_elr uint64 gp_spsr uint32 gp_pad int32 } type fpregs struct { fp_q [64]uint64 // actually [32]uint128 fp_sr uint32 fp_cr uint32 fp_flags int32 fp_pad int32 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
Vhid uint8 Datalen uint16 Mtu uint32 Metric uint32 Baudrate uint64 Ipackets uint64 Ierrors uint64 Opackets uint64 Oerrors uint64 Collisions uint64 Ibytes uint64 Obytes uint64 Imcasts uint64 Omcasts uint64 Iqdrops uint64 Oqdrops uint64 Noproto uint64 Hwassist uint64 _ [8]byte _ [16]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.7K bytes - Viewed (0)