Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runtime (0.17 sec)

  1. misc/go_android_exec/main.go

    	}
    	return nil
    }
    
    func findGoroot() (string, error) {
    	gorootOnce.Do(func() {
    		// If runtime.GOROOT reports a non-empty path, assume that it is valid.
    		// (It may be empty if this binary was built with -trimpath.)
    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. cmd/main.go

    }
    
    func versionBanner(c *cli.Context) io.Reader {
    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    	fmt.Fprintln(banner, color.Blue("Runtime:")+color.Bold(" %s %s/%s", runtime.Version(), runtime.GOOS, runtime.GOARCH))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/asm/main.go

    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    		buf.WriteString(objabi.HeaderString())
    		fmt.Fprintf(buf, "!\n")
    	}
    
    	// Set macros for GOEXPERIMENTs so we can easily switch
    	// runtime assembly code based on them.
    	if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
    		for _, exp := range buildcfg.Experiment.Enabled() {
    			flags.D = append(flags.D, "GOEXPERIMENT_"+exp)
    		}
    	}
    
    	var ok, diag bool
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top