- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 2x (0.11 sec)
-
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
.that(ratio) .isAtMost( 2 * constructionAsymptotics.applyAsDouble(largeSize) / constructionAsymptotics.applyAsDouble(smallSize)); // allow up to 2x wobble in the constant factors } } public void testResistsHashFloodingOnQuery() { CallsCounter smallCounter = new CallsCounter();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 21:01:39 GMT 2023 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
* * <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); } /** Returns the hash prefix given the current mask. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
* * <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); } /** Returns the hash prefix given the current mask. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Aug 02 21:41:22 GMT 2021 - 7.1K bytes - Viewed (0)