Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for CacheKey (0.43 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. callbacks/associations.go

    									relPrimaryValues = append(relPrimaryValues, pfv)
    								}
    							}
    							cacheKey := utils.ToStringKey(relPrimaryValues...)
    							if len(relPrimaryValues) != len(rel.FieldSchema.PrimaryFields) || !identityMap[cacheKey] {
    								if cacheKey != "" { // has primary fields
    									identityMap[cacheKey] = true
    								}
    
    								distinctElems = reflect.Append(distinctElems, rv)
    							}
    						}
    					}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. 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)
  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. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                CacheKey cacheKey = (CacheKey) o;
                return Objects.equal(publicType, cacheKey.publicType)
                    && Objects.equal(viewTypes, cacheKey.viewTypes)
                    && Objects.equal(delegateType, cacheKey.delegateType);
            }
    
            @Override
            public int hashCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  10. 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)
Back to top