- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 90 for mutableListOf (1.68 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
constructor( source: Source, private val headerTableSizeSetting: Int, private var maxDynamicTableByteCount: Int = headerTableSizeSetting, ) { private val headerList = mutableListOf<Header>() private val source: BufferedSource = source.buffer() // Visible for testing. @JvmField var dynamicTable = arrayOfNulls<Header>(8)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
options.isIncremental = true options.isFork = true options.forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError") options.forkOptions.memoryMaximumSize = "1g" options.compilerArgs.addAll(mutableListOf("-Xlint:-options", "-Xlint:-path")) } fun addDependencies() { dependencies { testCompileOnly(libs.junit) testRuntimeOnly(libs.junit5Vintage) testImplementation(libs.groovy)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 18.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
eventListener.callStart(this) } @Throws(IOException::class) internal fun getResponseWithInterceptorChain(): Response { // Build a full stack of interceptors. val interceptors = mutableListOf<Interceptor>() interceptors += client.interceptors interceptors += RetryAndFollowUpInterceptor(client) interceptors += BridgeInterceptor(client.cookieJar)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 19.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
ConnectionReleased::class, CallEnd::class, ), eventRecorder.recordedEventTypes(), ) } @Test fun testSessionReuse() { val sessionIds = mutableListOf<String>() enableTls() client = client .newBuilder() .eventListenerFactory( clientTestRule.wrap( object : EventListener() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 29.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
internal var dispatcher: Dispatcher = Dispatcher() internal var connectionPool: ConnectionPool? = null internal val interceptors: MutableList<Interceptor> = mutableListOf() internal val networkInterceptors: MutableList<Interceptor> = mutableListOf() internal var eventListenerFactory: EventListener.Factory = EventListener.NONE.asFactory() internal var retryOnConnectionFailure = true internal var fastFallback = true
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
var cookies: MutableList<Cookie>? = null for (i in 0 until cookieStrings.size) { val cookie = parse(url, cookieStrings[i]) ?: continue if (cookies == null) cookies = mutableListOf() cookies.add(cookie) } return cookies?.unmodifiable().orEmpty() } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
private fun request(): Request.Builder = Request.Builder().url(url) internal class LogRecorder( val prefix: Regex = Regex(""), ) : HttpLoggingInterceptor.Logger { private val logs = mutableListOf<String>() private var index = 0 fun assertLogEqual(expected: String) = apply { assertThat(index, "No more messages found") .isLessThan(logs.size)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 39.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
} @Test fun dnsReturnsZeroIpAddresses() { // Configure a DNS that returns our local MockWebServer for android.com. val dns = FakeDns() val ipAddresses = mutableListOf<InetAddress>() dns["android.com"] = ipAddresses client = client .newBuilder() .dns(dns) .build() server.enqueue(MockResponse()) val request =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0)