Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for CacheKey (0.15 sec)

  1. platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy

            def storeOp = cacheOperations.getOnlyLocalStoreOperationForTask(":t")
    
            def cacheKey = localMissLoadOp.details.cacheKey
            cacheKey != null
            def archiveSize = localCache.getCacheEntry(cacheKey.toString()).bytes.length
    
            !localMissLoadOp.result.hit
    
            packOp.details.cacheKey == cacheKey
    
            packOp.result.archiveSize == archiveSize
            packOp.result.archiveEntryCount == 5
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. pkg/test/util/yml/cache.go

    // files as needed, as the resources change.
    type Cache struct {
    	mu sync.Mutex
    
    	discriminator int64
    	resources     map[CacheKey]*resourceState
    	dir           string
    }
    
    // CacheKey is a key representing a tracked Yaml based resource.
    type CacheKey struct {
    	group     string
    	kind      string
    	namespace string
    	name      string
    }
    
    type resourceState struct {
    	part Part
    	file string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinder.java

                    }
                    if (o == null || getClass() != o.getClass()) {
                        return false;
                    }
                    CacheKey cacheKey = (CacheKey) o;
                    return variantAttributes.equals(cacheKey.variantAttributes) && requested.equals(cacheKey.requested);
                }
    
                @Override
                public int hashCode() {
                    return hashCode;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy

        }
    
        void deleteCacheEntry(String cacheKey) {
            def entry = getTestFileCacheEntry(cacheKey)
            if (entry.file.exists()) {
                entry.file.deleteDir()
            }
        }
    
        boolean hasCacheEntry(String cacheKey) {
            return getTestFileCacheEntry(cacheKey).file.exists()
        }
    
        TestCacheEntry getCacheEntry(String cacheKey) {
            def cacheEntry = getTestFileCacheEntry(cacheKey)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            """
            succeeds("customTask")
    
            then:
            def cacheKey = cacheOperations.getCacheKeyForTask(":customTask")
            remoteCache.hasCacheEntry(cacheKey)
    
            when:
            def cacheEntry = remoteCache.getCacheEntry(cacheKey)
            cacheEntry.text = "corrupt"
            localCache.deleteCacheEntry(cacheKey)
    
            then:
            fails("clean", "customTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

        public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
            return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k);
        }
    
        public PluginDescriptor get(Key cacheKey) {
            return clone(descriptors.get(cacheKey));
        }
    
        @Override
        public PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

        }
    
        protected CacheKey newCacheKey(
                Artifact artifact,
                boolean resolveManagedVersions,
                ArtifactRepository localRepository,
                List<ArtifactRepository> remoteRepositories) {
            return new CacheKey(artifact, resolveManagedVersions, localRepository, remoteRepositories);
        }
    
        protected void put(CacheKey cacheKey, ResolutionGroup result) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    
                if (!(o instanceof CacheKey)) {
                    return false;
                }
    
                CacheKey that = (CacheKey) o;
    
                return CacheUtils.pluginEquals(plugin, that.plugin)
                        && Objects.equals(workspace, that.workspace)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/instance/ManagedProxyFactory.java

                    return false;
                }
                CacheKey cacheKey = (CacheKey) o;
                return Objects.equal(backingStateType, cacheKey.backingStateType)
                    && Objects.equal(schema, cacheKey.schema)
                    && Objects.equal(structBindings.getDelegateSchema(), cacheKey.structBindings.getDelegateSchema());
            }
    
            @Override
            public int hashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

        /**
         * CacheKey
         */
        protected static class CacheKey implements Key {
    
            private final List<File> files;
    
            private final List<Long> timestamps;
    
            private final List<Long> sizes;
    
            private final List<String> ids;
    
            private final int hashCode;
    
            public CacheKey(List<Artifact> extensionArtifacts) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top