Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for go_ (0.03 sec)

  1. src/crypto/internal/boring/build-goboring.sh

    cd /boring/godriver
    cat >goboringcrypto.cc <<'EOF'
    #include <cassert>
    #include "goboringcrypto0.h"
    #include "goboringcrypto1.h"
    #define check_size(t) if(sizeof(t) != sizeof(GO_ ## t)) {printf("sizeof(" #t ")=%d, but sizeof(GO_" #t ")=%d\n", (int)sizeof(t), (int)sizeof(GO_ ## t)); ret=1;}
    #define check_func(f) { auto x = f; x = _goboringcrypto_ ## f ; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/run/run.go

    If the -exec flag is given, 'go run' invokes the binary using xprog:
    	'xprog a.out arguments...'.
    If the -exec flag is not given, GOOS or GOARCH is different from the system
    default, and a program named go_$GOOS_$GOARCH_exec can be found
    on the current search path, 'go run' invokes the binary using that program,
    for example 'go_js_wasm_exec a.out arguments...'. This allows execution of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/distpack/pack.go

    		strings.HasSuffix(name, ".bash") ||
    		strings.HasSuffix(name, ".sh") ||
    		strings.HasSuffix(name, ".pl") ||
    		strings.HasSuffix(name, ".rc") {
    		return 0o755
    	} else if ok, _ := amatch("**/go_?*_?*_exec", name); ok {
    		return 0o755
    	}
    	return 0o644
    }
    
    // readVERSION reads the VERSION file.
    // The first line of the file is the Go version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/carchive_test.go

    			fmt.Fprintf(os.Stderr, "%s", ee.Stderr)
    		}
    		log.Panicf("go env %s failed:\n%s\n", key, err)
    	}
    	return strings.TrimSpace(string(out))
    }
    
    func cmdToRun(name string) []string {
    	execScript := "go_" + goEnv("GOOS") + "_" + goEnv("GOARCH") + "_exec"
    	executor, err := exec.LookPath(execScript)
    	if err != nil {
    		return []string{name}
    	}
    	return []string{executor, name}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/build.go

    		return ExecCmd
    	}
    	ExecCmd = []string{} // avoid work the second time
    	if cfg.Goos == runtime.GOOS && cfg.Goarch == runtime.GOARCH {
    		return ExecCmd
    	}
    	path, err := cfg.LookPath(fmt.Sprintf("go_%s_%s_exec", cfg.Goos, cfg.Goarch))
    	if err == nil {
    		ExecCmd = []string{path}
    	}
    	return ExecCmd
    }
    
    // A coverFlag is a flag.Value that also implies -cover.
    type coverFlag struct{ V flag.Value }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    		oldcc := os.Getenv("CC")
    		os.Setenv("GOOS", gohostos)
    		os.Setenv("GOARCH", gohostarch)
    		os.Setenv("CC", compilerEnvLookup("CC", defaultcc, gohostos, gohostarch))
    		goCmd(nil, gorootBinGo, "build", "-o", pathf("%s/go_%s_%s_exec%s", gorootBin, goos, goarch, exe), wrapperPath)
    		// Restore environment.
    		// TODO(elias.naur): support environment variables in goCmd?
    		os.Setenv("GOOS", goos)
    		os.Setenv("GOARCH", goarch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. src/cmd/internal/testdir/testdir_test.go

    var execCmd []string
    
    func findExecCmd() []string {
    	execCmdOnce.Do(func() {
    		if goos == runtime.GOOS && goarch == runtime.GOARCH {
    			// Do nothing.
    		} else if path, err := exec.LookPath(fmt.Sprintf("go_%s_%s_exec", goos, goarch)); err == nil {
    			execCmd = []string{path}
    		}
    	})
    	return execCmd
    }
    
    // checkExpectedOutput compares the output from compiling and/or running with the contents
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    // If the -exec flag is given, 'go run' invokes the binary using xprog:
    //
    //	'xprog a.out arguments...'.
    //
    // If the -exec flag is not given, GOOS or GOARCH is different from the system
    // default, and a program named go_$GOOS_$GOARCH_exec can be found
    // on the current search path, 'go run' invokes the binary using that program,
    // for example 'go_js_wasm_exec a.out arguments...'. This allows execution of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top