Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for doCache (0.9 sec)

  1. src/cmd/go/testdata/script/build_pgo_auto.txt

    # Test go build -pgo=auto flag.
    
    [short] skip 'compiles and links executables'
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # use default.pgo for a single main package
    go build -n -pgo=auto -o a1.exe ./a/a1
    stderr 'preprofile.*-i.*default\.pgo'
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    # check that pgo applied to dependencies
    stderr 'compile.*-p test/dep.*-pgoprofile=.*'
    
    # check that pgo appears in build info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheControlTest.kt

    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1)
        assertThat(cacheControl.isPrivate).isFalse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_gcflags.txt

    # Test that the user can override default code generation flags.
    
    [compiler:gccgo] skip  # gccgo does not use -gcflags
    [!cgo] skip
    [!GOOS:linux] skip  # test only works if c-archive implies -shared
    [short] skip
    
    env GOCACHE=$WORK/gocache  # Looking for compile commands, so need a clean cache.
    go build -x -n -buildmode=c-archive -gcflags=all=-shared=false ./override.go
    stderr '^.*/compile (.* )?-shared (.* )?-shared=false'
    
    -- override.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 541 bytes
    - Viewed (0)
  4. common/scripts/run.sh

        -e IN_BUILD_CONTAINER=1 \
        -e TZ="${TIMEZONE:-$TZ}" \
        --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \
        --mount "type=volume,source=go,destination=/go" \
        --mount "type=volume,source=gocache,destination=/gocache" \
        --mount "type=volume,source=cache,destination=/home/.cache" \
        --mount "type=volume,source=crates,destination=/home/.cargo/registry" \
        --mount "type=volume,source=git-crates,destination=/home/.cargo/git" \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 11 02:34:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_path.txt

    # Normally, the default is gcc or clang, but if CC was set during make.bash,
    # that becomes the default.
    [!cc:clang] [!cc:gcc] skip 'C compiler is not gcc or clang'
    
    env GOCACHE=$WORK/gocache  # Looking for compile flags, so need a clean cache.
    [!GOOS:windows] env PATH=.:$PATH
    [!GOOS:windows] chmod 0755 p/gcc p/clang
    [!GOOS:windows] exists -exec p/gcc p/clang
    [GOOS:windows] exists -exec p/gcc.bat p/clang.bat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:09:07 UTC 2023
    - 952 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_err_deadlock.txt

    [short] skip
    [!fuzz-instrumented] skip
    
    env GOCACHE=$WORK/cache
    ! go test -fuzz=FuzzDead -v
    # This is a somewhat inexact check, but since we don't prefix the error with anything
    # and as the error suffix is platform dependent, this is the best we can do. In the
    # deadlock failure case, the test will just deadlock and timeout anyway, so it should
    # be clear that that failure mode is different.
    stdout 'open'
    
    -- go.mod --
    module test
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 19:51:23 UTC 2023
    - 999 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/install_goroot_targets.txt

    [short] skip
    
    # Packages in std do not have an install target.
    go list -f '{{.Target}}' fmt
    ! stdout .
    go list -export -f '{{.Export}}' fmt
    stdout $GOCACHE
    
    # With GODEBUG=installgoroot=all, fmt has a target.
    # (Though we can't try installing it without modifying goroot).
    env GODEBUG=installgoroot=all
    go list -f '{{.Target}}' fmt
    stdout fmt\.a
    
    # However, the fake packages "builtin" and "unsafe" do not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 22:43:41 UTC 2022
    - 747 bytes
    - Viewed (0)
  8. src/cmd/internal/bootstrap_test/experiment_toolid_test.go

    		t.Fatal(err)
    	}
    	env := append(os.Environ(), "GOROOT=", "GOROOT_BOOTSTRAP="+realGoroot)
    
    	// Use a clean cache.
    	gocache := t.TempDir()
    	env = append(env, "GOCACHE="+gocache)
    
    	// Build the toolchain without GOEXPERIMENT.
    	var makeScript string
    	switch runtime.GOOS {
    	case "windows":
    		makeScript = "make.bat"
    	case "plan9":
    		makeScript = "make.rc"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 18:47:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_build_trimpath_issue48557.txt

    # should not depend on its working directory, even if the binary is specified as
    # a list of relative source files.
    
    [short] skip  # links and runs binaries
    
    env GOFLAGS=-trimpath
    env GOCACHE=$WORK/gocache
    
    
    # When we build a binary in module mode with -trimpath, the -D flag (for the
    # "local import prefix") should not be passed to it.
    
    cd $WORK/tmp/foo
    go build -x -o a.exe main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 16:46:09 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_test_cached.txt

    [short] skip
    
    env GO111MODULE=on
    env GOCACHE=$WORK/gocache
    env GODEBUG=gocachetest=1
    
    # The first run of a test should not be cached.
    # The second run should be.
    go test -run=WriteTmp .
    ! stdout '(cached)'
    go test -run=WriteTmp .
    stdout '(cached)'
    
    # 'go test' without arguments should never be cached.
    go test -run=WriteTmp
    ! stdout '(cached)'
    go test -run=WriteTmp
    ! stdout '(cached)'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.5K bytes
    - Viewed (0)
Back to top