Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for hashTable (0.13 sec)

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

            }
            outI++;
          }
          return outI == n ? hashTable : new Object[] {hashTable, outI, duplicateKey};
        } else {
          /*
           * Use 32 bits per entry.
           */
          int[] hashTable = new int[tableSize];
          Arrays.fill(hashTable, ABSENT);
    
          int outI = 0;
          entries:
          for (int i = 0; i < n; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedHashMultimap.java

            this.hashTable = hashTable;
            int mask = hashTable.length - 1;
            for (ValueSetLink<K, V> entry = firstEntry;
                entry != this;
                entry = entry.getSuccessorInValueSet()) {
              ValueEntry<K, V> valueEntry = (ValueEntry<K, V>) entry;
              int bucket = valueEntry.smearedValueHash & mask;
              valueEntry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = valueEntry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Hashtable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      transient @Nullable Object[] keys;
    
      /** The values of the entries in the map. */
      transient int[] values;
    
      transient int size;
    
      transient int modCount;
    
      /**
       * The hashtable. Its values are indexes to the keys, values, and entries arrays.
       *
       * <p>Currently, the UNSET value means "null pointer", and any non negative value x is the actual
       * index.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.Hashtable;
    import java.util.Map;
    
    /**
     * A cache of introspection information for a specific class instance.
     * Keys {@link Method} objects by a concatenation of the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

     * under the License.
     */
    package org.apache.maven.model.interpolation.reflection;
    
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    /**
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
        assertSame(table, ((RegularImmutableSet<String>) builder.build()).table);
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderForceCopy() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top