Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 511 for hashss (0.11 sec)

  1. src/hash/maphash/maphash.go

    package maphash
    
    // A Seed is a random value that selects the specific hash function
    // computed by a [Hash]. If two Hashes use the same Seeds, they
    // will compute the same hash values for any given input.
    // If two Hashes use different Seeds, they are very likely to compute
    // distinct hash values for any given input.
    //
    // A Seed must be initialized by calling [MakeSeed].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

                if (knownId != null) {
                    hasher.putBytes(knownId);
                    return false;
                }
                if (cl instanceof CachingClassLoader || cl instanceof MultiParentClassLoader) {
                    return true;
                }
                HashCode hash = classLoaderFactory.getClassLoaderClasspathHash(cl);
                if (hash != null) {
                    hasher.putHash(hash);
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/sha3/hashes.go

    // and SHAKE hash functions, as well as utility functions for hashing
    // bytes.
    
    import (
    	"hash"
    )
    
    // New224 creates a new SHA3-224 hash.
    // Its generic security strength is 224 bits against preimage attacks,
    // and 112 bits against collision attacks.
    func New224() hash.Hash {
    	return new224()
    }
    
    // New256 creates a new SHA3-256 hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy

            hasher = new CachingFileHasher(target, cacheAccess, new StringInterner(), timeStampInspector, "fileHashes", fileSystem, 1000, statisticsCollector)
        }
    
        def "hashes file when hash not cached"() {
            def stat = fileSystem.stat(file)
    
            when:
            def result = hasher.hash(file)
    
            then:
            result == hash
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            }*.join().toSet()
    
            then:
            hashes.size() == threadRange.size()
        }
    
        def 'null does not collide with other values'() {
            expect:
            def hasher = Hashing.newHasher()
            hasher.putNull()
            def hash = hasher.hash()
            hash != Hashing.hashString("abc")
        }
    
        def 'hash collision for bytes'() {
            def left = [[1, 2, 3], [4, 5]]
            def right = [[1, 2], [3, 4, 5]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashFunction.java

     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
     * data into it using methods like {@link Hasher#putBytes(byte[])}, and finally ask for the {@code
     * HashCode} when finished using {@link Hasher#hash}. (See an {@linkplain #newHasher example} of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashFunction.java

     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
     * data into it using methods like {@link Hasher#putBytes(byte[])}, and finally ask for the {@code
     * HashCode} when finished using {@link Hasher#hash}. (See an {@linkplain #newHasher example} of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  8. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

            hasher.putInt(array.length);
            for (char c : array) {
                hasher.putInt(c);
            }
        }
    
        public static void putDoubles(Hasher hasher, double[] array) {
            hasher.putInt(array.length);
            for (double d : array) {
                hasher.putDouble(d);
            }
        }
    
        public static void putFloats(Hasher hasher, float[] array) {
            hasher.putInt(array.length);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashingOutputStream.java

            hasher.putBytes(bytes, off, len);
            out.write(bytes, off, len);
        }
    
        public HashCode hash() {
            return hasher.hash();
        }
    
        @Override
        public void close() throws IOException {
            out.close();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/RuntimeClasspathResourceHasher.java

    import org.gradle.internal.fingerprint.hashing.ZipEntryContext;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    
    import javax.annotation.Nullable;
    import java.io.IOException;
    
    /**
     * Hashes contents of resources files and {@link ZipEntry}s) in runtime classpath entries.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top