- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for foreach (0.34 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
} private fun checkForStartEvent(e: ConnectionEvent) { if (eventSequence.isEmpty()) { assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java) } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} } fun rethrowIfNotExpected(e: Throwable) { versionChecks.forEach { (versionMatcher, failureMatcher) -> if (versionMatcher.matches(PlatformVersion) && failureMatcher.matches(e)) { return } } throw e } fun failIfExpected() { versionChecks.forEach { (versionMatcher, failureMatcher) -> if (versionMatcher.matches(PlatformVersion)) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
} else { frameCallback.onReadMessage(messageFrameBuffer.readByteString()) } } /** Read headers and process any control frames until we reach a non-control frame. */ @Throws(IOException::class) private fun readUntilNonControlFrame() { while (!closed) { readHeader() if (!isControlFrame) { break }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
val body = response.body.string() assertThat(body).contains("Peter the person") } } results.forEach { it.get() } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 11:15:46 GMT 2024 - 3.7K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt
) { access.registerAsUsed(java) RuntimeReflection.register(java) java.constructors.forEach { RuntimeReflection.register(it) } java.declaredMethods.forEach { RuntimeReflection.register(it) } java.declaredFields.forEach { RuntimeReflection.register(it) } java.methods.forEach { RuntimeReflection.register(it) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
Dns { hostname -> val allAddresses = mutableListOf<InetAddress>() val allExceptions = mutableListOf<IOException>() val latch = CountDownLatch(asyncDns.size) asyncDns.forEach { it.query( hostname, object : Callback { override fun onResponse( hostname: String, addresses: List<InetAddress>, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp-bom/build.gradle.kts
plugins { id("com.vanniktech.maven.publish.base") id("java-platform") } dependencies { constraints { project.rootProject.subprojects.forEach { subproject -> if (subproject.name != "okhttp-bom") { api(subproject) } } } } publishing { publications.create<MavenPublication>("maven") { from(project.components["javaPlatform"]) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Nov 27 12:31:27 GMT 2021 - 373 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
} private fun checkForStartEvent(e: CallEvent) { if (eventSequence.isEmpty()) { assertThat(e).matchesPredicate { it is CallStart || it is Canceled } } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
this.withLock { if (streams.isNotEmpty()) { streamsToClose = streams.values.toTypedArray() streams.clear() } } streamsToClose?.forEach { stream -> ignoreIoExceptions { stream.close(streamCode, cause) } } // Close the writer to release its resources (such as deflaters). ignoreIoExceptions {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
3242 ; disallowed_STD3_mapped ; 0028 81EA 0029 #1.1 PARENTHESIZED IDEOGRAPH SELF 3243 ; disallowed_STD3_mapped ; 0028 81F3 0029 #1.1 PARENTHESIZED IDEOGRAPH REACH 3244 ; mapped ; 554F # 5.2 CIRCLED IDEOGRAPH QUESTION 3245 ; mapped ; 5E7C # 5.2 CIRCLED IDEOGRAPH KINDERGARTEN
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Feb 10 11:25:47 GMT 2024 - 854.1K bytes - Viewed (2)