Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 1,656 for removes (0.07 seconds)

  1. android/guava/src/com/google/common/collect/Lists.java

       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
       * varargs) or {@link ImmutableList#copyOf(Object[])} (for an array) instead. If any elements
       * might be null, or you need support for {@link List#set(int, Object)}, use {@link
       * Arrays#asList}.
       *
       * <p>Note that even when you do need the ability to add or remove, this method provides only a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MapMaker.java

       * comparison to determine equality of values. This technically violates the specifications of the
       * methods {@link Map#containsValue containsValue}, {@link ConcurrentMap#remove(Object, Object)
       * remove(Object, Object)} and {@link ConcurrentMap#replace(Object, Object, Object) replace(K, V,
       * V)}, and may not be what you expect.
       *
       * @throws IllegalStateException if the value strength was already set
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. tests/lru_test.go

    	lru := lru.NewLRU[string, int](2, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); ok {
    		t.Errorf("Expected key1 to be removed, but it still exists")
    	}
    }
    
    func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Collections2.java

        }
    
        @Override
        public boolean remove(@Nullable Object element) {
          return contains(element) && unfiltered.remove(element);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return removeIf(collection::contains);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          return removeIf(element -> !collection.contains(element));
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        FinalizableReference(Object referent, CountDownLatch latch) {
          super(referent, referenceQueue);
          this.latch = latch;
        }
    
        @Override
        public void finalizeReferent() {
          references.remove(this);
          latch.countDown();
        }
      }
    
      @FormatMethod
      private static RuntimeException formatRuntimeException(String format, Object... args) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

       * comparison to determine equality of values. This technically violates the specifications of the
       * methods {@link Map#containsValue containsValue}, {@link ConcurrentMap#remove(Object, Object)
       * remove(Object, Object)} and {@link ConcurrentMap#replace(Object, Object, Object) replace(K, V,
       * V)}, and may not be what you expect.
       *
       * @throws IllegalStateException if the value strength was already set
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. cmd/xl-storage.go

    	}
    
    	// ENOSPC is a valid error from rename(); remove instead of rename in that case
    	if errors.Is(err, errDiskFull) || isSysErrNoSpace(err) {
    		if recursive {
    			err = removeAll(filePath)
    		} else {
    			err = Remove(filePath)
    		}
    		return err // Avoid the immediate purge since not needed
    	}
    
    	if err != nil {
    		return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        }
    
        public boolean update(MavenProperties properties) {
            boolean modified = false;
            // Remove "removed" properties from the cfg file
            for (String key : new ArrayList<String>(this.keySet())) {
                if (!properties.containsKey(key)) {
                    this.remove(key);
                    modified = true;
                }
            }
            // Update existing keys
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        }
    
        public boolean update(MavenProperties properties) {
            boolean modified = false;
            // Remove "removed" properties from the cfg file
            for (String key : new ArrayList<String>(this.keySet())) {
                if (!properties.containsKey(key)) {
                    this.remove(key);
                    modified = true;
                }
            }
            // Update existing keys
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    if [ "${val}" != "val" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    ./mc tag remove --version-id "${vID}" minio2/newbucket/README.md
    if [ $? -ne 0 ]; then
    	echo "expecting tag removal to be successful. exiting.."
    	exit_1
    fi
    sleep 5
    
    replStatus_minio2=$(./mc stat --no-list minio2/newbucket/README.md --json | jq -r .replicationStatus)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
Back to Top