- Sort Score
- Result 10 results
- Languages All
Results 1881 - 1890 of 1,950 for func (0.08 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
import org.robolectric.annotation.Config import org.robolectric.shadow.api.Shadow @Config(shadows = [ShadowDnsResolver::class], sdk = [34]) @RunWith(RobolectricTestRunner::class) class AndroidAsyncDnsTest { @Test fun testDnsRequestInvalid() { val asyncDns = AndroidAsyncDns.IPv4 val shadowDns: ShadowDnsResolver = Shadow.extract(asyncDns.resolver) shadowDns.responder = {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.6K bytes - Viewed (0) -
docs_src/dataclasses/tutorial002.py
@app.get("/items/next", response_model=Item) async def read_next_item(): return { "name": "Island In The Moon", "price": 12.99, "description": "A place to be playin' and havin' fun", "tags": ["breater"],
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 31 14:09:15 UTC 2024 - 549 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
codenarc(embeddedKotlin("stdlib")) components { withModule<CodeNarcRule>("org.codenarc:CodeNarc") { params(groovyVersion) } } } fun configFile(fileName: String) = resources.text.fromFile(rules.asFileTree.filter { it.name == fileName }) checkstyle { toolVersion = "8.12" config = configFile("checkstyle.xml")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 6.1K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
this.onlyIf { !noUpload.map { it == "true" }.orElse(false).get() } if (name.endsWith("ToRemoteRepository")) { failEarlyIfUrlOrCredentialsAreNotSet(this) } } @Suppress("ThrowsCount") fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) { gradle.taskGraph.whenReady { if (hasTask(publish)) { if (artifactoryUrl.isEmpty()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 08:20:22 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt
import javax.net.ssl.SSLException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLPeerUnverifiedException import okio.IOException /** Returns true if a TLS connection should be retried after [e]. */ fun retryTlsHandshake(e: IOException): Boolean { return when { // If there was a protocol problem, don't recover. e is ProtocolException -> false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 07 16:05:34 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 12 23:20:08 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-NormalizeJvm.kt
* limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import java.text.Normalizer import java.text.Normalizer.Form.NFC
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 842 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
) { @JvmName("-deprecated_javaName") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "javaName"), level = DeprecationLevel.ERROR, ) fun javaName(): String = javaName override fun toString(): String = javaName companion object { /** * Compares cipher suites names like "TLS_RSA_WITH_NULL_MD5" and "SSL_RSA_WITH_NULL_MD5",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 39.9K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jul 03 16:00:02 UTC 2024 - 3K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts
} } tasks.named("check") { dependsOn(reportTask) } consumableVariant("txt", reportTask.flatMap { it.textReportFile }) consumableVariant("html", reportTask.flatMap { it.htmlReportFile }) fun consumableVariant(reportType: String, artifact: Provider<RegularFile>) = configurations.create("incubatingReport${reportType.capitalize()}") { isVisible = false isCanBeResolved = false isCanBeConsumed = true
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Feb 12 13:19:06 UTC 2024 - 2.3K bytes - Viewed (0)