- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 829 for stwat (0.04 sec)
-
src/cmd/go/testdata/vendormod.txt
func TestDir(t *testing.T) { if _, err := os.Stat("../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } } -- a/foo/bar/c/main.go -- package c -- a/foo/bar/c/main_test.go -- package c import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../../../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } if _, err := os.Stat("./testdata/1"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 12 20:46:50 UTC 2018 - 2.3K bytes - Viewed (0) -
pkg/kubelet/container/os.go
func (RealOS) Symlink(oldname string, newname string) error { return os.Symlink(oldname, newname) } // Stat will call os.Stat to get the FileInfo for a given path func (RealOS) Stat(path string) (os.FileInfo, error) { return os.Stat(path) } // Remove will call os.Remove to remove the path. func (RealOS) Remove(path string) error { return os.Remove(path) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 3.7K bytes - Viewed (0) -
src/syscall/dir_plan9.go
b = pstring(b, d.Uid) b = pstring(b, d.Gid) b = pstring(b, d.Muid) return n, nil } // UnmarshalDir decodes a single 9P stat message from b and returns the resulting Dir. // // If b is too small to hold a valid stat message, [ErrShortStat] is returned. // // If the stat message itself is invalid, [ErrBadStat] is returned. func UnmarshalDir(b []byte) (*Dir, error) { if len(b) < STATFIXLEN { return nil, ErrShortStat
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:32:38 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 //sys Fchown(fd int, uid int, gid int) (err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Fstatat(dirfd int, path string, stat *Stat_t, flags int) (err error) = SYS_NEWFSTATAT //sys Fstatfs(fd int, buf *Statfs_t) (err error) //sys Ftruncate(fd int, length int64) (err error) //sysnb Getegid() (egid int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5K bytes - Viewed (0) -
src/net/unixsock_windows_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:24:57 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_windows.go
import ( "github.com/fsnotify/fsnotify" "k8s.io/kubernetes/pkg/kubelet/util" "os" ) func getStat(event fsnotify.Event) (os.FileInfo, error) { fi, err := os.Stat(event.Name) // TODO: This is a workaround for Windows 20H2 issue for os.Stat(). Please see // microsoft/Windows-Containers#97 for details. // Once the issue is resvolved, the following os.Lstat() is not needed. if err != nil { fi, err = os.Lstat(event.Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:26:37 UTC 2023 - 1.1K bytes - Viewed (0) -
src/os/executable_path.go
return "", ErrPermission } } return "", ErrNotExist } // isExecutable returns an error if a given file is not an executable. func isExecutable(path string) error { stat, err := Stat(path) if err != nil { return err } mode := stat.Mode() if !mode.IsRegular() { return ErrPermission } if (mode & 0111) == 0 { return ErrPermission } return nil } // splitPathList splits a path list.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AttributeBasedFileVisitDetailsFactory.java
* @param relativePath RelativePath of the file * @param attrs attributes of the path, null if not available * @param stopFlag transient flag to stop visiting * @param fileSystem for Chmod and Stat * @return FileVisitDetails */ public static FileVisitDetails getRootFileVisitDetails( Path path, RelativePath relativePath, @Nullable BasicFileAttributes attrs,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
pilot/pkg/networking/telemetry/telemetry.go
serviceTargetPortStatPattern = "%TARGET_PORT%" servicePortNameStatPattern = "%SERVICE_PORT_NAME%" subsetNameStatPattern = "%SUBSET_NAME%" ) // BuildStatPrefix builds a stat prefix based on the stat pattern. func BuildStatPrefix(statPattern string, host string, subset string, port *model.Port, targetPort int, attributes *model.ServiceAttributes) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 02:38:43 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/bucket-replication-stats.go
ReplicatedSize: stat.ReplicatedSize + oldst.ReplicatedSize, ReplicatedCount: stat.ReplicatedCount + oldst.ReplicatedCount, Latency: stat.Latency.merge(oldst.Latency), XferRateLrg: &lrg, XferRateSml: &sml, } totReplicatedSize += stat.ReplicatedSize totReplicatedCount += stat.ReplicatedCount totFailed = totFailed.merge(stat.FailStats) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 13.4K bytes - Viewed (0)