- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 157 for fstat (0.03 sec)
-
misc/go_android_exec/main.go
statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status") stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return err } defer stat.Close() // Serialize check and copying. if err := syscall.Flock(int(stat.Fd()), syscall.LOCK_EX); err != nil { return err } s, err := io.ReadAll(stat) if err != nil { return err } if string(s) == goVersion {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
lib/time/update.bash
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:25:08 UTC 2024 - 1.8K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), func ForkExec(string, []string, *ProcAttr) (int, error) #53466 pkg syscall (freebsd-riscv64), func Fpathconf(int, int) (int, error) #53466 pkg syscall (freebsd-riscv64), func Fstat(int, *Stat_t) error #53466 pkg syscall (freebsd-riscv64), func Fstatat(int, string, *Stat_t, int) error #53466 pkg syscall (freebsd-riscv64), func Fstatfs(int, *Statfs_t) error #53466
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 21:23:32 UTC 2023 - 602.6K bytes - Viewed (0) -
cmd/metacache_gen.go
err = msgp.WrapError(err, "root") return } case "fnf": z.fileNotFound, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "fileNotFound") return } case "stat": { var zb0002 uint8 zb0002, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err, "status") return } z.status = scanStatus(zb0002) } case "rec":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
cmd/xl-storage-format-v1_gen.go
} case "Format": z.Format, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Format") return } case "Stat": err = z.Stat.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Stat") return } case "Erasure": err = z.Erasure.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Erasure") return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 41.2K bytes - Viewed (0) -
cmd/naughty-disk_test.go
return nil, err } return d.disk.VerifyFile(ctx, volume, path, fi) } func (d *naughtyDisk) StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) { if err := d.calcError(); err != nil { return stat, err } return d.disk.StatInfoFile(ctx, volume, path, glob) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 10.1K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
fs.ReadDirFS } type fakeFileFakeFds struct { fs.File fd uintptr } func (f *fakeFileFakeFds) Fd() uintptr { return f.fd } func (f *fakeFileFakeFds) Stat() (fs.FileInfo, error) { fi, err := f.File.Stat() if err != nil { return nil, err } return &fakeFileFakeFI{FileInfo: fi}, nil } type fakeFileFakeFI struct { fs.FileInfo }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 23:33:46 UTC 2024 - 3.9K bytes - Viewed (0) -
helm/minio/templates/_helper_create_bucket.txt
STATUS=$? done set -e # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} stat myminio/$BUCKET >/dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jan 12 18:18:57 UTC 2024 - 3.5K bytes - Viewed (0) -
cmd/metrics.go
prometheus.GaugeValue, float64(stat.ReplicationStats.ReplicatedSize), bucket, ) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName("bucket", "replication", "received_size"), "Total capacity replicated to this instance", []string{"bucket"}, nil), prometheus.GaugeValue, float64(stat.ReplicationStats.ReplicaSize), bucket, )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/archive/tar/tar_test.go
testenv.MustHaveSymlink(t) tmpdir := t.TempDir() link := filepath.Join(tmpdir, "link") target := tmpdir if err := os.Symlink(target, link); err != nil { t.Fatal(err) } fi, err := os.Lstat(link) if err != nil { t.Fatal(err) } h, err := FileInfoHeader(fi, target) if err != nil { t.Fatal(err) } if g, e := h.Name, fi.Name(); g != e { t.Errorf("Name = %q; want %q", g, e)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0)