- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 175 for removable (0.05 seconds)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testRemove_noneRemaining() { int countToRemove = 30; AtomicInteger current = new AtomicInteger(countToRemove); when(backingMap.get(KEY)).thenReturn(current); // it's ok if removal fails: another thread may have done the remove when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
* the client and may be necessary for proper operation. * <p> * This class should be used in favor of {@code InetAddress} to resolve * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and * DNS resolvable hosts. */ public class UniAddress { private static final int RESOLVER_WINS = 0; private static final int RESOLVER_BCAST = 1; private static final int RESOLVER_DNS = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
.removalListener(countingListener) .ticker(fakeTicker) .maximumSize(2) .build(); // Add more than two elements to increment size removals. cache.put(3, 20); cache.put(6, 2); cache.put(98, 45); cache.put(56, 76); cache.put(23, 84); // Replace the two present elements. cache.put(23, 20);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
this.fromList = checkNotNull(fromList); this.function = checkNotNull(function); } /** * The default implementation inherited is based on iteration and removal of each element which * can be overkill. That's why we forward this call directly to the backing list. */ @Override protected void removeRange(int fromIndex, int toIndex) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
pairs.add(flags2); assertEquals(3, pairs.size(), "Should start with 3 pairs"); AvPairs.remove(pairs, AvPair.MsvAvFlags); assertEquals(1, pairs.size(), "Should have 1 pair after removal"); assertFalse(AvPairs.contains(pairs, AvPair.MsvAvFlags), "Should not contain MsvAvFlags"); assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
this.fromList = checkNotNull(fromList); this.function = checkNotNull(function); } /** * The default implementation inherited is based on iteration and removal of each element which * can be overkill. That's why we forward this call directly to the backing list. */ @Override protected void removeRange(int fromIndex, int toIndex) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
* * <p>This workaround should be removed at a distant future time when <a * href="https://issuetracker.google.com/issues/115932459">Android supports {@code * AnnotatedType}</a>. */ @SuppressWarnings("removal") // b/318391980 private static final class TypeVariableInvocationHandler implements InvocationHandler { private static final ImmutableMap<String, Method> typeVariableMethods; static {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
// Then verify(transportPool).removeTransport(transport); } @Test @DisplayName("Should handle null transport removal") void testRemoveNullTransport() { // Given doNothing().when(transportPool).removeTransport(null); // When transportPool.removeTransport(null);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
Element parentElement = root.child(PARENT).orElse(null); if (parentElement == null) { return false; } // Apply limited inference (child groupId/version removal only) return trimParentElementLimited(context, root, parentElement); } /** * Applies full parent-related inference optimizations for Maven 4.1.0+ models.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
cmd/bucket-targets.go
} arn, err := madmin.ParseARN(arnStr) if err != nil { return BucketRemoteArnInvalid{Bucket: bucket} } if arn.Type == madmin.ReplicationService { // reject removal of remote target if replication configuration is present rcfg, err := getReplicationConfig(ctx, bucket) if err == nil && rcfg != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.9K bytes - Click Count (0)