- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for 0xd800 (0.13 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/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/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/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/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) -
src/internal/runtime/syscall/defs_linux_amd64.go
const ( SYS_MPROTECT = 10 SYS_FCNTL = 72 SYS_EPOLL_CTL = 233 SYS_EPOLL_PWAIT = 281 SYS_EPOLL_CREATE1 = 291 SYS_EPOLL_PWAIT2 = 441 SYS_EVENTFD2 = 290 EFD_NONBLOCK = 0x800 ) type EpollEvent struct { Events uint32 Data [8]byte // unaligned uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 14:54:29 UTC 2024 - 463 bytes - Viewed (0) -
src/internal/syscall/unix/at_sysnum_netbsd.go
const unlinkatTrap uintptr = syscall.SYS_UNLINKAT const openatTrap uintptr = syscall.SYS_OPENAT const fstatatTrap uintptr = syscall.SYS_FSTATAT const ( AT_EACCESS = 0x100 AT_FDCWD = -0x64 AT_REMOVEDIR = 0x800 AT_SYMLINK_NOFOLLOW = 0x200 UTIME_OMIT = (1 << 30) - 2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 14:13:33 UTC 2023 - 492 bytes - Viewed (0) -
src/internal/runtime/syscall/defs_linux_arm.go
const ( SYS_FCNTL = 55 SYS_MPROTECT = 125 SYS_EPOLL_CTL = 251 SYS_EPOLL_PWAIT = 346 SYS_EPOLL_CREATE1 = 357 SYS_EPOLL_PWAIT2 = 441 SYS_EVENTFD2 = 356 EFD_NONBLOCK = 0x800 ) type EpollEvent struct { Events uint32 _pad uint32 Data [8]byte // to match amd64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 14:54:29 UTC 2024 - 476 bytes - Viewed (0) -
src/runtime/defs_linux_s390x.go
// Pad struct to the max size in the kernel. _ [_sigev_max_size - unsafe.Sizeof(sigeventFields{})]byte } const ( _O_RDONLY = 0x0 _O_WRONLY = 0x1 _O_CREAT = 0x40 _O_TRUNC = 0x200 _O_NONBLOCK = 0x800 _O_CLOEXEC = 0x80000 _SA_RESTORER = 0 ) type stackt struct { ss_sp *byte ss_flags int32 ss_size uintptr } type sigcontext struct { psw_mask uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.2K bytes - Viewed (0) -
src/runtime/defs_linux_ppc64.go
} // created by cgo -cdefs and then converted to Go // cgo -cdefs defs_linux.go defs3_linux.go const ( _O_RDONLY = 0x0 _O_WRONLY = 0x1 _O_CREAT = 0x40 _O_TRUNC = 0x200 _O_NONBLOCK = 0x800 _O_CLOEXEC = 0x80000 _SA_RESTORER = 0 ) type ptregs struct { gpr [32]uint64 nip uint64 msr uint64 orig_gpr3 uint64 ctr uint64 link uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 3.7K bytes - Viewed (0)