Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for compactors (0.16 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. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertTrue(Comparators.isInOrder(asList(0, 0, 3, 3), Ordering.natural()));
        assertTrue(Comparators.isInOrder(asList(0, 3), Ordering.natural()));
        assertTrue(Comparators.isInOrder(Collections.singleton(1), Ordering.natural()));
        assertTrue(Comparators.isInOrder(Collections.<Integer>emptyList(), Ordering.natural()));
      }
    
      public void testIsInStrictOrder() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  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. android/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: Sun Jun 02 13:36:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/load.go

    		}
    		if compatPruning := pruningForGoVersion(compatVersion); compatPruning != ld.requirements.pruning {
    			compatRS := newRequirements(compatPruning, ld.requirements.rootModules, ld.requirements.direct)
    			ld.checkTidyCompatibility(ctx, compatRS, compatVersion)
    
    			for m := range keepSums(ctx, ld, compatRS, loadedZipSumsOnly) {
    				keep[m] = true
    			}
    		}
    
    		if opts.TidyDiff {
    			cfg.BuildMod = "readonly"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      public void testReverseOrder() {
        SortedSet<String> set = ImmutableSortedSet.<String>reverseOrder().add("a", "b", "c").build();
        assertThat(set).containsExactly("c", "b", "a").inOrder();
        assertTrue(Comparators.isInOrder(Arrays.asList("c", "b", "a"), set.comparator()));
      }
    
      private static final Comparator<Object> TO_STRING =
          new Comparator<Object>() {
            @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
Back to top