- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,357 for removeIf (2.1 sec)
-
internal/config/certs_test.go
t.Errorf("Test %d: test should succeed but it failed: %v", i, err) } if err == nil && testCase.shouldFail { t.Errorf("Test %d: test should fail but it succeed", i) } os.Remove(privateKey) os.Remove(certificate) } } var loadX509KeyPairTests = []struct { password string privateKey, certificate string shouldFail bool }{ { password: "",
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
} } /** * A sensible definition of {@link #poll} in terms of {@link #remove}. If you override {@link * #remove}, you may wish to override {@link #poll} to forward to this implementation. * * @since 7.0 */ protected @Nullable E standardPoll() { try { return remove(); } catch (NoSuchElementException caught) { return null; } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
} final Class<?> result = clazz; clazz = clazz.getSuperclass(); return result; } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalListener.java
*/ package com.google.common.cache; import com.google.common.annotations.GwtCompatible; /** * An object that can receive a notification when an entry is removed from a cache. The removal * resulting in notification could have occurred to an entry being manually removed or replaced, or * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
assertTrue(result.remove(v0())); assertFalse(multimap().containsEntry(k0(), v0())); assertEquals(2, multimap().size()); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testPropagatesRemoveLastElementToMultimap() { Collection<V> result = multimap().asMap().get(k0()); assertTrue(result.remove(v0())); assertGet(k0()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
faulty: Boolean, ) { if (faulty) { writeFaults.add(file) } else { writeFaults.remove(file) } } fun setFaultyDelete( file: Path, faulty: Boolean, ) { if (faulty) { deleteFaults.add(file) } else { deleteFaults.remove(file) } } fun setFaultyRename( file: Path, faulty: Boolean, ) { if (faulty) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
} public void testRemove() { TestMap map = new TestMap(); map.put("foo", 1); assertFalse(map.remove("foo", 2)); assertFalse(map.remove("bar", 1)); assertEquals(Integer.valueOf(1), map.get("foo")); assertTrue(map.remove("foo", 1)); assertTrue(map.isEmpty()); } public void testReplace() { TestMap map = new TestMap(); map.put("foo", 1);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Object key = warmed.get(i - WARMUP_MIN).getKey(); Object value = warmed.get(i - WARMUP_MIN).getValue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().remove(key, value)).isTrue(); assertThat(cache.asMap().remove(key, -1)).isFalse(); assertThat(cache.asMap().containsKey(key)).isFalse(); } checkEmpty(cache); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
return p; } } return null; } /** * Remove all occurances of the given type * * @param pairs the list of AV pairs to modify * @param type the AV pair type to remove */ public static void remove(final List<AvPair> pairs, final int type) { final Iterator<AvPair> it = pairs.iterator(); while (it.hasNext()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)