Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for hashFunction (1.27 sec)

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

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Skeleton implementation of {@link HashFunction} in terms of {@link #newHasher()}.
     *
     * <p>TODO(lowasser): make public
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHashFunction implements HashFunction {
      @Override
      public <T extends @Nullable Object> HashCode hashObject(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractCompositeHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // array not modified after creation
      final HashFunction[] functions;
    
      AbstractCompositeHashFunction(HashFunction... functions) {
        for (HashFunction function : functions) {
          checkNotNull(function);
        }
        this.functions = functions;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    
      static final HashFunction GOOD_FAST_HASH_128 =
          new Murmur3_128HashFunction(Hashing.GOOD_FAST_HASH_SEED);
    
      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction MURMUR3_128 = new Murmur3_128HashFunction(0);
    
      static final HashFunction GOOD_FAST_HASH_128 =
          new Murmur3_128HashFunction(Hashing.GOOD_FAST_HASH_SEED);
    
      // TODO(user): when the shortcuts are implemented, update BloomFilterStrategies
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/SipHashFunction.java

    import javax.annotation.CheckForNull;
    
    /**
     * {@link HashFunction} implementation of SipHash-c-d.
     *
     * @author Kurt Alfred Kluever
     * @author Jean-Philippe Aumasson
     * @author Daniel J. Bernstein
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class SipHashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction SIP_HASH_24 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // k = 00 01 02 ...
      private static final long K0 = 0x0706050403020100L;
      private static final long K1 = 0x0f0e0d0c0b0a0908L;
      private static final HashFunction SIP_WITH_KEY = Hashing.sipHash24(K0, K1);
      private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
    
      // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/SipHashFunction.java

    import javax.annotation.CheckForNull;
    
    /**
     * {@link HashFunction} implementation of SipHash-c-d.
     *
     * @author Kurt Alfred Kluever
     * @author Jean-Philippe Aumasson
     * @author Daniel J. Bernstein
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class SipHashFunction extends AbstractHashFunction implements Serializable {
      static final HashFunction SIP_HASH_24 =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top