Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 917 for removes (0.05 sec)

  1. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

        bimap.put(1, "one");
        bimap.put(2, "two");
        bimap.put(3, "three");
        Iterator<Integer> iterator = bimap.keySet().iterator();
        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertEquals(1, bimap.size());
        assertEquals(1, bimap.inverse().size());
      }
    
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          },
        )
      }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureKeyManager.java

            return null;
        }
    
        /**
         * Remove and securely wipe a session key
         *
         * @param sessionId unique session identifier
         */
        public void removeSessionKey(String sessionId) {
            checkNotClosed();
    
            // Remove from memory maps
            SecretKey secretKey = sessionKeys.remove(sessionId);
            byte[] rawKey = rawKeys.remove(sessionId);
    
            // Wipe the raw key bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
            } finally {
                // Remove remaining TransferListener instances (checksum handlers removed in above finally clause)
                if (downloadMonitor != null) {
                    wagon.removeTransferListener(downloadMonitor);
                }
    
                disconnectWagon(wagon);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/RemovalListener.java

     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can receive a notification when an entry is removed from a cache. The removal
     * resulting in notification could have occurred to an entry being manually removed or replaced, or
     * due to eviction resulting from timed expiration, exceeding a maximum size, or garbage collection.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/packaging/common/scripts/postrm

    ${packaging.scripts.header}
    
    #
    # This script is executed in the post-removal phase
    #
    #   On Debian,
    #       $1=remove    : indicates a removal
    #       $1=purge     : indicates an upgrade
    #
    #   On RedHat,
    #       $1=0         : indicates a removal
    #       $1=1         : indicates an upgrade
    
    
    
    SOURCE_ENV_FILE=true
    REMOVE_DIRS=false
    REMOVE_SERVICE=false
    REMOVE_USER_AND_GROUP=false
    
    case "$1" in
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  7. 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)
  8. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

          if (entryPredicate.apply(entry) && Objects.equals(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return Iterables.removeIf(
            multimap.unfiltered().entries(),
            and(multimap.entryPredicate(), valuePredicateOnEntries(in(c))));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/PeekingIterator.java

       * Returns the next element in the iteration, without advancing the iteration.
       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. 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)
Back to top