- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for contentHash (0.23 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshot.java
private final ChildMap<FileSystemLocationSnapshot> children; private final HashCode contentHash; public DirectorySnapshot(String absolutePath, String name, AccessType accessType, HashCode contentHash, List<FileSystemLocationSnapshot> children) { this(absolutePath, name, accessType, contentHash, childMapFromSorted(children.stream() .map(it -> new ChildMap.Entry<>(it.getName(), it))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/CacheManifest.java
private final String relativePath; private final HashCode contentHash; private final long length; public ManifestEntry(FileType type, String relativePath, HashCode contentHash, long length) { this.type = type; this.relativePath = relativePath; this.contentHash = contentHash; this.length = length; } public FileType getType() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RegularFileSnapshot.java
private final HashCode contentHash; private final FileMetadata metadata; public RegularFileSnapshot(String absolutePath, String name, HashCode contentHash, FileMetadata metadata) { super(absolutePath, name, metadata.getAccessType()); this.contentHash = contentHash; this.metadata = metadata; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/StringTextResource.java
} @Override public HashCode getContentHash() throws ResourceException { if (contentHash == null) { PrimitiveHasher hasher = Hashing.newPrimitiveHasher(); hasher.putHash(SIGNATURE); hasher.putString(getText()); contentHash = hasher.hash(); } return contentHash; } @Override public File getFile() { return null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/CachingTextResource.java
private static final HashCode SIGNATURE = Hashing.signature(CachingTextResource.class); private final TextResource resource; private String content; private HashCode contentHash; public CachingTextResource(TextResource resource) { this.resource = resource; } @Override public String getDisplayName() { return resource.getDisplayName(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FingerprintMapSerializer.java
HashCode contentHash = readContentHash(fileType, decoder); byte fingerprintKind = decoder.readByte(); switch (fingerprintKind) { case DEFAULT_NORMALIZATION: String normalizedPath = decoder.readString(); return new DefaultFileSystemLocationFingerprint(stringInterner.intern(normalizedPath), fileType, contentHash); case IGNORED_PATH_NORMALIZATION:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFileSystemLocationFingerprint.java
switch (type) { case Directory: return DIRECTORY; case Missing: return MISSING_FILE; case RegularFile: return new IgnoredPathFileSystemLocationFingerprint(FileType.RegularFile, contentHash); default: throw new IllegalStateException();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java
private final HashCode normalizedContentHash; private final String normalizedPath; public DefaultFileSystemLocationFingerprint(String normalizedPath, FileType type, HashCode contentHash) { this.normalizedContentHash = hashForType(type, contentHash); this.normalizedPath = normalizedPath; } private static HashCode hashForType(FileType fileType, HashCode hash) { switch (fileType) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:35 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java
} return resourceHash; } 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) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy
then: result == filteredOutputs 0 * _ } private static RegularFileSnapshot fileSnapshot(String name, HashCode contentHash) { new RegularFileSnapshot("/absolute/${name}", name, contentHash, DefaultFileMetadata.file(0L, 0L, FileMetadata.AccessType.DIRECT)) } private static FileSystemLocationSnapshot directorySnapshot(RegularFileSnapshot... contents) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:30 UTC 2023 - 4K bytes - Viewed (0)