Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getHashCodeInternal (0.27 sec)

  1. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCacheService.java

            return cache.load(((BuildCacheKeyInternal) key).getHashCodeInternal(), reader::readFrom);
        }
    
        @Override
        public void loadLocally(BuildCacheKey key, Consumer<? super File> reader) {
            cache.loadLocally(((BuildCacheKeyInternal) key).getHashCodeInternal(), reader);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 14:32:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/BuildCacheKeyInternal.java

     */
    
    package org.gradle.caching.internal;
    
    import org.gradle.caching.BuildCacheKey;
    import org.gradle.internal.hash.HashCode;
    
    public interface BuildCacheKeyInternal extends BuildCacheKey {
        HashCode getHashCodeInternal();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 840 bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/testFixtures/groovy/org/gradle/caching/internal/TestBuildCacheKey.groovy

        @Override
        byte[] toByteArray() {
            return hashCode.toByteArray()
        }
    
        @Override
        String getDisplayName() {
            return getHashCode()
        }
    
        @Override
        HashCode getHashCodeInternal() {
            return hashCode
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/SimpleBuildCacheKey.java

        private final HashCode hashCode;
    
        public SimpleBuildCacheKey(HashCode hashCode) {
            this.hashCode = hashCode;
        }
    
        @Override
        public HashCode getHashCodeInternal() {
            return hashCode;
        }
    
        @Override
        public String getHashCode() {
            return hashCode.toString();
        }
    
        // TODO Provide default implementation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java

                return Optional.empty();
            }
            AtomicReference<Optional<BuildCacheLoadResult>> result = new AtomicReference<>(Optional.empty());
            tmp.withTempFile(((BuildCacheKeyInternal) key).getHashCodeInternal(), file -> {
                Optional<BuildCacheLoadResult> remoteResult;
                try {
                    remoteResult = remote.maybeLoad(key, file, f -> packExecutor.unpack(key, entity, f));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java

            this.hashCode = hashCode;
        }
    
        @Override
        public String getHashCode() {
            return hashCode.toString();
        }
    
        @Override
        public HashCode getHashCodeInternal() {
            return hashCode;
        }
    
        @Override
        public byte[] toByteArray() {
            return hashCode.toByteArray();
        }
    
        @Deprecated
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java

            Duration originExecutionTime = result.getDuration().plus(Duration.ofMillis(snapshotOutputDuration));
            HashCode buildCacheKey = ((BuildCacheKeyInternal) cacheKeyCalculatedState.getKey()).getHashCodeInternal();
            return new OriginMetadata(
                buildInvocationScopeId.asString(),
                buildCacheKey,
                originExecutionTime
            );
        }
    
        /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/StoreExecutionStateStep.java

                        .map(executionOutputState -> new DefaultAfterExecutionState(
                            ((BuildCacheKeyInternal) cacheKeyCalculatedState.getKey()).getHashCodeInternal(),
                            cacheKeyCalculatedState.getBeforeExecutionState(),
                            executionOutputState
                        )))
                    .ifPresent(afterExecutionState -> history.store(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top