Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 324 for Hashing (0.28 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.hash.Hashing;
    import com.google.common.primitives.UnsignedBytes;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.collect.CollectPreconditions.checkPositive;
    import static com.google.common.collect.Hashing.smearedHash;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Objects;
    import com.google.common.base.Preconditions;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    
    ## Multiple models
    
    Here's a general idea of how the models could look like with their password fields and the places where they are used:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.hash.Hashing;
    import com.google.common.primitives.UnsignedBytes;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Arrays;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/SipHashFunction.java

      @Override
      public Hasher newHasher() {
        return new SipHasher(c, d, k0, k1);
      }
    
      // TODO(kak): Implement and benchmark the hashFoo() shortcuts.
    
      @Override
      public String toString() {
        return "Hashing.sipHash" + c + "" + d + "(" + k0 + ", " + k1 + ")";
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof SipHashFunction) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
       * Returns the value of this hash code as a byte array. The caller may modify the byte array;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMultimap.java

        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
       * Returns the hash code for this multimap.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

    /**
     * Unit test for FarmHashFingerprint64.
     *
     * @author Kyle Maddison
     * @author Geoff Pike
     */
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top