- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 627 for compactor (0.29 sec)
-
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
@SuppressWarnings({"unchecked", "nullness"}) static int unsafeCompare( @CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) { if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else { return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingMultiset.java
abstract SortedMultiset<E> forwardMultiset(); @LazyInit @CheckForNull private transient Comparator<? super E> comparator; @Override public Comparator<? super E> comparator() { Comparator<? super E> result = comparator; if (result == null) { return comparator = Ordering.from(forwardMultiset().comparator()).<E>reverse(); } return result; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/attributes/CompatibilityRuleChain.java
/** * Adds an ordered check rule to this chain. * * @param comparator the comparator to use */ void ordered(Comparator<? super T> comparator); /** * Adds an reverse ordered check rule to this chain. * * @param comparator the comparator to use */ void reverseOrdered(Comparator<? super T> comparator); /** * <p>Adds an arbitrary compatibility rule to the chain.</p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 22 14:14:42 UTC 2019 - 3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/ConstructorComparatorTest.groovy
def comparator = new ConstructorComparator() def "constructors with fewer parameters are first"() { def lhs = Stub(ClassGenerator.GeneratedConstructor) lhs.parameterTypes >> [String] def rhs = Stub(ClassGenerator.GeneratedConstructor) rhs.parameterTypes >> [String, Number] expect: comparator.compare(lhs, rhs) == -1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
pkg/registry/rbac/validation/policy_compact.go
simpleRules[resource] = rule.DeepCopy() } } else { compacted = append(compacted, rule) } } // Once we've consolidated the simple resource rules, add them to the compacted list for _, simpleRule := range simpleRules { compacted = append(compacted, *simpleRule) } return compacted, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 22 12:17:05 UTC 2018 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical( Comparator<T> comparator) { return new LexicographicalOrdering<S>(checkNotNull(comparator)); } /** * Returns {@code true} if each element in {@code iterable} after the first is greater than or * equal to the element that preceded it, according to the specified comparator. Note that this 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) -
guava/src/com/google/common/collect/SortedIterables.java
} else { return false; } return comparator.equals(comparator2); } @SuppressWarnings("unchecked") // if sortedSet.comparator() is null, the set must be naturally ordered public static <E extends @Nullable Object> Comparator<? super E> comparator( SortedSet<E> sortedSet) { Comparator<? super E> result = sortedSet.comparator(); if (result == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/CollectionCodecs.kt
} ) val treeSetCodec: Codec<TreeSet<Any?>> = codec( { write(it.comparator()) writeCollection(it) }, { @Suppress("unchecked_cast") val comparator = read() as Comparator<Any?>? readCollectionInto { TreeSet(comparator) } } ) val copyOnWriteArraySetCodec: Codec<CopyOnWriteArraySet<Any?>> = codec( { writeCollection(it) },
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionRangeSelector.java
private final boolean lowerInclusive; private final Version lowerBoundVersion; private final Comparator<Version> comparator; public VersionRangeSelector(String selector, Comparator<Version> comparator, VersionParser versionParser) { super(versionParser, selector); this.comparator = comparator; Matcher matcher; matcher = FINITE_RANGE.matcher(selector);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10K bytes - Viewed (0)