Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SipHashFunction (0.06 sec)

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

        return "Hashing.sipHash" + c + "" + d + "(" + k0 + ", " + k1 + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof SipHashFunction) {
          SipHashFunction other = (SipHashFunction) object;
          return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.collect.ImmutableSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link SipHashFunction}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SipHashFunctionTest extends TestCase {
    
      // From https://131002.net/siphash/siphash24.c
      // k = 00 01 02 ...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

       */
      public static HashFunction sipHash24() {
        return SipHashFunction.SIP_HASH_24;
      }
    
      /**
       * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit
       * SipHash-2-4 algorithm</a> using the given seed.
       *
       * @since 15.0
       */
      public static HashFunction sipHash24(long k0, long k1) {
        return new SipHashFunction(2, 4, k0, k1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

       */
      public static HashFunction sipHash24() {
        return SipHashFunction.SIP_HASH_24;
      }
    
      /**
       * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit
       * SipHash-2-4 algorithm</a> using the given seed.
       *
       * @since 15.0
       */
      public static HashFunction sipHash24(long k0, long k1) {
        return new SipHashFunction(2, 4, k0, k1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top