Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 39 for removeMin (0.15 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
        private static MavenProperties loadPropertiesFile(Path path, boolean failIfNotFound, UnaryOperator<String> callback)
                throws IOException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
        try {
          multiset.removeIf(x -> false);
          fail("removeIf(Predicate) succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
        assertCollectionsAreEquivalent(multiset, copy);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            if (shutdown) {
                return;
            }
    
            lock.writeLock().lock();
            try {
                // Clean up expired handles
                handles.entrySet().removeIf(entry -> {
                    HandleInfo info = entry.getValue();
                    if (info.isExpired() && !info.isReconnecting()) {
                        guidToHandle.remove(info.getCreateGuid());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean removeIf(
          Iterable<T> removeFrom, Predicate<? super T> predicate) {
        if (removeFrom instanceof RandomAccess && removeFrom instanceof List) {
          return removeIfFromRandomAccessList((List<T>) removeFrom, checkNotNull(predicate));
        }
        return Iterators.removeIf(removeFrom.iterator(), predicate);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/FluentIterableTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.collect.Iterables.removeIf;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

        }
    
        private List<NetworkInterface> getAvailableNetworkInterfaces() {
            try {
                List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces());
                interfaces.removeIf(ni -> {
                    try {
                        return ni.isLoopback() || !ni.isUp() || ni.isVirtual();
                    } catch (Exception e) {
                        return true;
                    }
                });
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/audit/SecurityAuditLogger.java

        }
    
        private void cleanupOldRateLimitCounters(long currentWindow) {
            // Clean up counters from previous windows to prevent memory leaks
            rateLimitCounters.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                int lastUnderscore = key.lastIndexOf('_');
                if (lastUnderscore > 0) {
                    try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
        @Override
        public void clear() {
          Iterables.removeIf(unfiltered, predicate);
        }
    
        @Override
        public boolean contains(@Nullable Object element) {
          if (safeContains(unfiltered, element)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final boolean removeIf(Predicate<? super E> filter) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            fileCache.clear();
        }
    
        /**
         * Clean up expired weak references from the file cache
         */
        private void cleanupExpiredReferences() {
            try {
                fileCache.entrySet().removeIf(entry -> {
                    WeakReference<SmbFile> ref = entry.getValue();
                    if (ref.get() == null) {
                        log.debug("Removing expired file cache entry: {}", entry.getKey());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top