Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Hashtable (0.03 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  2. 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];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. 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<>();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  5. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  6. 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;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/Maps.java

         *
         * @param <KEY> the key type of the <code>Map</code>
         * @param <VALUE> the value type of the <code>Map</code>
         * @param key the key to be added to the <code>Map</code>
         * @param value the value to be added to the <code>Map</code>
         * @return a {@literal Maps} for constructing a {@link Hashtable} with the specified key and value
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            // Test getEnvironment returns the correct environment
            Hashtable<String, String> env = ldapUser.getEnvironment();
            assertSame(testEnv, env);
            assertEquals("test.value", env.get("test.key"));
    
            // Test with empty environment
            Hashtable<String, String> emptyEnv = new Hashtable<>();
            LdapUser user = new LdapUser(emptyEnv, "user");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

     */
    package org.codelibs.core.naming;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Hashtable;
    
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    
    import org.codelibs.core.exception.NamingRuntimeException;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  // We are testing Hashtable / testing our tests on Hashtable.
                  @SuppressWarnings("JdkObsolete")
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return populate(new Hashtable<String, String>(), entries);
                  }
                })
            .withFeatures(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top