Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,468 for removeAt (0.08 sec)

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

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        getSet().remove(e0());
        assertFalse(
            "After remove(present) a set should not contain the removed element.",
            getSet().contains(e0()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        getSet().remove(e0());
        assertFalse(
            "After remove(present) a set should not contain the removed element.",
            getSet().contains(e0()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K 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. doc/godebug.md

    This setting is available in Go 1.21.12, Go 1.22.5, Go 1.23, and later.
    There is no plan to remove this setting.
    
    ### Go 1.18
    
    Go 1.18 removed support for SHA1 in most X.509 certificates,
    controlled by the [`x509sha1` setting](/pkg/crypto/x509#InsecureAlgorithmError).
    This setting will be removed in a future release, Go 1.22 at the earliest.
    
    ### Go 1.10
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
       * Removes all associations from this range map in the specified range (optional operation).
       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MapMakerInternalMap.java

            } finally {
              unlock();
            }
          }
        }
    
        /**
         * Removes an entry from within a table. All entries following the removed node can stay, but
         * all preceding ones need to be cloned.
         *
         * <p>This method does not decrement count for the removed entry, but does decrement count for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. cni/pkg/install/install_test.go

    		},
    		{
    			name:              "CNI config file removed",
    			expectedFailure:   true,
    			cniConfigFilename: "file-removed.conflist",
    		},
    		{
    			name:              "istio-cni config removed from CNI config file",
    			expectedFailure:   true,
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. cmd/metacache-bucket.go

    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    // cleanup removes redundant and outdated entries.
    func (b *bucketMetacache) cleanup() {
    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertTrue(
            removeIf(
                list,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            removeIf(
                list,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. scripts/docs.py

            dist_path = site_path
            # Don't remove en dist_path as it might already contain other languages.
            # When running build_all(), that function already removes site_path.
            # All this is only relevant locally, on GitHub Actions all this is done through
            # artifacts and multiple workflows, so it doesn't matter if directories are
            # removed or not.
        else:
            dist_path = site_path / lang
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top