Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for CacheKey (0.12 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        }
    
        private void logCacheKey(BuildCacheKey cacheKey, UnitOfWork work) {
            if (emitDebugLogging) {
                LOGGER.warn("Build cache key for {} is {}", work.getDisplayName(), cacheKey.getHashCode());
            } else {
                LOGGER.info("Build cache key for {} is {}", work.getDisplayName(), cacheKey.getHashCode());
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

            _ * previousExecutionState.cacheKey >> cacheKey
            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                def buildCacheKey = context.cachingState.cacheKeyCalculatedState.get().key
                buildCacheKey.hashCode == cacheKey.toString()
            }) >> delegateResult
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            assertNotSame(lr1, lr2);
            assertNotSame(rr1, rr2);
    
            DefaultMavenMetadataCache.CacheKey k1 =
                    new DefaultMavenMetadataCache.CacheKey(a1, false, lr1, Collections.singletonList(rr1));
            DefaultMavenMetadataCache.CacheKey k2 =
                    new DefaultMavenMetadataCache.CacheKey(a2, false, lr2, Collections.singletonList(rr2));
    
            assertEquals(k1.hashCode(), k2.hashCode());
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (!(o instanceof CacheKey)) {
                    return false;
                }
                CacheKey that = (CacheKey) o;
                return Objects.equals(groupId, that.groupId)
                        && Objects.equals(artifactId, that.artifactId)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/StoreExecutionStateStep.java

            private final ExecutionOutputState afterExecutionOutputState;
            private final HashCode cacheKey;
    
            public DefaultAfterExecutionState(HashCode cacheKey, BeforeExecutionState beforeExecutionState, ExecutionOutputState afterExecutionOutputState) {
                this.cacheKey = cacheKey;
                this.beforeExecutionState = beforeExecutionState;
                this.afterExecutionOutputState = afterExecutionOutputState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

        def buildCacheController = Mock(BuildCacheController)
    
        def beforeExecutionState = Stub(BeforeExecutionState)
    
        def cacheKeyHashCode = "30a042b90a"
        def cacheKey = Stub(BuildCacheKey) {
            hashCode >> cacheKeyHashCode
        }
        def loadMetadata = Mock(BuildCacheLoadResult)
        def deleter = Mock(Deleter)
        def fileSystemAccess = Mock(FileSystemAccess)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

        }
    
        @Override
        public final CachingState createCachingState(BeforeExecutionState beforeExecutionState, HashCode cacheKey, ImmutableList<CachingDisabledReason> cachingDisabledReasons) {
            if (cachingDisabledReasons.isEmpty()) {
                return CachingState.enabled(new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            } else {
                cachingDisabledReasons.forEach(reason ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top