Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,574 for removeAt (0.42 seconds)

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

          contents.put(element, occurrences + contents.get(element));
          return this;
        }
    
        /**
         * Adds or removes the necessary occurrences of an element such that the element attains the
         * desired count.
         *
         * @param element the element to add or remove occurrences of
         * @param count the desired count of the element in this multiset
         * @return this {@code Builder} object
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
        assertNotified(listener, two, three, RemovalCause.EXPLICIT);
    
        map.put(three, four);
        Iterator<?> i = map.entrySet().iterator();
        i.next();
        i.remove();
        assertNotified(listener, three, four, RemovalCause.EXPLICIT);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbTransportPoolTest.java

            @Test
            @DisplayName("Should handle concurrent remove operations")
            void testConcurrentRemoveOperations() throws InterruptedException {
                // Given
                SmbTransport transport2 = mock(SmbTransport.class);
                doNothing().when(transportPool).removeTransport(any());
    
                // When - simulate concurrent removes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

        assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveIf_sometimesTrue() {
        assertTrue(
            "removeIf(isEqual(present)) should return true",
            collection.removeIf(Predicate.isEqual(samples.e0())));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.15.md

    - kubectl
      - `kubectl convert`, deprecated since v1.14, will be removed in v1.17.
      - The `--export` flag for the `kubectl get` command, deprecated since v1.14, will be removed in v1.18.
      - The `--pod`/`-p` flag for `kubectl exec`, deprecated since 1.12, has been removed.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            count++;
            return sessionCountId;
        }
    
        /**
         * Removes a stored crawling configuration from the session-based storage.
         *
         * @param sessionCountId the session count ID of the configuration to remove
         */
        public void remove(final String sessionCountId) {
            crawlingConfigMap.remove(sessionCountId);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  9. CHANGELOG/CHANGELOG-1.26.md

    - Kubeadm: removed the `UnversionedKubeletConfigMap` feature gate. The feature has been GA and locked to enabled since `v1.25`. ([#113448](https://github.com/kubernetes/kubernetes/pull/113448), [@pacoxu](https://github.com/pacoxu))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Sep 02 13:51:56 GMT 2025
    - 425.7K bytes
    - Click Count (0)
  10. 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)
Back to Top