- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 76 for mutableListOf (0.21 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
import java.net.SocketAddress import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() { @JvmField val proxies = mutableListOf<Proxy>() val requestedUris = mutableListOf<URI>() val failures = mutableListOf<String>() override fun select(uri: URI): List<Proxy> { requestedUris.add(uri) return proxies } fun assertRequests(vararg expectedUris: URI?) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
class JavaNetCookieJar( private val cookieHandler: CookieHandler, ) : CookieJar { override fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) { val cookieStrings = mutableListOf<String>() for (cookie in cookies) { cookieStrings.add(cookieToString(cookie, true)) } val multimap = mapOf("Set-Cookie" to cookieStrings) try { cookieHandler.put(url.toUri(), multimap)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 19 07:46:39 GMT 2026 - 3.9K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/ProjectStructure.kt
* limitations under the License. */ package gradlebuild import java.io.File abstract class ProjectStructure { val architectureElements = mutableListOf<ArchitectureElementBuilder>() val projectBaseDirs = mutableListOf<File>()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 818 bytes - Click Count (0) -
.teamcity/src/main/kotlin/projects/CheckProject.kt
) } var prevStage: Stage? = null val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf() val previousCrossVersionTests: MutableList<BaseGradleBuildType> = mutableListOf() model.stages.forEach { stage -> if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) { return@forEach }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 03 10:41:06 GMT 2026 - 4.1K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
@Test fun executeScheduledEarlierReplacesRepeatedLater() { val task = object : Task("task") { val schedules = mutableListOf(50.µs) val delays = mutableListOf(200.µs, -1) override fun runOnce(): Long { log += "run@${taskFaker.nanoTime}" if (schedules.isNotEmpty()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
sink: BufferedSink, ) { /** A stack of buffers that will be concatenated once we know the length of each. */ private val stack = mutableListOf(sink) /** Type hints scoped to the call stack, manipulated with [pushTypeHint] and [popTypeHint]. */ private val typeHintStack = mutableListOf<Any?>() /** * The type hint for the current object. Used to pick adapters based on other fields, such asCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/Builders.kt
private val settings: Settings, private val projectScope: ProjectScope = ProjectScope("platforms/$name", settings), ) : ArchitectureElementBuilder(name) { private val modules = mutableListOf<ArchitectureModuleBuilder>() private val uses = mutableListOf<PlatformBuilder>() fun subproject(projectName: String) { projectScope.subproject(projectName) } fun uses(platform: PlatformBuilder) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 3K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
val resource = HpackJsonUtil::class.java.getResource("/hpack-test-case") ?: return arrayOf() val testCaseDirectory = File(resource.toURI()).toOkioPath() val result = mutableListOf<String>() for (path in fileSystem.list(testCaseDirectory)) { val story00 = path / "story_00.json" if (!fileSystem.exists(story00)) continue try { readStory(story00)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
for (mapping in mappings) { require(!mapping.spansSections) val section = mapping.section val rangeStart = mapping.rangeStart val sectionList = result.getOrPut(section) { mutableListOf() } sectionList += when (mapping.type) { TYPE_MAPPED -> { run { val deltaMapping = inlineDeltaOrNull(mapping) if (deltaMapping != null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
} return byteCount } class Builder @JvmOverloads constructor( private val charset: Charset? = null, ) { private val names = mutableListOf<String>() private val values = mutableListOf<String>() fun add( name: String, value: String, ) = apply { names += name.canonicalizeWithCharset(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0)