Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,113 for REMOVE (0.18 sec)

  1. 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)
  2. tests/test_tutorial/test_response_model/test_tutorial004_py39.py

                    "Item": {
                        "title": "Item",
                        "required": IsOneOf(
                            ["name", "description", "price", "tax", "tags"],
                            # TODO: remove when deprecating Pydantic v1
                            ["name", "price"],
                        ),
                        "type": "object",
                        "properties": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                        "loc": ["body", "importance"],
                        "msg": "Field required",
                        "input": None,
                    },
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "item"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. 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)
Back to top