Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,712 for remove (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        ms.add("b", 2);
        ms.add("c");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.add("b");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b", 2);
        ms.add("b");
        assertThat(ms.elementSet()).containsExactly("a", "c", "b").inOrder();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[bar, foo]", map.keySet().toString());
        map.keySet().remove("bar");
        assertEquals("{foo=[2]}", map.toString());
      }
    
      public void testLinkedKeys() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

        }
      }
    
      @CheckForNull
      @CanIgnoreReturnValue
      @Override
      public V remove(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).remove(key, hash);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object key, @CheckForNull Object value) {
        if (key == null || value == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	errs := statAllDirs(ctx, storageDisks, bucket, object)
    	danglingObject := isObjectDirDangling(errs)
    	if danglingObject {
    		if !dryRun && remove {
    			var wg sync.WaitGroup
    			// Remove versions in bulk for each disk
    			for index, disk := range storageDisks {
    				if disk == nil {
    					continue
    				}
    				wg.Add(1)
    				go func(index int, disk StorageAPI) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

     *
     * <p>This enum is GWT compatible.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public enum IteratorFeature {
      /** Support for {@link Iterator#remove()}. */
      SUPPORTS_REMOVE,
      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_ADD,
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "__key__"],
                        "msg": "value is not a valid integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. api/README

    Each file is a list of API features, one per line.
    
    go1.txt (and similarly named files) are frozen once a version has been
    shipped. Each file adds new lines but does not remove any.
    
    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    giving the GitHub issue number of the proposal issue that accepted
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 31 19:22:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

          checkNonNegative(--selfLoopCount);
        }
        N previousNode = inEdgeMap.remove(edge);
        // We're relying on callers to call this method only with an edge that's in the graph.
        return requireNonNull(previousNode);
      }
    
      @Override
      public N removeOutEdge(E edge) {
        N previousNode = outEdgeMap.remove(edge);
        // We're relying on callers to call this method only with an edge that's in the graph.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MapIteratorCache.java

        checkNotNull(key);
        checkNotNull(value);
        clearCache();
        return backingMap.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @CheckForNull
      final V remove(Object key) {
        checkNotNull(key);
        clearCache();
        return backingMap.remove(key);
      }
    
      final void clear() {
        clearCache();
        backingMap.clear();
      }
    
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean remove(@CheckForNull Object element) {
          return contains(element) && unfiltered.remove(element);
        }
    
        @Override
        public boolean removeAll(final Collection<?> collection) {
          return removeIf(collection::contains);
        }
    
        @Override
        public boolean retainAll(final Collection<?> collection) {
          return removeIf(element -> !collection.contains(element));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top