Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for rthash (0.14 sec)

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

            hasher.putString("SIGNATURE");
            hasher.putString(thing);
            return hasher.hash();
        }
    
        /**
         * Hash the given bytes with the default hash function.
         */
        public static HashCode hashBytes(byte[] bytes) {
            return DEFAULT.hashBytes(bytes);
        }
    
        /**
         * Hash the given string with the default hash function.
         */
        public static HashCode hashString(CharSequence string) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

      }
    
      /**
       * Implemented by the user to return a hash code for {@code t}, subject to the requirements
       * specified in {@link #hash}.
       *
       * <p>This method should not be called except by {@link #hash}. When {@link #hash} calls this
       * method, {@code t} is guaranteed to be non-null.
       *
       * @since 10.0 (previously, subclasses would override hash())
       */
      @ForOverride
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. 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)
Back to top