Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SerializableFileCollectionFingerprint (0.59 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/SerializableFileCollectionFingerprint.java

    import java.util.Map;
    
    public class SerializableFileCollectionFingerprint implements FileCollectionFingerprint {
    
        private final Map<String, FileSystemLocationFingerprint> fingerprints;
        private final ImmutableMultimap<String, HashCode> rootHashes;
        private final HashCode strategyConfigurationHash;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/TestExecutionHistoryStore.java

    import org.gradle.internal.execution.history.PreviousExecutionState;
    import org.gradle.internal.execution.history.impl.DefaultPreviousExecutionState;
    import org.gradle.internal.execution.history.impl.SerializableFileCollectionFingerprint;
    import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint;
    import org.gradle.internal.fingerprint.FileCollectionFingerprint;
    
    import java.util.HashMap;
    import java.util.Map;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializerTest.groovy

                "/3", TestHashCodes.hashCodeFrom(1234))
            def strategyConfigurationHash = TestHashCodes.hashCodeFrom(6543)
            when:
            def out = serialize(new SerializableFileCollectionFingerprint(
                '/1': new DefaultFileSystemLocationFingerprint("1", FileType.Directory, FileSystemLocationFingerprint.DIR_SIGNATURE),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializer.java

            }
            ImmutableMultimap<String, HashCode> rootHashes = readRootHashes(decoder);
            HashCode strategyConfigurationHash = hashCodeSerializer.read(decoder);
            return new SerializableFileCollectionFingerprint(fingerprints, rootHashes, strategyConfigurationHash);
        }
    
        private ImmutableMultimap<String, HashCode> readRootHashes(Decoder decoder) throws IOException {
            int numberOfRoots = decoder.readSmallInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

            def strategyConfigurationHash = TestHashCodes.hashCodeFrom(1234)
            def currentFingerprint = new SerializableFileCollectionFingerprint(current, ImmutableMultimap.of("some", TestHashCodes.hashCodeFrom(1234)), strategyConfigurationHash)
            def previousFingerprint = new SerializableFileCollectionFingerprint(previous, ImmutableMultimap.of("some", TestHashCodes.hashCodeFrom(4321)), strategyConfigurationHash)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy

            def strategyConfigurationHash = TestHashCodes.hashCodeFrom(5432)
            def currentFingerprint = new SerializableFileCollectionFingerprint(current, ImmutableMultimap.of("some", TestHashCodes.hashCodeFrom(1234)), strategyConfigurationHash)
            def previousFingerprint = new SerializableFileCollectionFingerprint(previous, ImmutableMultimap.of("some", TestHashCodes.hashCodeFrom(4321)), strategyConfigurationHash)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionHistoryStore.java

            return copyOfSorted(transformValues(
                fingerprints,
                value -> value.archive(SerializableFileCollectionFingerprint::new)
            ));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top