- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 349 for uint16 (0.11 sec)
-
src/internal/syscall/windows/reparse_windows.go
SubstituteNameLength uint16 // PrintNameOffset is similar to SubstituteNameOffset. PrintNameOffset uint16 // PrintNameLength is similar to SubstituteNameLength. PrintNameLength uint16 // Flags specifies whether the substitute name is a full path name or // a path name relative to the directory containing the symbolic link. Flags uint32 PathBuffer [1]uint16 } // Path returns path stored in rb.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 07:15:06 UTC 2024 - 3.4K bytes - Viewed (0) -
src/unicode/utf16/utf16.go
func Encode(s []rune) []uint16 { n := len(s) for _, v := range s { if v >= surrSelf { n++ } } a := make([]uint16, n) n = 0 for _, v := range s { switch RuneLen(v) { case 1: // normal rune a[n] = uint16(v) n++ case 2: // needs surrogate sequence r1, r2 := EncodeRune(v) a[n] = uint16(r1) a[n+1] = uint16(r2) n += 2 default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 3.9K bytes - Viewed (0) -
src/runtime/defs_freebsd_amd64.go
mc_fs uint16 mc_gs uint16 mc_addr uint64 mc_flags uint32 mc_es uint16 mc_ds uint16 mc_err uint64 mc_rip uint64 mc_cs uint64 mc_rflags uint64 mc_rsp uint64 mc_ss uint64 mc_len uint64 mc_fpformat uint64 mc_ownedfp uint64 mc_fpstate [64]uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.9K bytes - Viewed (1) -
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/internal/types/testdata/fixedbugs/issue63563.go
_ = int16(1 /* ERROR "constant 65535 overflows int16" */ <<16 - 1) _ = int32(1 /* ERROR "constant 4294967295 overflows int32" */ <<32 - 1) _ = int64(1 /* ERROR "constant 18446744073709551615 overflows int64" */ <<64 - 1) _ = uint8(1 /* ERROR "constant 256 overflows uint8" */ << 8) _ = uint16(1 /* ERROR "constant 65536 overflows uint16" */ << 16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 1.2K bytes - Viewed (0) -
src/strconv/makeisprint.go
lo = i } } return } func to16(x []uint32) []uint16 { var y []uint16 for _, v := range x { if uint32(uint16(v)) != v { panic("bad 32->16 conversion") } y = append(y, uint16(v)) } return y } func main() { flag.Parse() rang, except := scan(0, 0xFFFF) range16 = to16(rang) except16 = to16(except) range32, except32 = scan(0x10000, unicode.MaxRune)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:56:17 UTC 2024 - 4.3K bytes - Viewed (0) -
test/fixedbugs/issue57955.go
package main func main() { Decode[int16](nil) Decode[uint16](nil) Decode[float64](nil) } func DecodeInt16(b []byte) (int16, int) { return 0, 0 } func DecodeUint16(b []byte) (uint16, int) { return 0, 0 } func DecodeFloat64(b []byte) (float64, int) { return 0, 0 } func Decode[T any](b []byte) (T, int) { switch any(*new(T)).(type) { case int16: v, n := DecodeInt16(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 19:29:08 UTC 2023 - 794 bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
} return kemInfo.curve.NewPublicKey(bytes) } type uint128 struct { hi, lo uint64 } func (u uint128) addOne() uint128 { lo, carry := bits.Add64(u.lo, 1, 0) return uint128{u.hi + carry, lo} } func (u uint128) bitLen() int { return bits.Len64(u.hi) + bits.Len64(u.lo) } func (u uint128) bytes() []byte { b := make([]byte, 16) binary.BigEndian.PutUint64(b[0:], u.hi)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/trie.go
// the value for b is by r.value + (b - r.lo) * stride. func (t *sparseBlocks) lookup(n uint32, b byte) uint16 { offset := t.offset[n] header := t.values[offset] lo := offset + 1 hi := lo + uint16(header.lo) for lo < hi { m := lo + (hi-lo)/2 r := t.values[m] if r.lo <= b && b <= r.hi { return r.value + uint16(b-r.lo)*header.value } if b < r.lo { hi = m } else { lo = m + 1 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.2K bytes - Viewed (0) -
src/unicode/utf16/utf16_test.go
} } } type decodeTest struct { in []uint16 out []rune } var decodeTests = []decodeTest{ {[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}}, {[]uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}, []rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}}, {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}, {[]uint16{0xdfff}, []rune{0xfffd}}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0)