Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CacheKeyCalculatedState (0.21 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

            private final CacheKeyCalculatedState cacheKeyCalculatedState;
    
            private Enabled(BuildCacheKey key, BeforeExecutionState beforeExecutionState) {
                this.cacheKeyCalculatedState = new CacheKeyCalculatedState(key, beforeExecutionState);
            }
    
            public CacheKeyCalculatedState getCacheKeyCalculatedState() {
                return cacheKeyCalculatedState;
            }
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java

                .map(cacheKeyCalculatedState -> captureOutputsAfterExecution(work, context, cacheKeyCalculatedState, result));
    
            return new AfterExecutionResult(result, afterExecutionOutputState.orElse(null));
        }
    
        private ExecutionOutputState captureOutputsAfterExecution(UnitOfWork work, C context, CachingState.CacheKeyCalculatedState cacheKeyCalculatedState, Result result) {
            return operation(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/StoreExecutionStateStep.java

                    .flatMap(cacheKeyCalculatedState -> result.getAfterExecutionOutputState()
                        .filter(afterExecutionState -> result.getExecution().isSuccessful() || shouldPreserveFailedState(context, afterExecutionState))
                        .map(executionOutputState -> new DefaultAfterExecutionState(
                            ((BuildCacheKeyInternal) cacheKeyCalculatedState.getKey()).getHashCodeInternal(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveNonIncrementalCachingStateStepTest.groovy

            _ * context.validationProblems >> ImmutableList.of()
            1 * delegate.execute(work, { CachingContext context ->
                context.cachingState.cacheKeyCalculatedState.isPresent()
            }) >> delegateResult
    
            where:
            buildCacheEnabled << [true, false]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/BaseSnapshotInputsBuildOperationResult.java

            return cachingState.getCacheKeyCalculatedState()
                .map(CachingState.CacheKeyCalculatedState::getBeforeExecutionState);
        }
    
        private Optional<BuildCacheKey> getKey() {
            return cachingState.getCacheKeyCalculatedState()
                .map(CachingState.CacheKeyCalculatedState::getKey);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 11:36:42 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top