- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for compactors (0.19 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact_test.go
if err != etcdrpc.ErrCompacted { t.Errorf("Expecting ErrCompacted, but get=%v err=%v", obj, err) } } // TestCompactConflict tests that two compactors (Let's use C1, C2) are trying to compact etcd cluster with the same // logical time. // - C1 compacts first. It will succeed. // - C2 compacts after. It will fail. But it will get latest logical time, which should be larger by one. func TestCompactConflict(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 14:22:57 UTC 2021 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go
// Technical details/insights: // // The protocol here is lease based. If one compactor CAS successfully, the others would know it when they fail in // CAS later and would try again in 5 minutes. If an APIServer crashed, another one would "take over" the lease. // // For example, in the following diagram, we have a compactor C1 doing compaction in t1, t2. Another compactor C2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 17 02:54:36 UTC 2022 - 5.6K bytes - Viewed (0) -
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) -
guava/src/com/google/common/collect/CompoundOrdering.java
this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary}; } @SuppressWarnings("unchecked") // Generic array creation CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { this.comparators = Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary}; } @SuppressWarnings("unchecked") // Generic array creation CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { this.comparators = Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
/** * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or * by supplied comparators. In all cases, this implementation uses {@link Comparable#compareTo} or * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of * instances. * * <p><b>Warning:</b> The comparators or comparables used must be <i>consistent with equals</i> as
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedAsList.java
public int indexOf(@CheckForNull Object target) { int index = delegateCollection().indexOf(target); // TODO(kevinb): reconsider if it's really worth making feeble attempts at // sanity for inconsistent comparators. // The equals() check is needed when the comparator isn't compatible with // equals(). return (index >= 0 && get(index).equals(target)) ? index : -1; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
/** * Implementation of {@code Multimap} whose keys and values are ordered by their natural ordering or * by supplied comparators. In all cases, this implementation uses {@link Comparable#compareTo} or * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of * instances. * * <p><b>Warning:</b> The comparators or comparables used must be <i>consistent with equals</i> as
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
import java.util.Map.Entry; import java.util.SortedSet; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit tests for {@code TreeMultimap} with explicit comparators. * * @author Jared Levy */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class TreeMultimapExplicitTest extends TestCase { /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java
} /** * Returns a comparator for paths for the given case sensitivity. * * When the two paths are different ignoring the case, then the result of the comparison is the same for both comparators. */ public static Comparator<String> getPathComparator(CaseSensitivity caseSensitivity) { switch (caseSensitivity) { case CASE_SENSITIVE: return CASE_SENSITIVE_COMPARATOR;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 8.2K bytes - Viewed (0)