Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,712 for remove (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedWrongKeyPresentValue() {
        assertFalse(getMap().remove(k3(), v0()));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedWrongKeyPresentValue() {
        assertFalse(getMap().remove(k3(), v0()));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          multiset.remove(sampleElement, 2);
          fail("remove(Object, int) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
        try {
          multiset.removeIf(x -> false);
          fail("removeIf(Predicate) succeeded on unmodifiable collection");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          assertThrows(IllegalStateException.class, () -> iterator.remove());
        } else {
          iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          assertThrows(IllegalStateException.class, () -> iterator.remove());
        } else {
          iterator.next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body/test_tutorial001.py

                        "loc": ["body", "price"],
                        "msg": "Field required",
                        "input": {"name": "Foo"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "price"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        derivedFeatures.remove(CollectionFeature.GENERAL_PURPOSE);
        derivedFeatures.remove(CollectionFeature.SUPPORTS_ADD);
        derivedFeatures.remove(CollectionFeature.ALLOWS_NULL_VALUES);
        derivedFeatures.add(CollectionFeature.REJECTS_DUPLICATES_AT_CREATION);
        if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body/test_tutorial001_py310.py

                        "loc": ["body", "price"],
                        "msg": "Field required",
                        "input": {"name": "Foo"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "price"],
                        "msg": "field required",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  9. guava/src/com/google/common/collect/RangeSet.java

       */
      void add(Range<C> range);
    
      /**
       * Removes the specified range from this {@code RangeSet} (optional operation). After this
       * operation, if {@code range.contains(c)}, {@code this.contains(c)} will return {@code false}.
       *
       * <p>If {@code range} is empty, this is a no-op.
       *
       * @throws UnsupportedOperationException if this range set does not support the {@code remove}
       *     operation
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        map.remove("a");
        assertFalse(underlying.containsKey("a"));
    
        Set<String> keys = map.keySet();
        keys.remove("b");
        assertFalse(underlying.containsKey("b"));
    
        Iterator<String> keyIterator = keys.iterator();
        keyIterator.next();
        keyIterator.remove();
        assertFalse(underlying.containsKey("c"));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top