Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for gocache (0.3 sec)

  1. src/cmd/go/testdata/script/README

    Each script runs in a fresh temporary work directory tree, available to scripts as $WORK.
    Scripts also have access to other environment variables, including:
    
    	GOARCH=<target GOARCH>
    	GOCACHE=<actual GOCACHE being used outside the test>
    	GOEXE=<executable file suffix: .exe on Windows, empty on other systems>
    	GOOS=<target GOOS>
    	GOPATH=$WORK/gopath
    	GOPROXY=<local module proxy serving from cmd/go/testdata/mod>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    		`; export GOROOT="` + deviceGoroot + `"` +
    		`; export GOPATH="` + deviceGopath + `"` +
    		`; export CGO_ENABLED=0` +
    		`; export GOPROXY=` + os.Getenv("GOPROXY") +
    		`; export GOCACHE="` + deviceRoot + `/gocache"` +
    		`; export PATH="` + deviceGoroot + `/bin":$PATH` +
    		`; export HOME="` + deviceRoot + `/home"` +
    		`; cd "` + deviceCwd + `"` +
    		"; '" + deviceBin + "' " + strings.Join(os.Args[2:], " ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    				env[i].Changed = true
    			}
    		case "GOBIN", "GOEXPERIMENT", "GOFLAGS", "GOINSECURE", "GOPRIVATE", "GOTMPDIR", "GOVCS":
    			if env[i].Value != "" {
    				env[i].Changed = true
    			}
    		case "GOCACHE":
    			env[i].Value, env[i].Changed = cache.DefaultDir()
    		case "GOTOOLCHAIN":
    			env[i].Value, env[i].Changed = cfg.EnvOrAndChanged("GOTOOLCHAIN", "")
    		case "GODEBUG":
    			env[i].Changed = env[i].Value != ""
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. misc/ios/go_ios_exec.go

    func runLLDB(target, appdir, deviceapp string, args []string) ([]byte, error) {
    	var env []string
    	for _, e := range os.Environ() {
    		// Don't override TMPDIR, HOME, GOCACHE on the device.
    		if strings.HasPrefix(e, "TMPDIR=") || strings.HasPrefix(e, "HOME=") || strings.HasPrefix(e, "GOCACHE=") {
    			continue
    		}
    		env = append(env, e)
    	}
    	lldb := exec.Command(
    		"python",
    		"-", // Read script from stdin.
    		target,
    		appdir,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that running a fuzz target that returns without failing or calling
    # f.Fuzz fails and causes a non-zero exit status.
    ! go test noop_fuzz_test.go
    ! stdout ^ok
    stdout FAIL
    
    # Test that fuzzing a fuzz target that returns without failing or calling
    # f.Fuzz fails and causes a non-zero exit status.
    ! go test -fuzz=Fuzz -fuzztime=1x noop_fuzz_test.go
    ! stdout ^ok
    stdout FAIL
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	env := []string{
    		pathEnvName() + "=" + testBin + string(filepath.ListSeparator) + os.Getenv(pathEnvName()),
    		homeEnvName() + "=/no-home",
    		"CCACHE_DISABLE=1", // ccache breaks with non-existent HOME
    		"GOARCH=" + runtime.GOARCH,
    		"TESTGO_GOHOSTARCH=" + goHostArch,
    		"GOCACHE=" + testGOCACHE,
    		"GOCOVERDIR=" + os.Getenv("GOCOVERDIR"),
    		"GODEBUG=" + os.Getenv("GODEBUG"),
    		"GOEXE=" + cfg.ExeSuffix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/prog.go

    	can map[ProgCmd]bool
    
    	// fuzzDirCache is another Cache implementation to use for the FuzzDir
    	// method. In practice this is the default GOCACHE disk-based
    	// implementation.
    	//
    	// TODO(bradfitz): maybe this isn't ideal. But we'd need to extend the Cache
    	// interface and the fuzzing callers to be less disk-y to do more here.
    	fuzzDirCache Cache
    
    	closing      atomic.Bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    var HelpCache = &base.Command{
    	UsageLine: "cache",
    	Short:     "build and test caching",
    	Long: `
    The go command caches build outputs for reuse in future builds.
    The default location for cache data is a subdirectory named go-build
    in the standard user cache directory for the current operating system.
    Setting the GOCACHE environment variable overrides this default,
    and running 'go env GOCACHE' prints the current cache directory.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. hack/lib/golang.sh

      # If these are not set, set them now.  This ensures that any subsequent
      # scripts we run (which may call this function again) use the same values.
      export GOCACHE="${GOCACHE:-"${KUBE_GOPATH}/cache/build"}"
      export GOMODCACHE="${GOMODCACHE:-"${KUBE_GOPATH}/cache/mod"}"
    
      # Make sure our own Go binaries are in PATH.
      export PATH="${KUBE_GOPATH}/bin:${PATH}"
    
      # Unset GOBIN in case it already exists in the current session.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. src/internal/fuzz/fuzz.go

    }
    
    func (c *coordinator) elapsed() time.Duration {
    	return time.Since(c.startTime).Round(1 * time.Second)
    }
    
    // readCache creates a combined corpus from seed values and values in the cache
    // (in GOCACHE/fuzz).
    //
    // TODO(fuzzing): need a mechanism that can remove values that
    // aren't useful anymore, for example, because they have the wrong type.
    func (c *coordinator) readCache() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top