Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for compactors (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    	}
    
    	compactors[key].refs++
    
    	return func() {
    		compactorsMu.Lock()
    		defer compactorsMu.Unlock()
    
    		compactor := compactors[key]
    		compactor.refs--
    		if compactor.refs == 0 {
    			compactor.cancel()
    			compactor.client.Close()
    			delete(compactors, key)
    		}
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Comparators.java

     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Comparators {
      private Comparators() {}
    
      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Ordering.java

       * to {@code reduce}).
       *
       * @param comparators the comparators to try in order
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Ordering<T> compound(
          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

       * to {@code reduce}).
       *
       * @param comparators the comparators to try in order
       */
      @GwtCompatible(serializable = true)
      public static <T extends @Nullable Object> Ordering<T> compound(
          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeBasedTable.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
     * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TopKSelector.java

     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as a {@link Stream}, prefer passing {@link
     * Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available
     * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      private static final Comparator<Double> VALUE_COMPARATOR =
          Ordering.<Double>natural().reverse().nullsFirst();
    
      /**
       * Test that creating one TreeMultimap from another does not copy the comparators from the source
       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
        Multimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableTable.java

       * Table#cellSet()} iteration order. However, if {@link #orderRowsBy} or {@link #orderColumnsBy}
       * is called, the views are sorted by the supplied comparators.
       *
       * <p>For empty or single-cell immutable tables, {@link #of()} and {@link #of(Object, Object,
       * Object)} are even more convenient.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 17.3K bytes
    - Viewed (0)
Back to top