- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for StringToUTF16 (0.21 sec)
-
src/os/os_windows_test.go
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) return rd.addUTF16s(p), uint16(len(p)-1) * 2 // do not include terminating NUL in the length (as per PrintNameLength and SubstituteNameLength documentation) } func (rd *reparseData) addSubstituteName(name string) {
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/syscall/syscall_windows.go
"sync" "unsafe" ) type Handle uintptr const InvalidHandle = ^Handle(0) // StringToUTF16 returns the UTF-16 encoding of the UTF-8 string s, // with a terminating NUL added. If s contains a NUL byte this // function panics instead of returning an error. // // Deprecated: Use [UTF16FromString] instead. func StringToUTF16(s string) []uint16 { a, err := UTF16FromString(s) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
WAIT_IO_COMPLETION = 0x000000C0 ) // StringToUTF16 is deprecated. Use UTF16FromString instead. // If s contains a NUL byte this function panics instead of // returning an error. func StringToUTF16(s string) []uint16 { a, err := UTF16FromString(s) if err != nil { panic("windows: string with NUL passed to StringToUTF16") } return a }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (windows-386), func FormatMessage //deprecated pkg syscall (windows-386), func StringToUTF16 //deprecated pkg syscall (windows-386), func StringToUTF16Ptr //deprecated pkg syscall (windows-amd64), func FormatMessage //deprecated pkg syscall (windows-amd64), func StringToUTF16 //deprecated pkg syscall (windows-amd64), func StringToUTF16Ptr //deprecated pkg syscall, func StringBytePtr //deprecated
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Stderr", Var, 0}, {"Stdin", Var, 0}, {"Stdout", Var, 0}, {"StringBytePtr", Func, 0}, {"StringByteSlice", Func, 0}, {"StringSlicePtr", Func, 0}, {"StringToSid", Func, 0}, {"StringToUTF16", Func, 0}, {"StringToUTF16Ptr", Func, 0}, {"Symlink", Func, 0}, {"Sync", Func, 0}, {"SyncFileRange", Func, 0}, {"SysProcAttr", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)