- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 751 for clear (0.02 seconds)
-
android/guava/src/com/google/common/collect/Maps.java
K k = (K) key; return function.apply(k); } else { return null; } } @Override public void clear() { backingSet().clear(); } @Override protected Set<Entry<K, V>> createEntrySet() { @WeakOuter final class EntrySetImpl extends EntrySet<K, V> { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
K k = (K) key; return function.apply(k); } else { return null; } } @Override public void clear() { backingSet().clear(); } @Override protected Set<Entry<K, V>> createEntrySet() { @WeakOuter final class EntrySetImpl extends EntrySet<K, V> { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
break } } if (routes.isEmpty()) { // We've exhausted all Proxies so fallback to the postponed routes. routes += postponedRoutes postponedRoutes.clear() } return Selection(routes) } /** Prepares the proxy servers to try. */ private fun resetNextProxy( url: HttpUrl, proxy: Proxy?, ) { fun selectProxies(): List<Proxy> {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
unfiltered.remove("three"); assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered); assertEquals(ImmutableMap.of("four", 4), filtered); unfiltered.clear(); assertEquals(ImmutableMap.of(), unfiltered); assertEquals(ImmutableMap.of(), filtered); } public void testFilteredValuesIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
@BeforeEach void setUp() { // Save original system property originalSystemProperty = System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); // Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system propertyCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 08 21:10:33 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java
CacheRecord record = new CacheRecord(exception); cache.put(key, record); return record; } @Override public void flush() { cache.clear(); } protected static int pluginHashCode(Plugin plugin) { return CacheUtils.pluginHashCode(plugin); } protected static boolean pluginEquals(Plugin a, Plugin b) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testKeySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Object> keys = cache.asMap().keySet(); keys.clear(); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_empty_remove() { for (LoadingCache<Object, Object> cache : caches()) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testKeySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Object> keys = cache.asMap().keySet(); keys.clear(); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_empty_remove() { for (LoadingCache<Object, Object> cache : caches()) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 11.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
Collection<V> unmodifiableEmptyCollection() { if (unfiltered instanceof SetMultimap) { return emptySet(); } else { return emptyList(); } } @Override public void clear() { keySet().clear(); } @Override Set<K> createKeySet() { return Sets.filter(unfiltered.keySet(), keyPredicate); } @Override public Collection<V> get(@ParametricNullness K key) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
size -= oldCount; } else { backingMap.setValue(entryIndex, newCount); size += newCount - oldCount; } return true; } @Override public final void clear() { backingMap.clear(); size = 0; } /** * Skeleton of per-entry iterators. We could push this down and win a few bytes, but it's complex * enough it's not especially worth it. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0)