- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for cacheDir (0.3 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
when: cleanBuildDir() withBuildCache().run "customTask" then: skipped ":customTask" when: buildFile << """ customTask.outputs.cacheIf { false } """ withBuildCache().run "customTask" cleanBuildDir() withBuildCache().run "customTask" then: executedAndNotSkipped ":customTask"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java
dependencyResolutionControl.cacheFor(value, unit); } }); } public void cacheChangingModulesFor(final int value, final TimeUnit units) { keepChangingModulesFor = units.toMillis(value); eachModule(moduleResolutionControl -> { if (moduleResolutionControl.isChanging()) { moduleResolutionControl.cacheFor(value, units); } });
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 22:04:14 UTC 2023 - 14.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy
} def "cacheability for a task with a cacheIf is CACHE_IF_SPEC_NOT_SATISFIED"() { buildFile """ task cacheable(type: Cacheable) { outputs.cacheIf("always false") { false } } """ when: withBuildCache().run "cacheable" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:59:01 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy
!thisBuild.mustCheck thisBuild.keepFor == Duration.ofMillis(DAY) } def "applies cacheFor rules for dynamic versions"() { when: cachePolicy.eachDependency(new Action<DependencyResolutionControl>() { void execute(DependencyResolutionControl t) { t.cacheFor(100, TimeUnit.SECONDS) } }) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 22:04:14 UTC 2023 - 22.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java
.map(cacheHit -> { if (LOGGER.isInfoEnabled()) { LOGGER.info("Loaded cache entry for {} with cache key {}", work.getDisplayName(), cacheKey.getHashCode()); } cleanLocalState(context.getWorkspace(), work); OriginMetadata originMetadata = cacheHit.getOriginMetadata();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 13:41:13 UTC 2024 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
backingStorage := &dummyStorage{} cacher, _, err := newTestCacher(backingStorage) if err != nil { t.Fatalf("Couldn't create cacher: %v", err) } defer cacher.Stop() // Wait until cacher is initialized. if err := cacher.ready.wait(context.Background()); err != nil { t.Fatalf("unexpected error waiting for the cache to be ready") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go
const ( // cacheWatcherWaitingForBookmark indicates the cacher // is waiting for a bookmark event with a specific RV set cacheWatcherWaitingForBookmark = iota // cacheWatcherBookmarkReceived indicates that the cacher // has received a bookmark event with required RV cacheWatcherBookmarkReceived // cacheWatcherBookmarkSent indicates that the cacher // has already sent a bookmark event to a client
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 12:22:41 UTC 2023 - 18.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
// If we don't need the network, we're done. if (networkRequest == null) { return cacheResponse!!.newBuilder() .cacheResponse(cacheResponse.stripBody()) .build().also { listener.cacheHit(call, it) } } if (cacheResponse != null) { listener.cacheConditionalHit(call, cacheResponse) } else if (cache != null) { listener.cacheMiss(call) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Mar 22 07:09:21 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/wasm/cache.go
func (c *LocalFileCache) getEntry(key cacheKey, ignoreResourceVersion bool) (*cacheEntry, string) { cacheHit := false c.mux.Lock() defer func() { c.mux.Unlock() wasmCacheLookupCount.With(hitTag.Value(strconv.FormatBool(cacheHit))).Increment() }() if len(key.checksum) == 0 && strings.HasPrefix(key.downloadURL, ociURLPrefix) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
listener.cacheConditionalHit(call, response) listener.cacheHit(call, response) listener.cacheMiss(call) listener.satisfactionFailure(call, response) logRecorder .assertLogMatch(Regex("""cacheConditionalHit: Response\{protocol=h2, code=200, message=, url=$url\}""")) .assertLogMatch(Regex("""cacheHit: Response\{protocol=h2, code=200, message=, url=$url\}"""))
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0)