- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 294 for tophash (0.17 sec)
-
src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go
t.Errorf("%s: %v", test.m, err) } zipHash := hex.EncodeToString(h.Sum(nil)) if zipHash != test.wantFileHash { if *updateTestData { t.Logf("%s: updating zip file hash to %s", test.m, zipHash) test.wantFileHash = zipHash needUpdate = true } else { t.Errorf("%s: got zip file hash %s; want hash %s (but content sum matches)", test.m, zipHash, test.wantFileHash) } } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 19:33:59 UTC 2023 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 3.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
this.artifact = ArtifactUtils.copyArtifact(artifact); if ("pom".equals(artifact.getType()) && file != null) { pomHash = file.getPath().hashCode() + file.lastModified(); } else { pomHash = 0; } this.resolveManagedVersions = resolveManagedVersions; this.repositories.add(localRepository);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 15 14:24:56 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java
try { return doHash(inputStream, ByteStreams.nullOutputStream()); } catch (IOException e) { throw new UncheckedIOException("Failed to create MD5 hash for file content.", e); } } @Override public HashCode hashCopy(InputStream inputStream, OutputStream outputStream) throws IOException { return doHash(inputStream, outputStream); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java
*/ abstract Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext); /** * Try to hash the resource, and signal for fallback if it can't be hashed. * * @return An Optional containing the hash, or an empty Optional if fallback should be triggered */ abstract Optional<HashCode> tryHash(ZipEntryContext zipEntryContext);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6K bytes - Viewed (0) -
src/internal/filepathlite/path.go
if !fs.ValidPath(path) { return "", errInvalidPath } return localize(path) } // ToSlash is filepath.ToSlash. func ToSlash(path string) string { if Separator == '/' { return path } return replaceStringByte(path, Separator, '/') } // FromSlash is filepath.ToSlash. func FromSlash(path string) string { if Separator == '/' { return path }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
return e.workers.Load() } type expiryOp interface { OpHash() uint64 } type freeVersionTask struct { ObjectInfo } func (f freeVersionTask) OpHash() uint64 { return xxh3.HashString(f.TransitionedObject.Tier + f.TransitionedObject.Name) } func (n newerNoncurrentTask) OpHash() uint64 { return xxh3.HashString(n.bucket + n.versions[0].ObjectV.ObjectName) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 33.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java
hasher.putString(getClass().getName()); } @Override Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) { return Optional.of(snapshotContext) .flatMap(IoFunction.wrap(this::hashContent)); } @Override Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) { return Optional.of(zipEntryContext)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java
return Arrays.equals(a.getGenericParameterTypes(), b.getGenericParameterTypes()); } } return false; } @Override protected int doHash(Method method) { return new HashCodeBuilder() .append(method.getName()) .append(method.getParameterTypes()) .toHashCode(); } }; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java
@Override boolean filter(ZipEntryContext context) { return !context.getEntry().isDirectory() && matchesAnyFilters(context.getRelativePathSegments()); } @Override public Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) { return Optional.ofNullable(matchingFiltersFor(snapshotContext.getRelativePathSegments())) .map(resourceEntryFilter -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.3K bytes - Viewed (0)