- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,113 for REMOVE (0.06 sec)
-
tests/callbacks_test.go
createCallback.Remove("c1") if ok, msg := assertCallbacks(createCallback, []string{"c3", "c4", "c2"}); !ok { t.Errorf("callbacks tests failed, got %v", msg) } createCallback.Remove("c4") if ok, msg := assertCallbacks(createCallback, []string{"c3", "c2"}); !ok { t.Errorf("callbacks tests failed, got %v", msg) } createCallback.Remove("c2")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial004_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.2K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial003.py
"PlaneItem": { "title": "PlaneItem", "required": IsOneOf( ["description", "type", "size"], # TODO: remove when deprecating Pydantic v1 ["description", "size"], ), "type": "object", "properties": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertEquals(INITIAL_COUNT, multiset.remove(KEY, 0)); } public void testRemove_zeroFromNone() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.remove(KEY, 0)); } public void testRemove_nonePresent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.remove(KEY, 400)); } public void testRemove_someRemaining() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} alertListenerIfPresent(key, oldValue.getValue(), RemovalCause.REPLACED); return oldValue.getValue(); } @CanIgnoreReturnValue @Override public V remove(Object key) { Timestamped<V> stamped = cachingHashMap.remove(key); if (stamped != null) { V value = stamped.getValue(); // `key` was in the cache, so it's a K.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
} /** * A sensible definition of {@link #remove(Object)} in terms of {@link #remove(Object, int)}. If * you override {@link #remove(Object, int)}, you may wish to override {@link #remove(Object)} to * forward to this implementation. * * @since 7.0 */ @Override protected boolean standardRemove(@CheckForNull Object element) { return remove(element, 1) > 0; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
/* Should complain on attempt to remove() after peek(). */ assertThrows(IllegalStateException.class, () -> peekingIterator.remove()); assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek()); /* Should recover to be able to remove() after next(). */ assertEquals("B", peekingIterator.next()); peekingIterator.remove();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultiset.java
throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override public final boolean remove(@CheckForNull Object element) { return remove(element, 1) > 0; } @CanIgnoreReturnValue @Override public int remove(@CheckForNull Object element, int occurrences) { throw new UnsupportedOperationException(); } @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
return new BiMapEntry(entry); } @Override public void remove() { if (entry == null) { throw new IllegalStateException("no calls to next() since the last call to remove()"); } V value = entry.getValue(); iterator.remove(); removeFromInverseMap(value); entry = null; } }; } @WeakOuter
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 14.6K bytes - Viewed (0)