Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for GOROOT (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/buildall.bash

    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    	../bin/go tool dist list | sed -e 's|/|-|' |
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. misc/go_android_exec/README

    To run tests on the Android device, add the bin directory to PATH so the
    go tool can find the go_android_$GOARCH_exec wrapper generated by
    make.bash. For example, to run the go1 benchmarks
    
    	export PATH=$GOROOT/bin:$PATH
    	cd $GOROOT/test/bench/go1/
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 01 14:45:55 GMT 2023
    - 732 bytes
    - Click Count (0)
  3. cmd/build-constants.go

    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    	// Version - version time.RFC3339.
    	Version = "DEVELOPMENT.GOGET"
    
    	// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
    	ReleaseTag = "DEVELOPMENT.GOGET"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. src/all.rc

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    rfork n
    
    if(! test -f make.rc){
    	echo 'all.rc must be run from $GOROOT/src' >[1=2]
    	exit wrongdir
    }
    
    . ./make.rc --no-banner $*
    bind -b $GOROOT/bin /bin
    ./run.rc --no-rebuild
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jun 10 13:00:41 GMT 2025
    - 391 bytes
    - Click Count (0)
  5. misc/go_android_exec/main.go

    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  6. internal/logger/logger.go

    	}
    
    	goPathList = strings.Split(goPath, pathSeparator)
    	goRootList = strings.Split(goRoot, pathSeparator)
    	defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator)
    	defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator)
    
    	// Add trim string "{GOROOT}/src/" into trimStrings
    	trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. misc/chrome/gophertool/README.txt

    To install:
    
    1) chrome://extensions/
    2) click "[+] Developer Mode" in top right
    3) "Load unpacked extension..."
    4) pick $GOROOT/misc/chrome/gophertool
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 23 21:27:51 GMT 2011
    - 194 bytes
    - Click Count (0)
  8. src/archive/zip/testdata/readme.zip

    Binary Distribution Notes If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this README). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install.html). You should also add the Go binary directory $GOROOT/bin to your shell's path. For example, if you extracted the tar file into $HOME/go, you might put the following in your...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.8K bytes
    - Click Count (0)
  9. misc/ios/go_ios_exec.go

    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    	cwd, err = filepath.EvalSymlinks(cwd)
    	if err != nil {
    		log.Fatal(err)
    	}
    	goroot, err := filepath.EvalSymlinks(runtime.GOROOT())
    	if err != nil {
    		return "", false, err
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. src/cmd/api/api_test.go

    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    	build.Default.GOROOT = testenv.GOROOT(nil)
    
    	os.Exit(m.Run())
    }
    
    var (
    	updateGolden = flag.Bool("updategolden", false, "update golden files")
    )
    
    func TestGolden(t *testing.T) {
    	if *flagCheck {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 02 17:06:27 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top