Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 282 for hashing (0.11 sec)

  1. guava/src/com/google/common/collect/RegularImmutableSet.java

      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        @Nullable Object[] table = this.table;
        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = Hashing.smearedHash(target); ; i++) {
          i &= mask;
          Object candidate = table[i];
          if (candidate == null) {
            return false;
          } else if (candidate.equals(target)) {
            return true;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. .teamcity/test-buckets.json

    				},
    				"subprojects":[
    					"plugin-use",
    					"build-cache-example-client",
    					"report-rendering",
    					"precondition-tester",
    					"tooling-api-builders",
    					"daemon-services",
    					"hashing",
    					"service-registry-builder",
    					"base-services-groovy",
    					"declarative-dsl-internal-utils",
    					"worker-main"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 08 11:14:16 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. README.md

    
    
    Guava is a set of core Java libraries from Google that includes new collection
    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 18:34:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top