Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Stat (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top