- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for hashCodeFrom (0.14 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy
new DirectorySnapshot(childDir.absolutePath, childDir.name, FileMetadata.AccessType.DIRECT, TestHashCodes.hashCodeFrom(2345), [ new RegularFileSnapshot(childFile.absolutePath, childFile.name, TestHashCodes.hashCodeFrom(9876), DefaultFileMetadata.file(123, 456, FileMetadata.AccessType.DIRECT)) ]),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializerTest.groovy
def "reads and writes fingerprints"() { def hash = TestHashCodes.hashCodeFrom(1234) def rootHashes = ImmutableMultimap.of( "/1", FileSystemLocationFingerprint.MISSING_FILE_SIGNATURE, "/2", TestHashCodes.hashCodeFrom(5678), "/3", TestHashCodes.hashCodeFrom(1234)) def strategyConfigurationHash = TestHashCodes.hashCodeFrom(6543) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.1K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy
getHash() >> TestHashCodes.hashCodeFrom(345) getFingerprints() >> [ '/foo/one.txt': new DefaultFileSystemLocationFingerprint('/foo/one.txt', FileType.RegularFile, TestHashCodes.hashCodeFrom(123)), '/foo/sub/two.txt': new DefaultFileSystemLocationFingerprint('/foo/sub/two.txt', FileType.RegularFile, TestHashCodes.hashCodeFrom(234)), ]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 07 15:16:07 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy
def emptyDirectory = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x1234), []) def directoryWithStaleBrokenSymlink = new DirectorySnapshot("/absolute", "absolute", AccessType.DIRECT, TestHashCodes.hashCodeFrom(0x5678), [ staleEntry ]) def previousOutputFiles = ImmutableSortedMap.<String, FileSystemSnapshot> of(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStoreTest.groovy
def outputHashes = ImmutableListMultimap.<String, HashCode>builder() .putAll("out1", hashCodeFrom(0x1234), hashCodeFrom(0x2345)) .putAll("out2", hashCodeFrom(0x3456)) .build() def metadata = new ImmutableWorkspaceMetadata(new OriginMetadata("test-invocation-id", hashCodeFrom(0x4567), Duration.ofSeconds(123)), outputHashes) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:49 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy
when: def fileEmpty = new File("empty") def fileStates = [:] fileStates.put(fileEmpty, compilationFileState(TestHashCodes.hashCodeFrom(0x12345678), [])) def fileTwo = new File("two") def stateTwo = compilationFileState(TestHashCodes.hashCodeFrom(0x23456789), ["ONE", "TWO"]) fileStates.put(fileTwo, stateTwo) def state = compilationState(fileStates) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisTest.groovy
ClassSetAnalysis s1 = snapshot(["A": TestHashCodes.hashCodeFrom(0xaa), "B": TestHashCodes.hashCodeFrom(0xbb), "C": TestHashCodes.hashCodeFrom(0xcc)]) ClassSetAnalysis s2 = snapshot(["A": TestHashCodes.hashCodeFrom(0xaa), "B": TestHashCodes.hashCodeFrom(0xbbbb)]) expect: s1.findChangesSince(s2).dependents.allDependentClasses == ["B"] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingResourceHasherTest.groovy
def snapshotContext = new DefaultRegularFileSnapshotContext({path}, snapshot) def cachingHasher = new CachingResourceHasher(delegate, snapshotterCacheService) def "uses cache service for snapshots"() { def expectedHash = TestHashCodes.hashCodeFrom(123) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
new ShortValueSnapshot(Short.MAX_VALUE) | _ new ShortValueSnapshot(Short.MIN_VALUE) | _ } def "serializes hash properties"() { def value = new HashCodeSnapshot(TestHashCodes.hashCodeFrom(123)) when: write(value) then: value == written } enum Thing { THING_1, THING_2 } def "serializes enum properties"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0)