Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,574 for removeIf (0.06 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      private fun startNextTask(): SerialTask? {
        taskRunner.assertLockHeld()
    
        val index = serialTaskQueue.indexOfFirst { it.isReady() }
        if (index == -1) return null
    
        val nextTask = serialTaskQueue.removeAt(index)
        currentTask = nextTask
        contextSwitchCount++
        nextTask.start()
        return nextTask
      }
    
      private interface SerialTask {
        /** Returns true if this task is ready to start. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. .bazelrc

    # then tackle this issue again.
    #
    # TODO: Remove the following two lines once TF doesn't depend on Bazel wrapping
    # all library archives in -whole_archive -no_whole_archive.
    common --noincompatible_remove_legacy_whole_archive
    common --features=-force_no_whole_archive
    common --host_features=-force_no_whole_archive
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    common --enable_platform_specific_config
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.32.md

    - Removed generally available feature gate `LegacyServiceAccountTokenCleanUp`. ([#126839](https://github.com/kubernetes/kubernetes/pull/126839), [@carlory](https://github.com/carlory)) [SIG Auth]
    - Removed generally available feature gate `MinDomainsInPodTopologySpread`. ([#126863](https://github.com/kubernetes/kubernetes/pull/126863), [@carlory](https://github.com/carlory)) [SIG Scheduling]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@Nullable Object object) {
        if (needsAllocArrays()) {
          return false;
        }
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.remove(object);
        }
        int mask = hashTableMask();
        int index =
            CompactHashing.remove(
                object,
                /* value= */ null,
                mask,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. cmd/tier.go

    		}
    		if inUse {
    			return errTierBackendInUse
    		}
    	}
    
    	config.Tiers[tierName] = tier
    	config.drivercache[tierName] = d
    
    	return nil
    }
    
    // Remove removes tier if it is empty.
    func (config *TierConfigMgr) Remove(ctx context.Context, tier string, force bool) error {
    	d, err := config.getDriver(ctx, tier)
    	if err != nil {
    		if errors.Is(err, errTierNotFound) {
    			return nil
    		}
    		return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top