Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 1,188 for clear (0.03 seconds)

  1. android/guava/src/com/google/common/collect/Multimap.java

       */
      @CanIgnoreReturnValue
      Collection<V> removeAll(@CompatibleWith("K") @Nullable Object key);
    
      /** Removes all key-value pairs from the multimap, leaving it {@linkplain #isEmpty empty}. */
      void clear();
    
      // Views
    
      /**
       * Returns a view collection of the values associated with {@code key} in this multimap, if any.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            }
    
            return true;
        }
    
        /**
         * Deletes the scroll context associated with the given scroll ID.
         *
         * @param client the OpenSearch client used to clear the scroll context
         * @param scrollId the ID of the scroll context to be deleted; if null, no action is taken
         */
        public static void deleteScrollContext(final Client client, final String scrollId) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testSkip_structurallyModifiedSkipSomeList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 1);
        list.subList(1, 3).clear();
        list.addAll(0, newArrayList("A", "B", "C"));
        assertThat(tail).containsExactly("B", "C", "a").inOrder();
      }
    
      public void testSkip_structurallyModifiedSkipAll() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableMultiset.java

            }
            remaining--;
            /*
             * requireNonNull is safe because `remaining` starts at 0, forcing us to initialize
             * `element` above. After that, we never clear it.
             */
            return requireNonNull(element);
          }
        };
      }
    
      @LazyInit private transient @Nullable ImmutableList<E> asList;
    
      @Override
      public ImmutableList<E> asList() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // branches and possibly creating exceptions).
          Object v = ((AbstractFuture<?>) future).value();
          if (v instanceof Cancellation) {
            // If the other future was interrupted, clear the interrupted bit while preserving the cause
            // this will make it consistent with how non-trustedfutures work which cannot propagate the
            // wasInterrupted bit
            Cancellation c = (Cancellation) v;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. cmd/bucket-metadata-sys.go

    	sys.Unlock()
    
    	if globalIsDistErasure {
    		go sys.refreshBucketsMetadataLoop(ctx)
    	}
    }
    
    // Reset the state of the BucketMetadataSys.
    func (sys *BucketMetadataSys) Reset() {
    	sys.Lock()
    	clear(sys.metadataMap)
    	sys.Unlock()
    }
    
    // NewBucketMetadataSys - creates new policy system.
    func NewBucketMetadataSys() *BucketMetadataSys {
    	return &BucketMetadataSys{
    		metadataMap: make(map[string]BucketMetadata),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("a", 11);
        multimap.put("b", 2);
        multimap.put("c", 3);
        multimap.put("d", 4);
        multimap.put("e", 5);
        multimap.put("e", 55);
    
        multimap.keySet().tailSet("d").clear();
        assertEquals(ImmutableSet.of("a", "b", "c"), multimap.keySet());
        assertEquals(4, multimap.size());
        assertEquals(4, multimap.values().size());
        assertEquals(4, multimap.keys().size());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  8. cmd/bucket-targets.go

    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    	for _, t := range tgts {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

        }
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
          return;
        }
        incrementModCount();
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          metadata =
              Ints.constrainToRange(size(), CompactHashing.DEFAULT_SIZE, CompactHashing.MAX_SIZE);
          delegate.clear(); // invalidate any iterators left over!
          table = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

                slowRemoveIfForRemainingElements(list, predicate, to, from);
                return true;
              }
            }
            to++;
          }
        }
    
        // Clear the tail of any remaining items
        list.subList(to, list.size()).clear();
        return from != to;
      }
    
      private static <T extends @Nullable Object> void slowRemoveIfForRemainingElements(
    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)
Back to Top