Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for rthash (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/ClassImplementationSnapshot.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl;
    
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    
    import javax.annotation.Nonnull;
    import javax.annotation.Nullable;
    import java.util.Objects;
    
    public class ClassImplementationSnapshot extends ImplementationSnapshot {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/exec/AbstractToolingModelRequirements.java

    import org.gradle.internal.Describables;
    import org.gradle.internal.DisplayName;
    import org.gradle.internal.buildtree.BuildActionModelRequirements;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    
    import java.util.function.Supplier;
    
    public abstract class AbstractToolingModelRequirements implements BuildActionModelRequirements {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 08 22:15:08 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/DefaultClasspathHasher.java

            this.fileCollectionFactory = fileCollectionFactory;
        }
    
        @Override
        public HashCode hash(ClassPath classpath) {
            CurrentFileCollectionFingerprint fingerprint = fingerprinter.fingerprint(fileCollectionFactory.fixed(classpath.getAsFiles()));
            return fingerprint.getHash();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 16:58:45 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/DefaultToolingModelParameterCarrierFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.models
    
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.snapshot.ValueSnapshotter
    import org.gradle.tooling.internal.adapter.ProtocolToModelAdapter
    import org.gradle.tooling.internal.consumer.connection.ToolingParameterProxy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top