Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for Nash (0.15 sec)

  1. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
       * implementation. Experimentally determined.
       */
      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Objects.java

        return a == b || (a != null && a.equals(b));
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/Striped64.java

       * exists, a CAS is tried.  Retries proceed by "double hashing",
       * using a secondary hash (Marsaglia XorShift) to try to find a
       * free slot.
       *
       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
        hash.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromHash = TreeMultimap.create(hash);
        assertEquals(hash, copyFromHash);
        assertEquals(Ordering.natural(), copyFromHash.keyComparator());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestCollidingSetGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Colliders;
    import java.util.List;
    
    /**
     * A generator using sample elements whose hash codes all collide badly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestCollidingSetGenerator implements TestSetGenerator<Object> {
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
          }
          int hash = 1;
          for (Set<E> axis : axes) {
            hash = 31 * hash + (size() / axis.size() * axis.hashCode());
    
            hash = ~~hash;
          }
          hash += adjust;
          return ~~hash;
        }
      }
    
      /**
       * Returns the set of all possible subsets of {@code set}. For example, {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                int hash = 17;
                hash = hash * 31 + groupId.hashCode();
                hash = hash * 31 + artifactId.hashCode();
                hash = hash * 31 + classifier.hashCode();
                hash = hash * 31 + extension.hashCode();
                hash = hash * 31 + version.hashCode();
                hash = hash * 31 + localRepo.hashCode();
                hash = hash * 31 + repositories.hashCode();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

       */
      @Override
      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this graph. The hash code of a graph is defined as the hash code of a
       * map from each of its {@link #edges() edges} to the associated {@link #edgeValueOrDefault(N, N,
       * V) edge value}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top