Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for doCache (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/go/testdata/script/build_cache_gomips.txt

    env GO111MODULE=off
    [short] skip # rebuilds std for mips
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Building for mipsle without setting GOMIPS will use floating point registers.
    env GOARCH=mipsle
    env GOOS=linux
    go build -gcflags=-S f.go
    stderr ADDD.F[0-9]+,.F[0-9]+,.F[0-9]+
    
    # Clean cache
    go clean -cache
    
    # Building with GOMIPS=softfloat will not use floating point registers
    env GOMIPS=softfloat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 859 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_cache_link.txt

    env GO111MODULE=off
    [short] skip
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Building a main package should run the compiler and linker ...
    go build -o $devnull -x main.go
    stderr '(compile|gccgo)( |\.exe).*main\.go'
    stderr '(link|gccgo)( |\.exe)'
    
    # ... and then the linker again ...
    go build -o $devnull -x main.go
    ! stderr '(compile|gccgo)( |\.exe).*main\.go'
    stderr '(link|gccgo)( |\.exe)'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 21:00:48 UTC 2019
    - 644 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/go/testdata/script/mod_list_compiled_concurrent.txt

    env GO111MODULE=on
    
    [short] skip
    [!cgo] skip
    
    # Regression test for golang.org/issue/29667:
    # spurious 'failed to cache compiled Go files' errors.
    
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    go list -json -compiled -test=false -export=false -deps=true -- . &
    go list -json -compiled -test=false -export=false -deps=true -- . &
    wait
    
    -- go.mod --
    module sandbox/bar
    -- bar.go --
    package bar
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 401 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/list_swigcxx.txt

    # so we just count them.
    
    go list -f '{{.CompiledGoFiles}}' -compiled=true example/swig
    
    stdout a\.go
    [compiler:gc] stdout -count=3 $GOCACHE
    [compiler:gccgo] stdout -count=2 $GOCACHE
    
    -- go.mod --
    module example
    
    go 1.16
    
    -- swig/a.go --
    package swig
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 04:04:13 UTC 2024
    - 581 bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

      CacheControl.Builder()
        .noCache()
        .build()
    
    internal fun CacheControl.Companion.commonForceCache() =
      CacheControl.Builder()
        .onlyIfCached()
        .maxStale(Int.MAX_VALUE.seconds)
        .build()
    
    internal fun CacheControl.Builder.commonBuild(): CacheControl {
      return CacheControl(
        noCache = noCache,
        noStore = noStore,
        maxAgeSeconds = maxAgeSeconds,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top