- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for fileFor (0.14 sec)
-
src/runtime/symtab.go
if !f.valid() { return "?", 0 } fileno, _ := pcvalue(f, f.pcfile, targetpc, strict) line, _ = pcvalue(f, f.pcln, targetpc, strict) if fileno == -1 || line == -1 || int(fileno) >= len(datap.filetab) { // print("looking for ", hex(targetpc), " in ", funcname(f), " got file=", fileno, " line=", lineno, "\n") return "?", 0 } file = funcfile(f, fileno) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
pkg/util/filesystem/util_windows.go
// we need to dial the file and check if we receive an error to determine if a file is Unix Domain Socket file. // Note that querrying for the Reparse Points (https://docs.microsoft.com/en-us/windows/win32/fileio/reparse-points) // for the file (using FSCTL_GET_REPARSE_POINT) and checking for reparse tag: reparseTagSocket // does NOT work in 1809 if the socket file is created within a bind mounted directory by a container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 4K bytes - Viewed (0) -
src/os/path_windows.go
// directory results in a path that is too long, fixLongPath returns // the absolute path with the extended-length prefix. // // See https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation func fixLongPath(path string) string { if windows.CanUseLongPaths { return path } return addExtendedPrefix(path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 4.7K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
"Duration the discovery server needs to terminate gracefully") // RegistryOptions Controller options c.PersistentFlags().StringVar(&serverArgs.RegistryOptions.FileDir, "configDir", "", "Directory to watch for updates to config yaml files. If specified, the files will be used as the source of config, rather than a CRD client.")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
rt.name, rt.expectedError, (len(output) > 0), ) } } } func TestDirAvailableCheck(t *testing.T) { fileDir, err := os.MkdirTemp("", "dir-avail-check") if err != nil { t.Fatalf("failed creating directory: %v", err) } defer os.RemoveAll(fileDir) var tests = []struct { name string check DirAvailableCheck expectedError bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
src/net/http/fs_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
src/internal/filepathlite/path_windows.go
// It does not detect names with an extension, which are also reserved on some Windows versions. // // For details, search for PRN in // https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file. func isReservedName(name string) bool { // Device names can have arbitrary trailing characters following a dot or colon. base := name for i := 0; i < len(base); i++ { switch base[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/module/module.go
} if !ok { return fmt.Errorf("invalid char %q", r) } } // Windows disallows a bunch of path elements, sadly. // See https://docs.microsoft.com/en-us/windows/desktop/fileio/naming-a-file short := elem if i := strings.Index(short, "."); i >= 0 { short = short[:i] } for _, bad := range badWindowsNames { if strings.EqualFold(bad, short) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 20:17:07 UTC 2024 - 26.9K bytes - Viewed (0) -
src/os/file_windows.go
return 0, err } attrs := uint32(syscall.FILE_FLAG_BACKUP_SEMANTICS) // Use FILE_FLAG_OPEN_REPARSE_POINT, otherwise CreateFile will follow symlink. // See https://docs.microsoft.com/en-us/windows/desktop/FileIO/symbolic-link-effects-on-file-systems-functions#createfile-and-createfiletransacted attrs |= syscall.FILE_FLAG_OPEN_REPARSE_POINT h, err := syscall.CreateFile(p, 0, 0, nil, syscall.OPEN_EXISTING, attrs, 0) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
return 0 } // with drive letter c := path[0] if path[1] == ':' && ('a' <= c && c <= 'z' || 'A' <= c && c <= 'Z') { return 2 } // is it UNC? https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file if l := len(path); l >= 5 && isSlash(path[0]) && isSlash(path[1]) && !isSlash(path[2]) && path[2] != '.' { // first, leading `\\` and next shouldn't be `\`. its server name. for n := 3; n < l-1; n++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0)