Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for CacheKey (0.14 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

            _ * previousExecutionState.cacheKey >> cacheKey
            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                def buildCacheKey = context.cachingState.cacheKeyCalculatedState.get().key
                buildCacheKey.hashCode == cacheKey.toString()
            }) >> delegateResult
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (!(o instanceof CacheKey)) {
                    return false;
                }
                CacheKey that = (CacheKey) o;
                return Objects.equals(groupId, that.groupId)
                        && Objects.equals(artifactId, that.artifactId)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/StoreExecutionStateStep.java

            private final ExecutionOutputState afterExecutionOutputState;
            private final HashCode cacheKey;
    
            public DefaultAfterExecutionState(HashCode cacheKey, BeforeExecutionState beforeExecutionState, ExecutionOutputState afterExecutionOutputState) {
                this.cacheKey = cacheKey;
                this.beforeExecutionState = beforeExecutionState;
                this.afterExecutionOutputState = afterExecutionOutputState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    
                if (!(o instanceof CacheKey)) {
                    return false;
                }
    
                CacheKey that = (CacheKey) o;
    
                return parentRealm == that.parentRealm
                        && CacheUtils.pluginEquals(plugin, that.plugin)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 7.4K 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. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

        }
    
        @Override
        public final CachingState createCachingState(BeforeExecutionState beforeExecutionState, HashCode cacheKey, ImmutableList<CachingDisabledReason> cachingDisabledReasons) {
            if (cachingDisabledReasons.isEmpty()) {
                return CachingState.enabled(new DefaultBuildCacheKey(cacheKey), beforeExecutionState);
            } else {
                cachingDisabledReasons.forEach(reason ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager.go

    	}
    
    	cacheKey := cacheKeyType{signerName: signerName, labelSelector: selector.String()}
    
    	if lsLen := len(cacheKey.labelSelector); lsLen > maxLabelSelectorLength {
    		return nil, fmt.Errorf("label selector length (%d) is larger than %d", lsLen, maxLabelSelectorLength)
    	}
    
    	if cachedAnchors, ok := m.normalizationCache.Get(cacheKey); ok {
    		return cachedAnchors.([]byte), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/cache/ModelSchemaCache.java

            }
        }
    
        public <T> void set(ModelType<T> type, ModelSchema<T> schema) {
            WeakClassSet cacheKey = WeakClassSet.of(type);
            Map<ModelType<?>, ModelSchema<?>> typeCache = cache.get(cacheKey);
            if (typeCache == null) {
                typeCache = new HashMap<>();
                cache.put(cacheKey, typeCache);
            }
            typeCache.put(type, schema);
        }
    
        public long size() {
            cleanUp();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top