- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 657 for fun (0.02 sec)
-
okhttp/src/test/java/okhttp3/MediaTypeTest.kt
*/ open class MediaTypeTest { open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase() protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!! protected open fun assertInvalid( string: String, exceptionMessage: String?, ) { assertNull(string.toMediaTypeOrNull(), exceptionMessage) } @Test fun testParse() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt
assertHasNoInformation() } } @Test fun `from non-null accepting to null accepting is not breaking (kotlin)`() { checkBinaryCompatibleKotlin( v1 = """ class Source(some: String) { fun foo(bar: String) {} } operator fun Source.invoke(arg: String) {} """, v2 = """
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.1K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
} override fun visitFileFailed(file: Path?, exc: IOException?) = FileVisitResult.TERMINATE override fun postVisitDirectory(dir: Path?, exc: IOException?) = FileVisitResult.CONTINUE private fun Path.isClassFilePath() = toString().endsWith(".class")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Oct 28 12:55:30 UTC 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
private fun openJarFile(file: Path): ZipInputStream { return ZipInputStream(Files.newInputStream(file)) } } /** * Implementation code that can be unit-tested. * * <p>Visible for testing.</p> */ class Implementation(private val excludes: List<String>, private val includes: List<String>) { fun collectPackages(files: Iterable<Path>): Trie {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 7.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
*/ fun enqueue(responseCallback: Callback) /** Cancels the request, if possible. Requests that are already complete cannot be canceled. */ fun cancel() /** * Returns true if this call has been either [executed][execute] or [enqueued][enqueue]. It is an * error to execute a call more than once. */ fun isExecuted(): Boolean fun isCanceled(): Boolean /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt
.asResponseBody(contentType, size.toLong()) } internal fun BufferedSource.commonAsResponseBody( contentType: MediaType?, contentLength: Long, ): ResponseBody = object : ResponseBody() { override fun contentType(): MediaType? = contentType override fun contentLength(): Long = contentLength override fun source(): BufferedSource = this@commonAsResponseBody
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt
import javax.net.ssl.X509TrustManager import okhttp3.Protocol interface SocketAdapter { fun isSupported(): Boolean fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? = null fun matchesSocket(sslSocket: SSLSocket): Boolean fun matchesSocketFactory(sslSocketFactory: SSLSocketFactory): Boolean = false fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
private lateinit var server: MockWebServer @BeforeEach fun setUp(server: MockWebServer) { this.server = server platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @Test fun serverTruncatesRequestOnLongPostHttp1() { serverTruncatesRequestOnLongPost(https = false) } @Test fun serverTruncatesRequestOnLongPostHttp2() { enableProtocol(Protocol.HTTP_2)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.5K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
private fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply { implementation.collectPackages(files.toList()).dump(false, this::add) } @Test fun `generates a curated list of package prefixes from directories`() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 5K bytes - Viewed (0)