- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 1,344 for calls (0.03 seconds)
-
android/guava/src/com/google/common/collect/ComparisonChain.java
* .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that * {@code Comparator} doesn't: it evaluates all the parameters of all the {@code .compare} calls, * even when the result of the comparison is already known from previous {@code .compare} calls. * That can be expensive. * * @author Mark Davis * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible public abstract class ComparisonChain {
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) -
internal/deadlineconn/deadlineconn.go
c.infReads.Store(t.IsZero()) c.infWrites.Store(t.IsZero()) return c.Conn.SetDeadline(t) } // SetReadDeadline sets the deadline for future Read calls // and any currently-blocked Read call. // A zero value for t means Read will not time out. func (c *DeadlineConn) SetReadDeadline(t time.Time) error { c.mu.Lock() defer c.mu.Unlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
@Mock private NdrObject mockNdrObject; /** * Test the constructor of MsrpcQueryInformationPolicy. * It should correctly call the super constructor and set ptype and flags. */ @Test @DisplayName("Constructor should initialize fields and call super constructor") void constructorTest() { short level = 1; // Create an instance of the class under testCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
throw new UnsupportedOperationException(); } /** * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable} * key.</b> Proper calls will resolve to the version in {@code ImmutableSortedMap}, not this dummy * version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a key of type {@code Comparable} to use {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 54.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSet.java
import java.util.Comparator; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.SortedSet; import org.jspecify.annotations.Nullable; /** * A sorted set which forwards all its method calls to another sorted set. Subclasses should * override one or more methods to modify the behavior of the backing sorted set as desired per the * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
val request2 = Request.Builder().url(server.url("/")).build() val response2 = client.newCall(request2).execute() assertThat(response2.body.string()).isEqualTo("def") // The HTTP calls should share a single connection. assertThat(socksProxy.connectionCount()).isEqualTo(1) } @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
* `allocations.size() < allocationLimit` then new streams can be created on this connection. */ internal var allocationLimit = 1 private set /** Current calls carried by this connection. */ val calls = mutableListOf<Reference<RealCall>>() /** Timestamp when `allocations.size()` reached zero. Also assigned upon initial connection. */ var idleAtNs = Long.MAX_VALUE /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// Then assertEquals(0, opnum, "Opnum should always be 0 for bind messages"); } @Test @DisplayName("getOpnum should be consistent across multiple calls") void testGetOpnumConsistency() { // When int opnum1 = bind.getOpnum(); int opnum2 = bind.getOpnum(); int opnum3 = bind.getOpnum(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
void getConfig_returnsConfig() { SmbTreeConnection c = newConn(); assertSame(config, c.getConfig()); } @Test @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero") void acquire_release_lifecycle() { SmbTreeConnection c = newConn(); SmbTreeImpl tree = mock(SmbTreeImpl.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
} @Test @DisplayName("Scenario: verify interaction order across multiple calls") void verifyInteractionOrder() throws Exception { // Arrange: stub simple returns when(handle.hasCapability(anyInt())).thenReturn(true); // Act: perform a series of calls to verify order handle.ensureDFSResolved(); handle.hasCapability(7); handle.release();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0)