- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for Hashtable (0.06 seconds)
-
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
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 theCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
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(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
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 {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
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 {@linkCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
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. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0)