- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for stroke (3.52 sec)
-
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// so more than (maximumSize / #segments) keys could get assigned to the same segment, which // would cause one to be evicted. return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.copyOf(Strength.values())) .withConcurrencyLevels(ImmutableSet.of(1, 4, 16, 64)) .withMaximumSizes(ImmutableSet.of(400, 1000))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* returned by {@code factory}. Those objects should not be manually updated and they should not * use soft, weak, or phantom references. * * @param map place to store the mapping from each key to its corresponding values * @param factory supplier of new, empty collections that will each hold all values for a given * key * @throws IllegalArgumentException if {@code map} is not empty
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 86.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
return requireNonNull(rowKeySet().comparator()); } /** * Returns the comparator that orders the columns. With natural ordering, {@link * Ordering#natural()} is returned. * * @deprecated Store the {@link Comparator} alongside the {@link Table}. Or, if you know that the * {@link Table} contains at least one value, you can retrieve the {@link Comparator} with:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* * @param rowIndex position of the row key in {@link #rowKeyList()} * @param columnIndex position of the row key in {@link #columnKeyList()} * @param value value to store in the table * @return the previous value with the specified row and column * @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 26.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} }; private CacheBuilderFactory factoryWithAllKeyStrengths() { return new CacheBuilderFactory() .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); } private Iterable<LoadingCache<Key, String>> caches() { CacheBuilderFactory factory = factoryWithAllKeyStrengths();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
} public void testStrong_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; assertEquals(Strength.STRONG, internerImpl.map.keyStrength()); } public void testWeak_simplistic() { String canonical = "a"; String not = new String("a");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG; import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK; import static com.google.common.testing.SerializableTester.reserializeAndAssert; import static java.util.Arrays.asList;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} else { return next >>> 1; } } public void testCrc32cStrideTable() { int next = CRC32C_GENERATOR_FLIPPED; for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF]; } int[][] expected = new int[4][256]; for (int b = 0; b < 4; ++b) { for (int bit = 128; bit != 0; bit >>= 1) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link * com.google.common.collect.testing.testers.AbstractListTester AbstractListTester}, a call to * {@code expectContents()} invokes this version</strong>. * * @param expected expected value of {@link #container} */ /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* * <p>This class can't depend on other Guava code. If we were to load this class in the same class * loader as the rest of Guava, this thread would keep an indirect strong reference to the class * loader and prevent it from being garbage collected. This poses a problem for environments where * you want to throw away the class loader. For example, dynamically reloading a web application or
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0)