Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for hashTable (0.04 seconds)

  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++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularImmutableMultiset.java

      }
    
      @Override
      public int count(@Nullable Object element) {
        @Nullable ImmutableEntry<?>[] hashTable = this.hashTable;
        if (element == null || hashTable.length == 0) {
          return 0;
        }
        int hash = smearedHash(element);
        int mask = hashTable.length - 1;
        for (ImmutableEntry<?> entry = hashTable[hash & mask];
            entry != null;
            entry = entry.nextInBucket()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

            this.hashTable = hashTable;
            int mask = hashTable.length - 1;
            for (ValueEntry<K, V> entry = firstEntry;
                entry != null;
                entry = entry.successorInValueSet) {
              int bucket = entry.smearedValueHash & mask;
              entry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = entry;
            }
          }
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

            this.hashTable = hashTable;
            int mask = hashTable.length - 1;
            for (ValueEntry<K, V> entry = firstEntry;
                entry != null;
                entry = entry.successorInValueSet) {
              int bucket = entry.smearedValueHash & mask;
              entry.nextInValueBucket = hashTable[bucket];
              hashTable[bucket] = entry;
            }
          }
        }
    
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

              int index = j & mask;
              if (hashTable[index] == null) {
                hashTable[index] = e;
                break;
              }
            }
          }
          return hashTable;
        }
    
        void ensureTableCapacity(int minCapacity) {
          int newTableSize;
          if (hashTable == null) {
            newTableSize = chooseTableSize(minCapacity);
            hashTable = new Object[newTableSize];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        /**
         * Creates and returns a new instance of {@link Hashtable}.
         *
         * @param <K> the key type of {@link Hashtable}
         * @param <V> the value type of {@link Hashtable}
         * @return a new instance of {@link Hashtable}
         * @see Hashtable#Hashtable()
         */
        public static <K, V> Hashtable<K, V> newHashtable() {
            return new Hashtable<>();
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/CompactHashing.java

        }
      }
    
      /**
       * Returns a larger power of 2 hashtable size given the current mask.
       *
       * <p>For hashtable sizes less than or equal to 32, the returned power of 2 is 4x the current
       * hashtable size to reduce expensive rehashing. Otherwise the returned power of 2 is 2x the
       * current hashtable size.
       */
      static int newCapacity(int mask) {
        return ((mask < 32) ? 4 : 2) * (mask + 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

              ImmutableSet<E> result;
              if (hashTable != null && chooseTableSize(size) == hashTable.length) {
                @Nullable Object[] uniqueElements =
                    shouldTrim(size, contents.length) ? Arrays.copyOf(contents, size) : contents;
                result =
                    new RegularImmutableSet<E>(
                        uniqueElements, hashCode, hashTable, hashTable.length - 1, size);
              } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         * @return The environment for LDAP connection.
         */
        protected Hashtable<String, String> createEnvironment(final String initialContextFactory, final String securityAuthentication,
                final String providerUrl, final String principal, final String credntials) {
            final Hashtable<String, String> env = new Hashtable<>();
            putEnv(env, Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapUser.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ldap;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.Arrays;
    import java.util.Hashtable;
    
    import org.apache.commons.lang3.ArrayUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FessUser;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top