- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 164 for Removal (0.79 seconds)
-
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* replace(key, long). * * - Introduce a special-value private static final AtomicLong that would have the meaning of * removal-in-progress, and rework all operations to properly distinguish between zero and * absent. */ /** * If {@code key} is not already associated with a value or if {@code key} is associated with
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 13:21:19 GMT 2025 - 14K bytes - Click Count (0) -
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) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* collector by only using a constant number of internal objects. * * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and * {@link #values} views is the same as insertion order. Any removal invalidates any ordering * guarantees. * * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* collector by only using a constant number of internal objects. * * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and * {@link #values} views is the same as insertion order. Any removal invalidates any ordering * guarantees. * * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K 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) -
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) -
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) -
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) -
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)