Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,574 for removeAt (0.21 seconds)

  1. 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()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. src/main/assemblies/files/service.bat

    goto:eof
    :managed
    echo Successfully started service manager for '%SERVICE_ID%'.
    goto:eof
    
    :doRemove
    rem Remove the service
    "%EXECUTABLE%" //DS//%SERVICE_ID% %LOG_OPTS%
    if not errorlevel 1 goto removed
    echo Failed removing '%SERVICE_ID%' service
    goto:eof
    :removed
    echo The service '%SERVICE_ID%' has been removed
    goto:eof
    
    :doInstall
    echo Installing service      :  "%SERVICE_ID%"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Click Count (0)
  3. 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.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java

                    .filter(Optional::isPresent)
                    .map(Optional::get)
                    .collect(Collectors.toCollection(ArrayList::new));
    
            if (result.size() > 1) {
                // remove generic
                result.removeIf(c -> GenericCIDetector.NAME.equals(c.name()));
            }
            return result;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
       * Removes all associations from this range map in the specified range (optional operation).
       *
       * <p>If {@code !range.contains(k)}, {@link #get(Comparable) get(k)} will return the same result
       * before and after a call to {@code remove(range)}. If {@code range.contains(k)}, then after a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/StandardTable.java

        public boolean containsKey(@Nullable Object key) {
          return StandardTable.this.contains(key, columnKey);
        }
    
        @Override
        public @Nullable V remove(@Nullable Object key) {
          return StandardTable.this.remove(key, columnKey);
        }
    
        /** Removes all {@code Column} mappings whose row key and value satisfy the given predicate. */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/RemoveMatch.java

    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    import org.gradle.api.tasks.Optional;
    
    /**
     * A transformation to remove the key/value of a given match. To help keep logic simple, an empty match object will be left behind
     * if/when the only key/value is removed.
     */
    public class RemoveMatch implements RestTestTransformByParentObject {
        private final String removeKey;
        private final String testName;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  10. 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
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top