Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 292 for hashPtr (0.13 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/FingerprintHashingStrategy.java

                appendCollectionToHasherKeepingOrder(hasher, sortedFingerprints);
            }
        },
        KEEP_ORDER {
            @Override
            public void appendToHasher(Hasher hasher, Collection<FileSystemLocationFingerprint> fingerprints) {
                appendCollectionToHasherKeepingOrder(hasher, fingerprints);
            }
        };
    
        public abstract void appendToHasher(Hasher hasher, Collection<FileSystemLocationFingerprint> fingerprints);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/DefaultHashingClassLoaderFactory.java

            Hasher hasher = Hashing.newHasher();
            addToHash(hasher, spec.getClassNames());
            addToHash(hasher, spec.getPackageNames());
            addToHash(hasher, spec.getPackagePrefixes());
            addToHash(hasher, spec.getResourcePrefixes());
            addToHash(hasher, spec.getResourceNames());
            addToHash(hasher, spec.getDisallowedClassNames());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformWorkspaceIdentity.java

            HashCode dependenciesHash
        ) {
            Hasher hasher = Hashing.newHasher();
            hasher.putString(normalizedInputArtifactPath);
            hasher.putString(producerBuildTreePath);
            hasher.put(secondaryInputsSnapshot);
            hasher.putHash(dependenciesHash);
            return new TransformWorkspaceIdentity(secondaryInputsSnapshot, hasher.hash());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 10:18:24 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                hasher.putInt(bytes.length);
                hasher.putBytes(bytes);
            }
    
            @Override
            public void putBytes(byte[] bytes, int off, int len) {
                hasher.putInt(len);
                hasher.putBytes(bytes, off, len);
            }
    
            @Override
            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/IgnoringResourceHasherTest.groovy

            0 * delegate.hash(_)
    
            and:
            hash == null
        }
    
        def "delegate configuration is added to hasher"() {
            def configurationHasher = Mock(Hasher)
    
            when:
            hasher.appendConfigurationToHasher(configurationHasher)
    
            then:
            1 * delegate.appendConfigurationToHasher(configurationHasher)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            transform.applyConfigurationTo(hasher);
            return hasher.hash();
        }
    
        private static ClasspathFileHasher createFileHasherWithConfig(HashCode configHash, ClasspathFileHasher fileHasher) {
            return sourceSnapshot -> {
                Hasher hasher = Hashing.newHasher();
                hasher.putHash(configHash);
                hasher.putHash(fileHasher.hashOf(sourceSnapshot));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

            when:
            hasher.hash(zipEntry('META-INF/foo'))
            hasher.hash(zipEntry('META-INF/foo/MANIFEST.MF'))
            hasher.hash(zipEntry('META-INF/properties'))
            hasher.hash(zipEntry('META-INF/build.propertiesX'))
            hasher.hash(zipEntry('bar.properties'))
            hasher.hash(zipEntry('resources/foo.properties'))
            hasher.hash(zipEntry('foo'))
            hasher.hash(zipEntry('org/gradle/foo.class'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy

            def file = file('foo') << contents
            def delegate = Mock(ResourceHasher)
            def hasher = LineEndingNormalizingResourceHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
    
            when:
            hasher.hash(snapshotContext(file))
    
            then:
            0 * delegate._
    
            when:
            hasher.hash(zipContext(file))
    
            then:
            0 * delegate._
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            def hasher = Hashing.newHasher()
            strings.each { hasher.putString(it) }
            hasher.hash()
        }
    
        def hashKey(List<List<Integer>> bytes) {
            def hasher = Hashing.newHasher()
            bytes.each {
                if (it.size() == 1) {
                    hasher.putByte(it[0] as byte)
                } else {
                    hasher.putBytes(it as byte[])
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top