Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/VcsVersionSelectionCache.java

            String cacheKey = versionCacheKey(repository, version);
            return checkoutDirs.get(cacheKey);
        }
    
        public void putWorkingDirForRevision(VersionControlRepositoryConnection repository, VersionRef version, File dir) {
            String cacheKey = versionCacheKey(repository, version);
            checkoutDirs.put(cacheKey, dir);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java

        }
    
        private AfterExecutionResult executeWithCache(UnitOfWork work, C context, BuildCacheKey cacheKey) {
            CacheableWork cacheableWork = new CacheableWork(context.getIdentity().getUniqueId(), context.getWorkspace(), work);
            return Try.ofFailable(() -> work.isAllowedToLoadFromCache()
                    ? tryLoadingFromCache(cacheKey, cacheableWork)
                    : Optional.<BuildCacheLoadResult>empty()
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java

        private final OriginMetadata originMetadata;
        private final boolean successful;
        private final HashCode cacheKey;
    
        public DefaultPreviousExecutionState(
            OriginMetadata originMetadata,
            HashCode cacheKey,
            ImplementationSnapshot implementation,
            ImmutableList<ImplementationSnapshot> additionalImplementations,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 17:44:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java

                    return false;
                }
    
                CacheKey cacheKey = (CacheKey) o;
    
                if (!filePath.equals(cacheKey.filePath)) {
                    return false;
                }
                if (!signaturePath.equals(cacheKey.signaturePath)) {
                    return false;
                }
                if (!trustedKeys.equals(cacheKey.trustedKeys)) {
                    return false;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/operations/StoreOperationDetails.java

        private final BuildCacheKey cacheKey;
        private final long archiveSize;
    
        public StoreOperationDetails(BuildCacheKey cacheKey, long archiveSize) {
            this.cacheKey = cacheKey;
            this.archiveSize = archiveSize;
        }
    
        @Override
        public String getCacheKey() {
            return cacheKey.getHashCode();
        }
    
        @Override
        public long getArchiveSize() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StoreExecutionStateStepTest.groovy

    class StoreExecutionStateStepTest extends StepSpec<IncrementalCachingContext> implements SnapshotterFixture {
        def executionHistoryStore = Mock(ExecutionHistoryStore)
        def cacheKey = TestHashCodes.hashCodeFrom(1234)
    
        def originMetadata = Mock(OriginMetadata)
        def beforeExecutionState = Stub(BeforeExecutionState) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

    @Named
    @Singleton
    public class DefaultProjectRealmCache implements ProjectRealmCache, Disposable {
        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<? extends ClassRealm> extensionRealms;
    
            private final int hashCode;
    
            public CacheKey(List<? extends ClassRealm> extensionRealms) {
                this.extensionRealms =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy

            then:
            executed()
            localCache.empty
            def cacheKey = cacheOperations.getCacheKeyForTask(":t")
            remoteCache.hasCacheEntry(cacheKey)
    
            when:
            settingsFile << """
                buildCache.local.push = true
            """
            execute()
    
            then:
            cached()
            localCache.hasCacheEntry(cacheKey)
    
            when:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/caching/MapBasedBuildCacheServiceTest.groovy

        def hashCode = "123456"
        def cacheKey = Stub(BuildCacheKey) {
            getHashCode() >> hashCode
        }
        def reader = Mock(BuildCacheEntryReader)
        def writer = Mock(BuildCacheEntryWriter)
        def data = [1, 2, 3] as byte[]
    
        def "can read from map"() {
            when:
            def found = cache.load(cacheKey, reader)
            then:
            found
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top