- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for 0xd800 (0.12 sec)
-
src/unicode/utf16/utf16_test.go
{[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}}, {[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}, []uint16{0xffff, 0xd800, 0xdc00, 0xd800, 0xdc01, 0xd808, 0xdf45, 0xdbff, 0xdfff}}, {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1}, []uint16{'a', 'b', 0xd7ff, 0xfffd, 0xfffd, 0xe000, 0xfffd, 0xfffd}}, } func TestEncode(t *testing.T) { for _, tt := range encodeTests { out := Encode(tt.in)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 6.5K bytes - Viewed (0) -
src/syscall/wtf8_windows_test.go
wstr: []uint16{0xD800, 0xD800}, }, { // "High surrogate followed by a symbol that is not a surrogate" str: string([]byte{0xED, 0xA0, 0x80, 0xA}), wstr: []uint16{0xD800, 0xA}, }, { // "Unmatched high surrogate, followed by a surrogate pair, followed by an unmatched high surrogate" str: string([]byte{0xED, 0xA0, 0x80, 0xF0, 0x9D, 0x8C, 0x86, 0xED, 0xA0, 0x80}), wstr: []uint16{0xD800, 0xD834, 0xDF06, 0xD800}, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 09:26:16 UTC 2023 - 4.3K bytes - Viewed (0) -
src/unicode/utf16/utf16.go
maxRune = '\U0010FFFF' // Maximum valid Unicode code point. ) const ( // 0xd800-0xdc00 encodes the high 10 bits of a pair. // 0xdc00-0xe000 encodes the low 10 bits of a pair. // the value is those 20 bits plus 0x10000. surr1 = 0xd800 surr2 = 0xdc00 surr3 = 0xe000 surrSelf = 0x10000 ) // IsSurrogate reports whether the specified Unicode code point
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/syscall/wtf8_windows.go
// // See go.dev/issues/59971 for more info. package syscall import ( "unicode/utf16" "unicode/utf8" ) const ( surr1 = 0xd800 surr2 = 0xdc00 surr3 = 0xe000 tx = 0b10000000 t3 = 0b11100000 maskx = 0b00111111 mask3 = 0b00001111 rune1Max = 1<<7 - 1 rune2Max = 1<<11 - 1 ) // encodeWTF16 returns the potentially ill-formed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 09:26:16 UTC 2023 - 2.7K bytes - Viewed (0) -
src/internal/fuzz/encoding_test.go
byte('\'') math.Float64frombits(0x7ff8000000000002) math.Float32frombits(0x7fc00001)`, }, { desc: "rune validation", in: `go test fuzz v1 rune(0) rune(0x41) rune(-1) rune(0xfffd) rune(0xd800) rune(0x10ffff) rune(0x110000) `, want: `go test fuzz v1 rune('\x00') rune('A') int32(-1) rune('�') int32(55296) rune('\U0010ffff') int32(1114112)`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 00:20:34 UTC 2024 - 8.2K bytes - Viewed (0) -
src/html/template/css_test.go
{'A', true}, {'Z', true}, {'a', true}, {'z', true}, {'_', true}, {'-', true}, {':', false}, {';', false}, {' ', false}, {0x7f, false}, {0x80, true}, {0x1234, true}, {0xd800, false}, {0xdc00, false}, {0xfffe, false}, {0x10000, true}, {0x110000, false}, } for _, test := range tests { got := isCSSNmchar(test.rune) if got != test.want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 19:38:18 UTC 2023 - 6.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/idna/trieval.go
indexShift = 3 xorBit = 0x4 // interpret the index as an xor pattern inlineXOR = 0xE000 // These bits are set if the XOR pattern is inlined. joinShift = 8 joinMask = 0x07 // Attributes attributesMask = 0x1800 viramaModifier = 0x1800 modifier = 0x1000 rtl = 0x0800 mayNeedNorm = 0x2000 ) // A category corresponds to a category defined in the IDNA mapping table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 04:45:15 UTC 2022 - 3K bytes - Viewed (0) -
src/os/stat_solaris.go
import ( "internal/filepathlite" "syscall" "time" ) // These constants aren't in the syscall package, which is frozen. // Values taken from golang.org/x/sys/unix. const ( _S_IFNAM = 0x5000 _S_IFDOOR = 0xd000 _S_IFPORT = 0xe000 ) func fillFileStatFromSys(fs *fileStat, name string) { fs.name = filepathlite.Base(name) fs.size = fs.sys.Size fs.modTime = time.Unix(fs.sys.Mtim.Unix())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 1.3K bytes - Viewed (0) -
src/debug/pe/pe.go
IMAGE_FILE_BYTES_REVERSED_LO = 0x0080 IMAGE_FILE_32BIT_MACHINE = 0x0100 IMAGE_FILE_DEBUG_STRIPPED = 0x0200 IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP = 0x0400 IMAGE_FILE_NET_RUN_FROM_SWAP = 0x0800 IMAGE_FILE_SYSTEM = 0x1000 IMAGE_FILE_DLL = 0x2000 IMAGE_FILE_UP_SYSTEM_ONLY = 0x4000 IMAGE_FILE_BYTES_REVERSED_HI = 0x8000 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 01:21:43 UTC 2022 - 6.6K bytes - Viewed (0) -
src/internal/syscall/unix/at_sysnum_freebsd.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package unix import "syscall" const ( AT_EACCESS = 0x100 AT_FDCWD = -0x64 AT_REMOVEDIR = 0x800 AT_SYMLINK_NOFOLLOW = 0x200 UTIME_OMIT = -0x2 unlinkatTrap uintptr = syscall.SYS_UNLINKAT openatTrap uintptr = syscall.SYS_OPENAT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 03:38:07 UTC 2023 - 497 bytes - Viewed (0)