Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Murmur3_128HashFunction (0.31 sec)

  1. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

    import com.google.common.base.Charsets;
    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    
    /** Tests for {@link Murmur3_128HashFunction}. */
    public class Murmur3Hash128Test extends TestCase {
      public void testKnownValues() {
        assertHash(0, 0x629942693e10f867L, 0x92db0b82baeb5347L, "hell");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

    import com.google.common.base.Charsets;
    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import junit.framework.TestCase;
    
    /** Tests for {@link Murmur3_128HashFunction}. */
    public class Murmur3Hash128Test extends TestCase {
      public void testKnownValues() {
        assertHash(0, 0x629942693e10f867L, 0x92db0b82baeb5347L, "hell");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

        }
        if (bits <= 128) {
          return Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        }
    
        // Otherwise, join together some 128-bit murmur3s
        int hashFunctionsNeeded = (bits + 127) / 128;
        HashFunction[] hashFunctions = new HashFunction[hashFunctionsNeeded];
        hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        int seed = GOOD_FAST_HASH_SEED;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
Back to top