Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for buildCacheKey (2.28 sec)

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

            result.duration == delegateDuration
            result.afterExecutionOutputState.get().originMetadata.buildInvocationId == buildInvocationScopeId.asString()
            result.afterExecutionOutputState.get().originMetadata.buildCacheKey == buildCacheKey
            result.afterExecutionOutputState.get().originMetadata.executionTime >= result.duration
            !result.afterExecutionOutputState.get().reused
            assertOperation()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStepTest.groovy

            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                def buildCacheKey = context.cachingState.cacheKeyCalculatedState.get().key
                buildCacheKey.hashCode == cacheKey.toString()
            }) >> delegateResult
    
            where:
            buildCacheEnabled << [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.caching.impl;
    
    import org.gradle.caching.BuildCacheKey;
    import org.gradle.caching.internal.BuildCacheKeyInternal;
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.internal.hash.HashCode;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy

     */
    
    package org.gradle.api.internal.tasks
    
    import com.google.common.collect.ImmutableSortedMap
    import org.gradle.api.internal.tasks.properties.InputFilePropertySpec
    import org.gradle.caching.BuildCacheKey
    import org.gradle.internal.execution.caching.CachingState
    import org.gradle.internal.execution.history.BeforeExecutionState
    import org.gradle.internal.execution.model.InputNormalizer
    import org.gradle.internal.file.FileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-base/src/main/java/org/gradle/caching/internal/origin/OriginMetadataFactory.java

        private static final String TYPE_KEY = "type";
        private static final String IDENTITY_KEY = "identity";
        private static final String CACHE_KEY = "buildCacheKey";
        private static final String CREATION_TIME_KEY = "creationTime";
        private static final String EXECUTION_TIME_KEY = "executionTime";
    
        private final String currentBuildInvocationId;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 15:16:00 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/BuildCacheKeyInternal.java

     * limitations under the License.
     */
    
    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)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OriginMetadataSerializer.java

            String buildInvocationId = decoder.readString();
            HashCode buildCacheKey = hashCodeSerializer.read(decoder);
            Duration executionTime = Duration.ofMillis(decoder.readSmallLong());
            return new OriginMetadata(
                buildInvocationId,
                buildCacheKey,
                executionTime
            );
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/caching/MapBasedBuildCacheService.java

        public MapBasedBuildCacheService(ConcurrentMap<String, byte[]> delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException {
            final byte[] bytes = delegate.get(key.getHashCode());
            if (bytes == null) {
                return false;
            }
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 08 17:15:17 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-spi/src/main/java/org/gradle/caching/BuildCacheService.java

         * @return {@code true} if an entry was found, {@code false} otherwise.
         * @throws BuildCacheException if the cache fails to load a cache entry for the given key
         */
        boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException;
    
        /**
         * Store the cache entry with the given cache key. The {@code writer} will be called to actually write the data.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:59:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheErrorIntegrationTest.groovy

                    }
                    
                    @Override
                    boolean load(BuildCacheKey key, BuildCacheEntryReader reader) throws BuildCacheException {
                        return false
                    }
        
                    @Override
                    void store(BuildCacheKey key, BuildCacheEntryWriter writer) throws BuildCacheException {
                    }
        
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 12 13:13:02 UTC 2019
    - 3.8K bytes
    - Viewed (0)
Back to top