- Sort Score
- Num 10 results
- Language All
Results 11 - 19 of 19 for mutableMapOf (0.27 seconds)
-
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
val buildProjectClassTimes = gson.fromJson<BuildProjectToSubprojectTestClassTimes>(buildClassTimeJson.readText(), sType) val result = mutableMapOf<TestCoverage, List<SmallSubprojectBucket>>() for (stage in model.stages) { for (testCoverage in stage.functionalTests) { if (testCoverage.testType !in
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
else -> { NoOpTestClassProvider() } } private fun readTestClasses(content: String): Map<String, List<String>> { val properties = Properties() val ret = mutableMapOf<String, MutableList<String>>() properties.load(StringReader(content)) properties.forEach { key, value -> val list = ret.getOrDefault(value, mutableListOf()) list.add(key!!.toString())Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
@Test fun ofMapTrimsValue() { val headers = mapOf("User-Agent" to " OkHttp ").toHeaders() assertThat(headers.value(0)).isEqualTo("OkHttp") } @Test fun ofMapMakesDefensiveCopy() { val namesAndValues = mutableMapOf<String, String>() namesAndValues["User-Agent"] = "OkHttp" val headers = namesAndValues.toHeaders() namesAndValues["User-Agent"] = "Chrome" assertThat(headers.value(0)).isEqualTo("OkHttp") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K 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) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
private fun getExecutedTaskPaths(projectPath: String) = projectPathToExecutedTaskPaths.getOrEmpty(projectPath) override fun close() { val projectPathToLeftoverFiles = mutableMapOf<String, LeftoverFiles>() // First run: delete any temporary directories used to extract resources from jars projectStates.values.forEach { projectState ->Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
* Holds interned instances. This needs to be above the init() calls below so that it's * initialized by the time those parts of `<clinit>()` run. Guarded by CipherSuite.class. */ private val INSTANCES = mutableMapOf<String, CipherSuite>() // Last updated 2016-07-03 using cipher suites from Android 24 and Java 9. // @JvmField val TLS_NULL_WITH_NULL_NULL = init("TLS_NULL_WITH_NULL_NULL", 0x0000)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 39.9K bytes - Click Count (0)