Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for hashFunction (0.3 sec)

  1. android/guava/src/com/google/common/hash/HashFunction.java

     * @since 11.0
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashFunction.java

     * @since 11.0
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
       * HashFunction hf = Hashing.md5();
       * HashCode hc = hf.newHasher()
       *     .putLong(id)
       *     .putBoolean(isActive)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Hashing.java

       *
       * @since 19.0
       */
      public static HashFunction concatenating(Iterable<HashFunction> hashFunctions) {
        checkNotNull(hashFunctions);
        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 19.0
       */
      public static HashFunction concatenating(Iterable<HashFunction> hashFunctions) {
        checkNotNull(hashFunctions);
        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

        assertHashByteBufferMatchesBytes(hashFunction);
        assertHashByteBufferExhaustsBuffer(hashFunction);
        assertHashByteBufferPreservesByteOrder(hashFunction);
        assertHasherByteBufferPreservesByteOrder(hashFunction);
      }
    
      static void assertHashByteBufferMatchesBytes(HashFunction hashFunction) {
        Random rng = new Random(0L);
        byte[] bytes = new byte[rng.nextInt(256) + 1];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  6. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/AbstractMavenPublisher.java

                    }
                }
            }
    
            private void publishChecksum(ExternalResourceName destination, File content, HashFunction hashFunction) {
                byte[] checksum = createChecksumFile(content, hashFunction);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 12:20:56 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

        }
    
        private static final HashFunction MD5 = MessageDigestHashFunction.of("MD5");
    
        private static final HashFunction SHA1 = MessageDigestHashFunction.of("SHA-1");
    
        private static final HashFunction SHA256 = MessageDigestHashFunction.of("SHA-256");
    
        private static final HashFunction SHA512 = MessageDigestHashFunction.of("SHA-512");
    
        private static final HashFunction DEFAULT = MD5;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      // From http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
      private static final ImmutableTable<String, SecretKey, HashFunction> ALGORITHMS =
          new ImmutableTable.Builder<String, SecretKey, HashFunction>()
              .put("HmacMD5", MD5_KEY, Hashing.hmacMd5(MD5_KEY))
              .put("HmacSHA1", SHA1_KEY, Hashing.hmacSha1(SHA1_KEY))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      // From http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#Mac
      private static final ImmutableTable<String, SecretKey, HashFunction> ALGORITHMS =
          new ImmutableTable.Builder<String, SecretKey, HashFunction>()
              .put("HmacMD5", MD5_KEY, Hashing.hmacMd5(MD5_KEY))
              .put("HmacSHA1", SHA1_KEY, Hashing.hmacSha1(SHA1_KEY))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_32 =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ false);
      static final HashFunction MURMUR3_32_FIXED =
          new Murmur3_32HashFunction(0, /* supplementaryPlaneFix= */ true);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
Back to top