- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Stat (0.07 sec)
-
src/cmd/trace/main.go
if err != nil { logAndDie(fmt.Errorf("failed to read trace file: %w", err)) } defer tracef.Close() // Get the size of the trace file. fi, err := tracef.Stat() if err != nil { logAndDie(fmt.Errorf("failed to stat trace file: %v", err)) } traceSize := fi.Size() // Handle requests for profiles. if *pprofFlag != "" { parsed, err := parseTrace(tracef, traceSize) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
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: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
asmb2(ctxt) bench.Start("Munmap") ctxt.Out.Close() // Close handles Munmapping if necessary. bench.Start("hostlink") ctxt.hostlink() if ctxt.Debugvlog != 0 { ctxt.Logf("%s", ctxt.loader.Stat()) ctxt.Logf("%d liveness data\n", liveness) } bench.Start("Flush") ctxt.Bso.Flush() bench.Start("archive") ctxt.archive() bench.Report(os.Stdout) errorexit() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/go/main.go
return } if cfg.GOROOT == "" { fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set\n") os.Exit(2) } if fi, err := os.Stat(cfg.GOROOT); err != nil || !fi.IsDir() { fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %v\n", cfg.GOROOT) os.Exit(2) } switch strings.ToLower(cfg.GOROOT) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0)