- Sort Score
- Num 10 results
- Language All
Results 1011 - 1020 of 1,673 for CASE (0.1 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); iterator.next(); }); } /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */ @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveAll_somePresentLargeCollectionToRemove() { assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get * methods and the addListener method. * * @author Sven Mawson * @since 10.0 */ @GwtIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
internal/http/dial_linux.go
// since Linux 4.11. _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1) // Enable TCP quick ACK, John Nagle says // "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know." _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1) /// Enable keep-alive { _ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_KEEPALIVE, 1)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 23 10:53:03 GMT 2024 - 5K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
// 2001:db8:85a3::8a2e:370:7334 // ::1 hostname = "[$hostname]" } val localPort = socket.localPort // Allow null in failure case to allow for testing bad requests this.requestUrl = "$scheme://$hostname:$localPort$path".toHttpUrlOrNull() } else { this.requestUrl = null this.method = null this.path = null }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
"-1, -1", // Negative values (edge case) "100, 200" // Free space greater than capacity (edge case) }) void shouldHandleVariousValues(long capacity, long free) { // Given TestAllocInfo allocInfo = new TestAllocInfo(capacity, free);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* <li>We could change the serialization of this class incompatibly. We have reserved the right * to make such changes to our serialized forms, and we have made them before, usually * without trouble. In this case, my guess is that our chosen approach is even less likely * to lead to trouble than an incompatible change would be. * <li>We could make {@link #countMap} no longer be {@code final}. Then we could write to it
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
/** * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value} * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is * called, in which case this name/value pair will not be added. */ @CanIgnoreReturnValue public ToStringHelper add(String name, @Nullable Object value) { return addHolder(name, value); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
throws BucketOverflowException { /* * The cast is safe: n==entryArray.length means that we have filled the whole array with Entry * instances, in which case it is safe to cast it from an array of nullable entries to an array * of non-null entries. */ @SuppressWarnings("nullness") Entry<K, V>[] entries =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
if (obj instanceof Subscriber) { Subscriber that = (Subscriber) obj; // Use == so that different equal instances will still receive events. // We only guard against the case that the same object is registered // multiple times return target == that.target && method.equals(that.method); } return false; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0)