- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for CacheKey (0.33 sec)
-
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
ProjectArtifactsCache.Key cacheKey = projectArtifactsCache.createKey( project, scopesToCollect, scopesToResolve, aggregating, session.getRepositorySession()); ProjectArtifactsCache.CacheRecord recordArtifacts; recordArtifacts = projectArtifactsCache.get(cacheKey); if (recordArtifacts == null) { synchronized (cacheKey) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:49 UTC 2024 - 15.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildCacheOperationFixtures.groovy
def packOperations = getPackOperationsForTask(taskPath) return packOperations.empty ? null : packOperations[0].details["cacheKey"] } String getCacheKeyForTask(String taskPath) { def cacheKey = getCacheKeyForTaskOrNull(taskPath) assert cacheKey != null return cacheKey } void assertStoredToLocalCacheForTask(String taskPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy
metadata.gradleVersion == GradleVersion.current().version } private Properties readMetadata() { def cacheKey = cacheOperations.getCacheKeyForTask(":compileJava") assert localCache.hasCacheEntry(cacheKey) def cacheEntry = localCache.getCacheEntry(cacheKey) // Must rename to "*.tgz" for unpacking to work def tgzCacheEntry = temporaryFolder.file("cache.tgz")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
private val fileAccessTimeJournal: FileAccessTimeJournal, private val fileSystem: FileSystem ) : Stoppable { fun forKey(cacheKey: String): ConfigurationCacheStateStore { return StoreImpl(cache.baseDirFor(cacheKey)) } abstract class Layout { abstract fun fileForRead(stateType: StateType): ConfigurationCacheStateFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java
buildCacheController.store( cacheKey, sandboxEntity, ImmutableMap.of("output", producedOutputSnapshot), Duration.ofSeconds(10)); // Load the entity from the cache BuildCacheLoadResult loadResult = buildCacheController.load(cacheKey, targetEntity) .orElseThrow(() -> new RuntimeException("Should have been a hit"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 19:35:22 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 29.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/BuildCacheController.java
*/ @ServiceScope(Scope.Gradle.class) public interface BuildCacheController extends Closeable { boolean isEnabled(); Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity); void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/NoOpBuildCacheController.java
public boolean isEnabled() { return false; } @Override public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) { return Optional.empty(); } @Override public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) { } @Override public void close() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:26 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/test/util/yml/cache_test.go
g := NewWithT(t) d := t.TempDir() t.Logf("Test Dir: %q", d) c := NewCache(d) keys, err := c.Apply(gateway) g.Expect(err).To(BeNil()) g.Expect(keys).To(HaveLen(1)) expected := CacheKey{ group: "networking.istio.io", kind: "Gateway", namespace: "", name: "some-ingress", } g.Expect(keys[0]).To(Equal(expected)) key1 := keys[0] file := c.GetFileFor(keys[0])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/wasm/cache.go
ce.resourceVersionByResource[key.resourceName] = key.resourceVersion } return needChecksumUpdate } // addEntry adds a wasmModule to cache with cacheKey, writes the module to the local file system, // and returns the created entry. func (c *LocalFileCache) addEntry(key cacheKey, wasmModule []byte) (*cacheEntry, error) { c.mux.Lock() defer c.mux.Unlock() needChecksumUpdate := c.updateChecksum(key)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0)