- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 92 for rthash (0.15 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MissingFileSnapshot.java
package org.gradle.internal.snapshot; import com.google.common.collect.Interner; import org.gradle.internal.file.FileMetadata.AccessType; import org.gradle.internal.file.FileType; import org.gradle.internal.hash.HashCode; import org.gradle.internal.hash.Hashing; import java.util.Optional; /** * A snapshot of a missing file or a broken symbolic link or a named pipe. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java
} private static HashCode resourceHashCacheKey(HashCode contentHash, HashCode configurationHash) { Hasher hasher = Hashing.newHasher(); hasher.putHash(configurationHash); hasher.putHash(contentHash); return hasher.hash(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/SnapshotTaskInputsResultFilePropertyVisitState.java
CurrentFileCollectionFingerprint fingerprint = entry.getValue(); state.propertyName = entry.getKey(); state.propertyHash = fingerprint.getHash(); state.fingerprints = fingerprint.getFingerprints(); visitor.preProperty(state); fingerprint.getSnapshot().accept(state); visitor.postProperty(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 07 15:16:07 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt
import org.gradle.internal.cc.impl.initialization.ConfigurationCacheStartParameter import org.gradle.internal.buildtree.BuildActionModelRequirements import org.gradle.internal.hash.Hasher import org.gradle.internal.hash.Hashing import org.gradle.internal.service.scopes.Scope import org.gradle.internal.service.scopes.ServiceScope import org.gradle.util.GradleVersion import org.gradle.util.internal.GFileUtils.relativePathOf
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java
this.rootHashes = rootHashes; } @Override public HashCode getHash() { if (hash == null) { Hasher hasher = Hashing.newHasher(); hashingStrategy.appendToHasher(hasher, fingerprints.values()); hash = hasher.hash(); } return hash; } @Override public boolean isEmpty() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
void setValueReference(ValueReference<K, V> valueReference); /** Returns the next entry in the chain. */ @CheckForNull ReferenceEntry<K, V> getNext(); /** Returns the entry's hash. */ int getHash(); /** Returns the key for this entry. */ @CheckForNull K getKey(); /* * Used by entries that use access order. Access entries are maintained in a doubly-linked list.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java
} ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder(); roots.accept(snapshot -> { builder.put(snapshot.getAbsolutePath(), snapshot.getHash()); return SnapshotVisitResult.SKIP_SUBTREE; }); return builder.build(); } /** * For a {@link RegularFileSnapshot} returns the file length, otherwise {@code 0}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializer.java
SourceFileState sourceFileState = entry.getValue(); fileSerializer.write(encoder, entry.getKey()); hashSerializer.write(encoder, sourceFileState.getHash()); encoder.writeBoolean(sourceFileState.isHasUnresolved()); encoder.writeSmallInt(sourceFileState.getEdges().size()); for (IncludeFileEdge includeFileState : sourceFileState.getEdges()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java
/** * The hash of the snapshot. * * This makes it possible to uniquely identify the snapshot. * <dl> * <dt>Directories</dt> * <dd>The combined hash of the children, calculated by appending the name and the hash of each child to a hasher.</dd> * <dt>Regular Files</dt> * <dd>The hash of the content of the file.</dd> * <dt>Missing files</dt>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 15:09:45 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy
@TempDir File tempDir def "calculates hash for text file with #description"() { def file = file('foo') << contents def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher) def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS) when: hasher.hash(snapshot(file)) then: 0 * delegate._
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 5.5K bytes - Viewed (0)