Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for doCache (0.19 sec)

  1. 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)
  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/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)
  5. 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)
  6. 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)
  7. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

      internal var headerValue: String?,
    ) {
      @JvmName("-deprecated_noCache")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "noCache"),
        level = DeprecationLevel.ERROR,
      )
      fun noCache(): Boolean = noCache
    
      @JvmName("-deprecated_noStore")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "noStore"),
        level = DeprecationLevel.ERROR,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl.Builder()
            .noCache()
            .noStore()
            .maxAge(1, TimeUnit.SECONDS)
            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top