- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 514 for contention (0.09 sec)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
server.bodyLimit = 7 * 512 * 1024 val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.requestMethod = "POST" connection.doOutput = true connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB connection.connect() val out = connection.outputStream val data = ByteArray(1024 * 1024) var i = 0 while (i < 1024) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
Request .Builder() .url(server.url("/")) .header("Connection", "upgrade") .post("Hello".toRequestBody()) .build() } assertThat(e).hasMessage("expected a null request body with 'Connection: upgrade'") } private fun enableTls(vararg protocols: Protocol) { client = client .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
clientTestRule.wrap( object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { socketClass = connection.socket().javaClass.name } }, ), ).build() val response = client.newCall(request).execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
src/main/webapp/WEB-INF/env/suggest/resources/app.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" "http://dbflute.org/meta/lastadi10.dtd"> <components> <include path="convention.xml" /> <include path="lastaflute_core.xml"/> <include path="fess.xml" /> <component name="fessSuggest" class="org.codelibs.fess.exec.SuggestCreator" instance="prototype"> </component> <component name="suggestHelper" class="org.codelibs.fess.helper.SuggestHelper">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Feb 14 21:35:39 UTC 2020 - 489 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
import okhttp3.internal.isHealthy import okhttp3.internal.tls.OkHostnameVerifier import okio.Buffer /** * A connection to a remote web server capable of carrying 1 or more concurrent streams. * * Connections are shared in a connection pool. Accesses to the connection's state must be guarded * by holding a lock on the connection. */ class RealConnection internal constructor( val taskRunner: TaskRunner,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
CONNECTING, /** Connection is established but not ready for RDMA operations */ CONNECTED, /** Connection is fully established and ready for RDMA operations */ ESTABLISHED, /** Connection encountered an error */ ERROR, /** Connection is being closed */ CLOSING, /** Connection is closed */ CLOSED }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt
* limitations under the License. */ package okhttp3.internal.http2 import java.io.IOException /** * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY * frame) and an attempt is made to use the connection. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 875 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} /** * Return the route from [connection] if it should be retried, even if the connection itself is * unhealthy. The biggest gotcha here is that we shouldn't reuse routes from coalesced * connections. */ private fun retryRoute(connection: RealConnection): Route? = connection.withLock { when { connection.routeFailureCount != 0 -> null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ForceConnectRoutePlanner.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection /** * A RoutePlanner that will always establish a new connection, ignoring any connection pooling */ class ForceConnectRoutePlanner( private val delegate: RealRoutePlanner, ) : RoutePlanner by delegate {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 937 bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection.getInputStream(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns a {@link URLConnection} object that represents a connection to the remote object referred to by the URL. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0)