Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for toRemove (0.05 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            size -= toRemove.getValue().getAndSet(0);
            backingEntries.remove();
            toRemove = null;
          }
        };
      }
    
      @Override
      Iterator<Entry<E>> entryIterator() {
        Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator();
        return new Iterator<Multiset.Entry<E>>() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue());
            toRemove = null;
          }
        };
      }
    
      @Override
      Iterator<V> valueIterator() {
        return Maps.valueIterator(entryIterator());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

          next = node.nextInKeyInsertionOrder;
          toRemove = node;
          remaining--;
          return output(node);
        }
    
        @Override
        public final void remove() {
          if (biMap.modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          if (toRemove == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            LinkedHashMultimap.this.remove(toRemove.getKey(), toRemove.getValue());
            toRemove = null;
          }
        };
      }
    
      @Override
      Spliterator<Entry<K, V>> entrySpliterator() {
        return Spliterators.spliterator(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 20K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

              } finally {
                toRemove = nextOrNull;
                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingNavigableMap.java

              } finally {
                toRemove = nextOrNull;
                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                    return;
                }
    
                final int toRemove = sessionCache.size() - maxSize;
                logger.warn("Session cache reached maximum size. Removing oldest sessions. currentSize={}, maxSize={}, removing={}",
                        sessionCache.size(), maxSize, toRemove);
    
                // Remove oldest sessions
                sessionCache.entrySet()
                        .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  8. cmd/api-response.go

    		m[xhttp.AmzServerSideEncryptionCustomerAlgorithm] = xhttp.AmzEncryptionAES
    	}
    
    	var toRemove []string
    	for k := range cleanMinioInternalMetadataKeys(m) {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeRangeMap.java

            List<Range<K>> toRemove = new ArrayList<>();
            for (Entry<Range<K>, V> entry : entrySet()) {
              if (predicate.apply(entry)) {
                toRemove.add(entry.getKey());
              }
            }
            for (Range<K> range : toRemove) {
              TreeRangeMap.this.remove(range);
            }
            return !toRemove.isEmpty();
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                log.debug("Scheduling transport connection for removal " + trans + " (" + System.identityHashCode(trans) + ")");
            }
            this.toRemove.add((SmbTransportImpl) trans);
        }
    
        private void cleanup() {
            SmbTransportImpl trans;
            while ((trans = this.toRemove.poll()) != null) {
                if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top