Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for CacheKey (0.23 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/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/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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/scheduler/util/assumecache/assume_cache.go

    	if err != nil {
    		// This could be expected if object got deleted
    		c.logger.V(5).Info("Restore object", "description", c.description, "cacheKey", objName, "err", err)
    	} else {
    		objInfo.latestObj = objInfo.apiObj
    		c.logger.V(4).Info("Restored object", "description", c.description, "cacheKey", objName)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    recordArtifacts = pluginArtifactsCache.put(cacheKey, artifacts);
                } catch (PluginResolutionException e) {
                    pluginArtifactsCache.put(cacheKey, e);
                    pluginArtifactsCache.register(project, cacheKey, recordArtifacts);
                    throw new PluginManagerException(plugin, e.getMessage(), e);
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

            VersionResult result = new VersionResult(request);
    
            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top