Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for CacheKey (0.28 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-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)
  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. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

        private val fileAccessTimeJournal: FileAccessTimeJournal,
        private val fileSystem: FileSystem
    ) : Stoppable {
        fun forKey(cacheKey: String): ConfigurationCacheStateStore {
            return StoreImpl(cache.baseDirFor(cacheKey))
        }
    
        abstract class Layout {
            abstract fun fileForRead(stateType: StateType): ConfigurationCacheStateFile
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

            buildCacheController.store(
                cacheKey,
                sandboxEntity,
                ImmutableMap.of("output", producedOutputSnapshot),
                Duration.ofSeconds(10));
    
            // Load the entity from the cache
            BuildCacheLoadResult loadResult = buildCacheController.load(cacheKey, targetEntity)
                .orElseThrow(() -> new RuntimeException("Should have been a hit"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/BuildCacheController.java

     */
    @ServiceScope(Scope.Gradle.class)
    public interface BuildCacheController extends Closeable {
    
        boolean isEnabled();
    
        Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity);
    
        void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java

            public Optional<BuildCacheLoadResult> load(BuildCacheKey cacheKey, CacheableEntity cacheableEntity) {
                return getDelegate().load(cacheKey, cacheableEntity);
            }
    
            @Override
            public void store(BuildCacheKey cacheKey, CacheableEntity entity, Map<String, FileSystemSnapshot> snapshots, Duration executionTime) {
                getDelegate().store(cacheKey, entity, snapshots, executionTime);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:28:13 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top