Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for hashTable (0.05 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/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)
  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/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)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashMap.java

       * part of the smeared hash of the key 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

        return findEntry(value, valueHash, hashTableVToK, nextInBucketVToK, values);
      }
    
      int findEntry(
          @Nullable Object o,
          int oHash,
          int[] hashTable,
          int[] nextInBucket,
          @Nullable Object[] array) {
        for (int entry = hashTable[bucket(oHash)]; entry != ABSENT; entry = nextInBucket[entry]) {
          if (Objects.equals(array[entry], o)) {
            return entry;
          }
        }
        return ABSENT;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top