Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for doCache (0.16 sec)

  1. 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)
  2. src/testing/testing_test.go

    		c1 := make(chan bool, 1)
    		t.Run("sub", func(t *testing.T) {
    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    	out := runTest(t, "TestRaceSubReports")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tools/docker-builder/types.go

    	Pull             *bool             `json:"pull,omitempty" hcl:"pull,optional"`
    	NoCache          *bool             `json:"no-cache,omitempty" hcl:"no-cache,optional"`
    }
    
    type Args struct {
    	Push              bool
    	Save              bool
    	Builder           string
    	SupportsEmulation bool
    	NoClobber         bool
    	NoCache           bool
    	Targets           []string
    	Variants          []string
    	Architectures     []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. tools/docker-builder/main.go

    	rootCmd.Flags().BoolVar(&globalArgs.Save, "save", globalArgs.Save, "save targets to tar.gz")
    	rootCmd.Flags().BoolVar(&globalArgs.NoCache, "no-cache", globalArgs.NoCache, "disable caching")
    	rootCmd.Flags().BoolVar(&globalArgs.NoClobber, "no-clobber", globalArgs.NoClobber, "do not allow pushing images that already exist")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenJvmLibraryArtifactResolutionIntegrationTest.groovy

            javadocArtifact.expectGet()
    
            then:
            checkArtifactsResolvedAndCached()
        }
    
        def "fetches missing snapshot artifacts #condition"() {
            buildFile << """
    if (project.hasProperty('nocache')) {
        configurations.all {
            resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
        }
    }
    """
    
            def snapshotModule = repo.module("some.group", "some-artifact", "1.0-SNAPSHOT")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. pkg/config/analysis/local/istiod_analyze.go

    		go mcs.Run(cancel)
    	}
    	return nil
    }
    
    type dfCache struct {
    	model.ConfigStore
    }
    
    func (d dfCache) RegisterEventHandler(kind config.GroupVersionKind, handler model.EventHandler) {
    	panic("implement me")
    }
    
    // Run intentionally left empty
    func (d dfCache) Run(_ <-chan struct{}) {
    }
    
    func (d dfCache) HasSynced() bool {
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyJvmLibraryArtifactResolutionIntegrationTest.groovy

            context.details.changing = true
        }
    }
    
    dependencies {
        components {
            all(ChangingRule)
        }
    }
    
    if (project.hasProperty('nocache')) {
        configurations.all {
            resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
        }
    }
    """
    
            when:
            module.ivy.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          // rules are constant.
          if (!isCacheable(cacheResponse, request)) {
            return CacheStrategy(request, null)
          }
    
          val requestCaching = request.cacheControl
          if (requestCaching.noCache || hasConditions(request)) {
            return CacheStrategy(request, null)
          }
    
          val responseCaching = cacheResponse.cacheControl
    
          val ageMillis = cacheResponseAge()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      @Test
      fun cacheControl() {
        val request =
          Request.Builder()
            .cacheControl(CacheControl.Builder().noCache().build())
            .url("https://square.com")
            .build()
        assertThat(request.headers("Cache-Control")).containsExactly("no-cache")
        assertThat(request.cacheControl.noCache).isTrue()
      }
    
      @Test
      fun emptyCacheControlClearsAllCacheControlHeaders() {
        val request =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

                                                                                               */
        private final Object domainsLock = new Object();
    
        private final Map<String, CacheEntry<DfsReferralDataInternal>> dcCache = new HashMap<>();
        private final Object dcLock = new Object();
    
        private CacheEntry<DfsReferralDataInternal> referrals = null;
        private final Object referralsLock = new Object();
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top