- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 92 for rthash (0.13 sec)
-
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) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/GradleUserHomeScopeFileTimeStampInspector.java
public void beforeComplete() { updateOnFinishBuild(); synchronized (lock) { try { // These files have an unreliable timestamp - discard any cached state for them and rehash next time they are seen if (currentTimestamp == getLastBuildTimestamp()) { for (String path : filesWithCurrentTimestamp) { fileHasher.discard(path);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/HashCodeSnapshot.java
package org.gradle.internal.snapshot.impl; import org.gradle.internal.hash.HashCode; import org.gradle.internal.hash.Hasher; public class HashCodeSnapshot extends AbstractIsolatableScalarValue<HashCode> { public HashCodeSnapshot(HashCode value) { super(value); } @Override public void appendToHasher(Hasher hasher) { hasher.putHash(getValue()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1005 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go
}) } func recordAuthenticationLatency(result, jwtIssuerHash string, duration time.Duration) { jwtAuthenticatorLatencyMetric.WithLabelValues(result, jwtIssuerHash).Observe(duration.Seconds()) } func getHash(data string) string { if len(data) > 0 { return fmt.Sprintf("sha256:%x", sha256.Sum256([]byte(data))) } return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/PathAssembler.java
} private String rootDirName(String distName, WrapperConfiguration configuration) { String urlHash = getHash(Download.safeUri(configuration.getDistribution()).toASCIIString()); return distName + "/" + urlHash; } /** * This method computes a hash of the provided {@code string}. * <p> * The algorithm in use by this method is as follows: * <ol>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy
]) def beforeExecutionState = Mock(BeforeExecutionState) { getInputFileProperties() >> ImmutableSortedMap.of('foo', Mock(CurrentFileCollectionFingerprint) { getHash() >> TestHashCodes.hashCodeFrom(345) getFingerprints() >> [ '/foo/one.txt': new DefaultFileSystemLocationFingerprint('/foo/one.txt', FileType.RegularFile, TestHashCodes.hashCodeFrom(123)),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 07 15:16:07 UTC 2023 - 9.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/tooling/provider/model/internal/ToolingModelParameterCarrier.java
* allowing access to its properties via methods available on the {@code viewType}. */ Object getView(Class<?> viewType); /** * Returns a hash of the original parameter object. */ HashCode getHash(); @NonNullApi @ServiceScope(Scope.BuildTree.class) interface Factory { ToolingModelParameterCarrier createCarrier(Object parameter); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/NonNormalizedIdentityImmutableTransformExecution.java
// This is why the hash is captured here and not in visitIdentityInputs(). FileSystemLocationSnapshot inputArtifactSnapshot = fileSystemAccess.read(inputArtifact.getAbsolutePath()); HashCode inputArtifactSnapshotHash = inputArtifactSnapshot.getHash(); return TransformWorkspaceIdentity.createNonNormalizedImmutable(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:14:33 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/erasure-sets_test.go
// Tests hashing order to be consistent. for i, testCase := range testCases { if crcHashElement := hashKey("CRCMOD", testCase.objectName, 200, testUUID); crcHashElement != testCase.crcHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.crcHash, crcHashElement) } } if crcHashElement := hashKey("CRCMOD", "This will fail", -1, testUUID); crcHashElement != -1 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 12 07:21:56 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/snapshot/impl/DefaultSnapshottingService.java
} @Override public Snapshot snapshotFor(Path filePath) { String absolutePath = filePath.toAbsolutePath().toString(); HashCode hash = fileSystemAccess.read(absolutePath).getHash(); return new DefaultSnapshot(hash); } private static class DefaultSnapshot implements Snapshot { private final HashCode hashCode; public DefaultSnapshot(HashCode hashCode) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:17:11 UTC 2023 - 1.9K bytes - Viewed (0)