- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 201 for comparing (0.05 seconds)
-
scripts/translation_fixer.py
if not str(relpath).startswith(non_translated_sections): res.append(str(relpath)) return res def process_one_page(path: Path) -> bool: """ Fix one translated document by comparing it to the English version. Returns True if processed successfully, False otherwise. """ try: lang_code = path.parts[1] if lang_code == "en":
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Comparators.java
* the JDK. * * @since 21.0 * @author Louis Wasserman */ @GwtCompatible 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 * reached, but not the other, the shorter iterable is considered to be less than the longer one.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LexicographicalOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** An ordering which sorts iterables by comparing corresponding elements pairwise. */ @GwtCompatible final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>> implements Serializable { final Comparator<? super T> elementOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/LexicographicalOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** An ordering which sorts iterables by comparing corresponding elements pairwise. */ @GwtCompatible final class LexicographicalOrdering<T extends @Nullable Object> extends Ordering<Iterable<T>> implements Serializable { final Comparator<? super T> elementOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ComparisonChain.java
* * {@snippet : * import static java.util.Comparator.comparing; * import static java.util.Comparator.nullsLast; * import static java.util.Comparator.naturalOrder; * * ... * private static final Comparator<Foo> COMPARATOR = * comparing((Foo foo) -> foo.aString) * .thenComparing(foo -> foo.anInt)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java
* to {@link Version}, but it dissects the qualifier in such a way that is incompatible * with how {@link Version} is used in the build. It also retains any qualifier (prerelease) information, and uses * that information when comparing instances. */ public final class QualifiedVersion implements Comparable<QualifiedVersion> { private final int major; private final int minor; private final int revision;Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java
import com.google.caliper.Param; import java.security.MessageDigest; import java.util.Arrays; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for comparing the various {@link HashCode#equals} methods. * * <p>Parameters for the benchmark are: * * <ul> * <li>size: the length of the byte array to hash * <li>whereToDiffer: where in the array the bytes should differCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
assertEquals(getNumElements() - 1, multimap().size()); assertFalse(multimap().containsEntry(k0(), v0())); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) /* * We are comparing Multimaps of the same type, so as long as they have value collections that * implement equals() (as with ListMultimap or SetMultimap, as opposed to a QueueMultimap or * something), our equality check is value-based. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullUnmarked; /** * A benchmark comparing the {@link MoreExecutors#newDirectExecutorService()} to {@link * MoreExecutors#directExecutor}. */ @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarked public class MoreExecutorsDirectExecutorBenchmark {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
} @Override public boolean refresh() { // MSAL4J handles token refresh internally through silent authentication // Check if token is still valid by comparing absolute timestamps final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epochCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.8K bytes - Click Count (0)