Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,088 for removeIf (0.04 sec)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

        /**
         * Simulate a witness unregistration
         *
         * @param registrationId the registration ID to remove
         * @return true if registration was found and removed
         */
        public boolean unregisterWitness(String registrationId) {
            MockRegistration removed = registrations.remove(registrationId);
            if (removed != null) {
                log.debug("Mock unregistered witness: {}", registrationId);
                return true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
       * Removes recorded events up to (and including) an event is found whose class equals [eventClass]
       * and returns it.
       */
      fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. 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 was removed in Go 1.24.
    
    ### Go 1.10
    
    Go 1.10 changed how build caching worked and added test caching, along
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    		}
    		return ent.Value, true
    	}
    	return
    }
    
    // Remove removes the provided key from the cache, returning if the
    // key was contained.
    func (c *LRU[K, V]) Remove(key K) bool {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if ent, ok := c.items[key]; ok {
    		c.removeElement(ent)
    		return true
    	}
    	return false
    }
    
    // RemoveOldest removes the oldest item from the cache.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeSet.java

       */
      void add(Range<C> range);
    
      /**
       * Removes the specified range from this {@code RangeSet} (optional operation). After this
       * operation, if {@code range.contains(c)}, {@code this.contains(c)} will return {@code false}.
       *
       * <p>If {@code range} is empty, this is a no-op.
       *
       * @throws UnsupportedOperationException if this range set does not support the {@code remove}
       *     operation
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MutableValueGraph.java

      @Nullable V putEdgeValue(EndpointPair<N> endpoints, V value);
    
      /**
       * Removes {@code node} if it is present; all edges incident to {@code node} will also be removed.
       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeNode(N node);
    
      /**
       * Removes the edge connecting {@code nodeU} to {@code nodeV}, if it is present.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

            // Remove main key
            keyManager.removeSessionKey(sessionId);
    
            // Verify main key is removed (archives stay)
            assertFalse(keyManager.hasSessionKey(sessionId), "Main key should be removed");
            // Note: Archives are not automatically removed when removing main key
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top