- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 358 for contention (0.08 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
assertThat(connectionAcquired2.connection).isSameInstanceAs( connectionAcquired1.connection, ) } @Test fun multipleConnectionsFoundForSingleCall() { server.enqueue( MockResponse .Builder() .code(301) .addHeader("Location", "/foo") .addHeader("Connection", "Close") .build(), ) server.enqueue(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
pool: ConnectionPool, connection: RealConnection, ) { val client = OkHttpClient .Builder() .connectionPool(pool) .build() val call = client.newCall(Request(connection.route().address.url)) as RealCall call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call)) connection.withLock { call.acquireConnectionNoEvents(connection) } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 8.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnectionPool /** * Manages reuse of HTTP and HTTP/2 connections for reduced network latency. HTTP requests that * share the same [Address] may share a [Connection]. This class implements the policy * of which connections to keep open for future use. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
String message = "LDAP operation failed with error"; Exception cause = new RuntimeException("Connection timeout"); LdapOperationException exception = new LdapOperationException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals("Connection timeout", exception.getCause().getMessage()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
private static final String UPGRADED_PROPERTIES_FILE = "upgraded-properties.json"; public ExtractGradleApiInfoTask() { getGradleApiInfoJarPrefix().convention(GRADLE_API_INFO_JAR); } @Input public abstract Property<String> getGradleApiInfoJarPrefix(); @CompileClasspath public abstract ConfigurableFileCollection getCurrentDistributionJars();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3.4K bytes - Click Count (0) -
CLAUDE.md
mvn formatter:format # Format code mvn license:format # Apply license headers mvn verify # Generate coverage report ``` ## Code Conventions ### Class Structure - **Utility classes**: `abstract` class + `protected` constructor - **Constants classes**: Same pattern ### Argument Validation Use `AssertionUtil` at method entry:
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Mar 12 03:38:56 GMT 2026 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
import java.net.HttpURLConnection.HTTP_PROXY_AUTH import java.net.HttpURLConnection.HTTP_SEE_OTHER import java.net.HttpURLConnection.HTTP_UNAUTHORIZED import okhttp3.ResponseBody.Companion.asResponseBody import okhttp3.internal.connection.Exchange import okhttp3.internal.http.HTTP_PERM_REDIRECT import okhttp3.internal.http.HTTP_TEMP_REDIRECT import okhttp3.internal.http.parseChallenges import okio.Buffer import okio.Socket /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.concurrent.withLock import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealConnection import okhttp3.internal.connection.RealConnectionPool import okhttp3.internal.connection.RealRoutePlanner import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RecordingProxySelector
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
Protocol protocol, IOException ioe) { printEvent("connectFailed"); } @Override public void connectionAcquired(Call call, Connection connection) { printEvent("connectionAcquired"); } @Override public void connectionReleased(Call call, Connection connection) { printEvent("connectionReleased"); } @Override public void requestHeadersStart(Call call) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapUser.java
/** The environment for LDAP connection. */ protected Hashtable<String, String> env; /** The name of the user. */ protected String name; /** The permissions of the user. */ protected String[] permissions = null; /** * Constructs a new LDAP user. * * @param env The environment for LDAP connection. * @param name The name of the user. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.1K bytes - Click Count (0)