- 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/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
fun isKotlinInternal(ctMember: CtMember): Boolean = if (Modifier.isPrivate(ctMember.modifiers)) false else hasAttribute(ctMember, AttributePredicate.visibility(Visibility.INTERNAL)) fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean = hasAttribute(ctMethod, AttributePredicate.functionAttribute(KmFunction::isOperator)) fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 12:41:59 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
override fun configureSocket(socket: Socket): Socket { socket.setSendBufferSize(SOCKET_BUFFER_SIZE) socket.setReceiveBufferSize(SOCKET_BUFFER_SIZE) return socket } }, ) .build() } @AfterEach fun tearDown() { Thread.interrupted() // Clear interrupted state. } @Test fun interruptWritingRequestBody() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K 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) -
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) -
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/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) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() { private val internalMembers = """ internal fun foo() {} internal val bar = "bar" internal var bazar = "bazar" internal fun String.fooExt() {} internal fun Int.fooExt() {} internal val String.barExt: String get() = "bar" internal var Int.bazarExt: String
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 27 13:51:10 UTC 2024 - 6.4K 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)