- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for gocache (0.15 sec)
-
src/cmd/go/testdata/script/clean_cache_n.txt
env GOCACHE=$WORK/cache # Build something so that the cache gets populates go build main.go # Check that cache contains directories before running exists $GOCACHE/00 # Run go clean -cache -n and ensure that directories weren't deleted go clean -cache -n exists $GOCACHE/00 # Re-run go clean cache without the -n flag go ensure that directories were properly removed go clean -cache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:22:49 UTC 2022 - 637 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_cache.txt
[!fuzz-instrumented] skip [short] skip env GOCACHE=$WORK/cache # Fuzz cache should not exist after a regular test run. go test . exists $GOCACHE ! exists $GOCACHE/fuzz # Fuzzing should write interesting values to the cache. go test -fuzz=FuzzY -fuzztime=100x . go run ./contains_files $GOCACHE/fuzz/example.com/y/FuzzY # 'go clean -cache' should not delete the fuzz cache. go clean -cache exists $GOCACHE/fuzz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:22:49 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/cache_unix.txt
# With all three set, we should prefer GOCACHE. go env GOCACHE stdout $WORK'/gocache$' # Without GOCACHE, we should prefer XDG_CACHE_HOME over HOME. env GOCACHE= go env GOCACHE stdout $WORK'/xdg/go-build$$' # With only HOME set, we should use $HOME/.cache. env XDG_CACHE_HOME= go env GOCACHE stdout $WORK'/home/.cache/go-build$' # With no guidance from the environment, we must disable the cache, but that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 17:09:07 UTC 2023 - 1010 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_nocache.txt
env GOCACHE=test ! go build -o triv triv.go stderr 'build cache is required, but could not be located: GOCACHE is not an absolute path' # An explicit GOCACHE=off also disables builds. env GOCACHE=off ! go build -o triv triv.go stderr 'build cache is disabled by GOCACHE=off' # If GOCACHE is set to an unwritable directory, we should diagnose it as such. [GOOS:windows] stop # Does not support unwritable directories.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_pgo.txt
[short] skip # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Building trivial non-main package should run preprofile the first time. go build -x -pgo=default.pgo lib.go stderr 'preprofile.*default\.pgo' # ... but not again ... go build -x -pgo=default.pgo lib.go ! stderr 'preprofile.*default\.pgo' # ... unless we use -a. go build -a -x -pgo=default.pgo lib.go stderr 'preprofile.*default\.pgo'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 18:28:25 UTC 2024 - 927 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cache_output.txt
env GO111MODULE=off env GODEBUG=gocachetest=1 [!compiler:gc] skip [short] skip # clears cache, rebuilds too much # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Building a trivial non-main package should run compiler the first time. go build -x -gcflags=-m lib.go stderr 'compile( |\.exe"?)' stderr 'lib.go:2.* can inline f' # ... but not the second, even though it still prints the compiler output.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_pgo.txt
# Test go build -pgo flag. # Specifically, the build cache handles profile content correctly. [short] skip 'compiles and links executables' # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # build without PGO go build triv.go # build with PGO, should trigger rebuild # starting with an empty profile (the compiler accepts it) go build -x -pgo=prof -o triv.exe triv.go stderr 'preprofile.*-i.*prof'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:39:17 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_runtime_gcflags.txt
env GO111MODULE=off [short] skip # rebuilds all of std # Set up fresh GOCACHE. env GOCACHE=$WORK/gocache mkdir $GOCACHE # Verify the standard library (specifically internal/runtime/atomic) can be # built with -gcflags when -n is given. See golang.org/issue/29346. go build -n -gcflags=all='-l' std
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 00:18:30 UTC 2024 - 349 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_dup_cache.txt
[!fuzz] skip [short] skip env GOCACHE=$WORK/cache # This test checks that cached corpus loading properly handles duplicate entries (this can # happen when a f.Add value has a duplicate entry in the cached corpus.) Duplicate entries # should be discarded, and the rest of the cache should be loaded as normal. env GOCACHE=$WORK/cache env GODEBUG=fuzzdebug=1 mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/internal/cache/default.go
defaultDirErr error ) // DefaultDir returns the effective GOCACHE setting. // It returns "off" if the cache is disabled, // and reports whether the effective value differs from GOCACHE. func DefaultDir() (string, bool) { // Save the result of the first call to DefaultDir for later use in // initDefaultCache. cmd/go/main.go explicitly sets GOCACHE so that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 3K bytes - Viewed (0)