Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for doCache (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheSupport.java

            if (value == null) {
                value = factory.apply(key);
                doCache(key, value);
            }
    
            return value;
        }
    
        @Override
        public V getIfPresent(K key) {
            return doGet(key);
        }
    
        @Override
        public void put(K key, V value) {
            doCache(key, value);
        }
    
        abstract protected <T extends K> V doGet(T key);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/MapBackedCache.java

            this.map = map;
        }
    
        @Override
        protected <T extends K> V doGet(T key) {
            return map.get(key);
        }
    
        @Override
        protected <T extends K, N extends V> void doCache(T key, N value) {
            map.put(key, value);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    # the last minimization step should not increase the coverage.
    
    [short] skip
    [!fuzz-instrumented] skip
    
    env GOCACHE=$WORK/gocache
    go test -fuzz=FuzzCovMin -fuzztime=500000x -test.fuzzcachedir=$GOCACHE/fuzz
    go run check_file/main.go $GOCACHE/fuzz/FuzzCovMin ab
    
    -- go.mod --
    module test
    
    -- covmin_test.go --
    package covmin
    
    import "testing"
    
    func FuzzCovMin(f *testing.F) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top