- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 39 for pathpkg (0.17 sec)
-
src/syscall/syscall_windows_test.go
got byte pad [10]byte // to protect ourselves } var want byte = 2 // it is unlikely to have this character in the filename x := X{got: want} pathp, _ := syscall.UTF16PtrFromString(path) h, err := syscall.FindFirstFile(pathp, &(x.fd)) if err != nil { t.Fatalf("FindFirstFile failed: %v", err) } err = syscall.FindClose(h) if err != nil { t.Fatalf("FindClose failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:33:09 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build_read.go
trimSpace := func() { trim := strings.TrimLeftFunc(args, unicode.IsSpace) trimBytes(len(args) - len(trim)) } var list []fileEmbed for trimSpace(); args != ""; trimSpace() { var path string pathPos := pos Switch: switch args[0] { default: i := len(args) for j, c := range args { if unicode.IsSpace(c) { i = j break } } path = args[:i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 13K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
internal/lock/lock_windows.go
// acls is out of scope here. func Open(path string, flag int, perm os.FileMode) (*os.File, error) { if path == "" { return nil, syscall.ERROR_FILE_NOT_FOUND } pathp, err := syscall.UTF16PtrFromString(fixLongPath(path)) if err != nil { return nil, err } var access uint32 switch flag { case syscall.O_RDONLY: access = syscall.GENERIC_READ
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
func Chdir(path string) (err error) { pathp, err := UTF16PtrFromString(path) if err != nil { return err } return SetCurrentDirectory(pathp) } func Mkdir(path string, mode uint32) (err error) { pathp, err := UTF16PtrFromString(path) if err != nil { return err } return CreateDirectory(pathp, nil) } func Rmdir(path string) (err error) { pathp, err := UTF16PtrFromString(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0) -
src/go/build/read.go
trimSpace := func() { trim := strings.TrimLeftFunc(args, unicode.IsSpace) trimBytes(len(args) - len(trim)) } var list []fileEmbed for trimSpace(); args != ""; trimSpace() { var path string pathPos := pos Switch: switch args[0] { default: i := len(args) for j, c := range args { if unicode.IsSpace(c) { i = j break } } path = args[:i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 8.9K bytes - Viewed (0) -
src/os/types_windows.go
if fs.path == "" { // already done return nil } var path string if fs.appendNameToPath { path = fixLongPath(fs.path + `\` + fs.name) } else { path = fs.path } pathp, err := syscall.UTF16PtrFromString(path) if err != nil { return err } // Per https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-points-and-file-operations,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 11.7K bytes - Viewed (0) -
src/syscall/syscall_linux_386.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 10.3K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
func lockPath(path string) (uintptr, error) { if len(path) == 0 { return uintptr(syscall.InvalidHandle), syscall.ERROR_FILE_NOT_FOUND } pathp, err := syscall.UTF16PtrFromString(path) if err != nil { return uintptr(syscall.InvalidHandle), err } access := uint32(syscall.GENERIC_READ) sharemode := uint32(syscall.FILE_SHARE_READ)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0)