- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for OriginMetadata (0.31 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OriginMetadataSerializer.java
return new OriginMetadata( buildInvocationId, buildCacheKey, executionTime ); } @Override public void write(Encoder encoder, OriginMetadata originMetadata) throws IOException { encoder.writeString(originMetadata.getBuildInvocationId()); hashCodeSerializer.write(encoder, originMetadata.getBuildCacheKey());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:49 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/OriginMetadataSerializerTest.groovy
import org.gradle.caching.internal.origin.OriginMetadata import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.serialize.SerializerSpec import java.time.Duration class OriginMetadataSerializerTest extends SerializerSpec { def serializer = new OriginMetadataSerializer() def "can serialize and deserialize origin metadata"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:49 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StoreExecutionStateStepTest.groovy
def executionHistoryStore = Mock(ExecutionHistoryStore) def cacheKey = TestHashCodes.hashCodeFrom(1234) def originMetadata = Mock(OriginMetadata) def beforeExecutionState = Stub(BeforeExecutionState) { getImplementation() >> ImplementationSnapshot.of("Test", TestHashCodes.hashCodeFrom(123))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
) def originMetadata = Stub(OriginMetadata) def delegateOutputFiles = ImmutableSortedMap.copyOf( "outputDirectory": delegateOutputFileSnapshot ) def delegateOutputState = Stub(ExecutionOutputState) { getOriginMetadata() >> originMetadata getOutputFilesProducedByWork() >> delegateOutputFiles }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy
private void outputStored(Closure storeResult) { def originMetadata = Mock(OriginMetadata) def outputFilesProducedByWork = snapshotsOf("test": []) 1 * delegateResult.afterExecutionOutputState >> Optional.of(Mock(AfterExecutionState) { 1 * getOutputFilesProducedByWork() >> outputFilesProducedByWork 1 * getOriginMetadata() >> originMetadata })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:50 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStore.java
File metadataFile = new File(workspace, METADATA_FILE); //noinspection IOStreamConstructor try (KryoBackedDecoder decoder = new KryoBackedDecoder(new FileInputStream(metadataFile))) { OriginMetadata originMetadata = originMetadataSerializer.read(decoder); int outputCount = decoder.readSmallInt(); ImmutableListMultimap.Builder<String, HashCode> outputPropertyHashes = ImmutableListMultimap.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 14:27:26 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerPackOperationExecutorTest.groovy
then: 1 * buildOperationContext.setResult(_ as UnpackOperationResult) >> { UnpackOperationResult unpackResult -> assert unpackResult.archiveEntryCount == 123 } then: result.artifactEntryCount == 123 result.originMetadata == originMetadata
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/UpToDateResult.java
* limitations under the License. */ package org.gradle.internal.execution.steps; import com.google.common.collect.ImmutableList; import org.gradle.caching.internal.origin.OriginMetadata; import org.gradle.internal.Try; import org.gradle.internal.execution.ExecutionEngine; import org.gradle.internal.execution.history.ExecutionOutputState; import javax.annotation.Nullable; import java.time.Duration;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStep.java
OriginMetadata originMetadata = createOriginMetadata(cacheKeyCalculatedState, result, timer); operationContext.setResult(Operation.Result.INSTANCE); return new DefaultExecutionOutputState(result.getExecution().isSuccessful(), outputsProducedByWork, originMetadata, false); }, BuildOperationDescriptor
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy
} def originMetadata = Stub(OriginMetadata) def delegateResult = Stub(CachingResult) { getDuration() >> Duration.ofSeconds(1) getExecution() >> Try.successful(Stub(ExecutionEngine.Execution)) getAfterExecutionOutputState() >> Optional.of(new DefaultExecutionOutputState(true, ImmutableSortedMap.of(), originMetadata, false)) } def work1Started = new CountDownLatch(1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:46:25 UTC 2023 - 6.5K bytes - Viewed (0)