- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 394 for compareTo (0.05 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
import java.util.Comparator; import java.util.PriorityQueue; import java.util.Queue; import java.util.Random; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Benchmarks to compare performance of MinMaxPriorityQueue and PriorityQueue. * * @author Sverre Sundsdal */ @NullUnmarked public class MinMaxPriorityQueueBenchmark { @Param private ComparatorType comparator;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* Returns {@code true} if the specified object is equal to this request. * Two requests are considered equal if they have the same type and all * significant fields are equal. * * @param obj the object to compare with this request * @return {@code true} if the objects are equal, {@code false} otherwise */ @Override boolean equals(Object obj); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4K bytes - Viewed (0) -
cmd/server_test.go
request.Header.Set("If-Modified-Since", t.Add(10*time.Minute).UTC().Format(http.TimeFormat)) response, err = s.client.Do(request) c.Assert(err, nil) // Since the "If-Modified-Since" header was ahead in time compared to the actual // modified time of the object expecting the response status to be http.StatusNotModified. c.Assert(response.StatusCode, http.StatusNotModified) // Again, obtain the object info.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
@SuppressWarnings("InlineMeInliner") public void testCompare() { for (short x : VALUES) { for (short y : VALUES) { // Only compare the sign of the result of compare(). int expected = Short.compare(x, y); int actual = Shorts.compare(x, y); if (expected == 0) { assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected); } else if (expected < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
docs/fr/docs/alternatives.md
Pour plus de détails, consultez la section [Déploiement](deployment/index.md){.internal-link target=_blank}. /// ## Benchmarks et vitesse
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractListMultimap.java
* values. */ @Override public Map<K, Collection<V>> asMap() { return super.asMap(); } /** * Compares the specified object to this multimap for equality. * * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess implements ListenableFuture<V> { /** * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on * {@link #listenersField}. */ final boolean casListeners(@Nullable Listener expect, Listener update) { return ATOMIC_HELPER.casListeners(this, expect, update); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
* for information on the behaviour of the algorithm. * * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds. * * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } // mustRead reads from input and compares against provided slice. mustRead := func(b ...byte) error { for _, want := range b { got, err := cr.reader.ReadByte() if err == io.EOF { return io.ErrUnexpectedEOF } if got != want {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
src/bytes/bytes.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0)