- Sort Score
- Num 10 results
- Language All
Results 4621 - 4630 of 8,165 for public (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
} } // Negative oldCount. @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_negativeOldCount_addSupported() { assertSetCountNegativeOldCount(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testSetCountConditional_negativeOldCount_addUnsupported() { try { assertSetCountNegativeOldCount();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java
* @author Louis Wasserman */ final class LongAddables { public static LongAddable create() { return new GwtLongAddable(); } private static final class GwtLongAddable implements LongAddable { private long value; public void increment() { value++; } public void add(long x) { value += x; } public long sum() { return value; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 08 14:27:16 GMT 2025 - 1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
* * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Jared Levy * @since 2.0 */ @GwtCompatible public final class ArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractListMultimap<K, V> { // Default from ArrayList private static final int DEFAULT_VALUES_PER_KEY = 3;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} } public void testSetWeakKeys() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} } public void testSetWeakKeys() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); checkStrength(map, Strength.WEAK, Strength.STRONG); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
@Override protected abstract SortedMap<K, V> delegate(); @Override public @Nullable Comparator<? super K> comparator() { return delegate().comparator(); } @Override @ParametricNullness public K firstKey() { return delegate().firstKey(); } @Override public SortedMap<K, V> headMap(@ParametricNullness K toKey) { return delegate().headMap(toKey); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java
" 100| 3| 2| 50", " 100| 10| 2| 50" } ) public String indicesShardsReplicasNodes = "10|1|0|1"; public int numTags = 2; private AllocationService strategy; private ClusterState initialClusterState; @Setup public void setUp() throws Exception { final String[] params = indicesShardsReplicasNodes.split("\\|");
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 13 08:33:41 GMT 2021 - 6.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> { @CollectionFeature.Require(SERIALIZABLE) public void testReserializeMap() { Map<K, V> deserialized = SerializableTester.reserialize(getMap());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
import junit.framework.TestCase; /** * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test * "suite," as the per-suite setup is expensive. */ public class GwtTestSuite extends TestCase { public static Test suite() throws IOException { GWTTestSuite suite = new GWTTestSuite(); for (ClassInfo info : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionSerializationTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SERIALIZABLE) public void testReserialize() { // For a bare Collection, the most we can guarantee is that the elements are preserved.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0)