- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for mutableMapOf (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
import java.net.UnknownHostException import java.util.Collections import okio.Buffer class FakeDns : Dns { private val hostAddresses: MutableMap<String, List<InetAddress>> = Collections.synchronizedMap(mutableMapOf()) private val requestedHosts: MutableList<String> = Collections.synchronizedList(mutableListOf()) private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 20:20:29 GMT 2026 - 2.6K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
} } } return null } /** * Inputs must have applied [withoutSectionSpans]. */ internal fun sections(mappings: List<Mapping>): Map<Int, List<MappedRange>> { val result = mutableMapOf<Int, MutableList<MappedRange>>() for (mapping in mappings) { require(!mapping.spansSections) val section = mapping.section val rangeStart = mapping.rangeStartCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.3K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt
fun testLoggingLevels() { enableTls() val testHandler = object : Handler() { val calls = mutableMapOf<String, AtomicInteger>() override fun publish(record: LogRecord) { calls .getOrPut(record.loggerName) { AtomicInteger(0) } .incrementAndGet() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 29.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
internal val client: Boolean = builder.client /** User code to run in response to incoming streams or settings. */ internal val listener: Listener = builder.listener internal val streams = mutableMapOf<Int, Http2Stream>() internal val connectionName: String = builder.connectionName internal var lastGoodStreamId = 0 /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-5.1.1 */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)