- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 920 for fun (0.29 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
} @Test fun clientEmptyClose() { clientWriter.writeClose(0, null) assertData("888060b420bb") } @Test fun clientCloseWithCode() { clientWriter.writeClose(1001, null) assertData("888260b420bb635d") } @Test fun clientCloseWithCodeAndReason() { clientWriter.writeClose(1001, "Hello".encodeUtf8()) assertData("888760b420bb635d68de0cd84f") }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) = apply { headersBuilder.add(header) } fun addHeader( name: String, value: Any, ) = apply { headersBuilder.add(name, value.toString()) } fun addHeaderLenient( name: String, value: Any,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun requireClientAuth ()V public final fun setBodyLimit (J)V public final fun setDispatcher (Lokhttp3/mockwebserver/Dispatcher;)V public final fun setProtocolNegotiationEnabled (Z)V public final fun setProtocols (Ljava/util/List;)V public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V public final fun shutdown ()V public final fun start ()V public final fun start (I)V
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun serverClosesSocket() { testServerClosesOutput(DisconnectAtEnd) } @Test fun serverShutdownInput() { testServerClosesOutput(ShutdownInputAtEnd) } @Test fun serverShutdownOutput() { testServerClosesOutput(ShutdownOutputAtEnd) } @Test fun invalidHost() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
} @Test fun postZerolength_HTTPS() { enableTls() postZeroLength() } @Test fun postZerolength_HTTP_2() { enableProtocol(Protocol.HTTP_2) postZeroLength() } @Test fun postBodyRetransmittedAfterAuthorizationFail() { postBodyRetransmittedAfterAuthorizationFail("abc") } @Test
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
} } @Test fun ofThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> { headersOf("", "OkHttp") } } @Test fun ofAcceptsEmptyValue() { val headers = headersOf("User-Agent", "") assertThat(headers.value(0)).isEqualTo("") } @Test fun ofMakesDefensiveCopy() { val namesAndValues = arrayOf( "User-Agent", "OkHttp", )
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt
else -> header("Cache-Control", value) } } fun Request.Builder.commonGet(): Request.Builder = method("GET", null) fun Request.Builder.commonHead(): Request.Builder = method("HEAD", null) fun Request.Builder.commonPost(body: RequestBody): Request.Builder = method("POST", body) fun Request.Builder.commonDelete(body: RequestBody?): Request.Builder = method("DELETE", body)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
override fun visitElement(element: FirElement) { element.acceptChildren(this) } override fun visitAnonymousFunction(anonymousFunction: FirAnonymousFunction) = visitFunction(anonymousFunction) override fun visitPropertyAccessor(propertyAccessor: FirPropertyAccessor) = visitFunction(propertyAccessor)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
} private fun DeclarationDescriptor.isDeclaredInOwner() = when (this) { is CallableDescriptor -> dispatchReceiverParameter?.containingDeclaration == owner else -> containingDeclaration == owner } } override fun getEmptyScope(): KtScope { return KtEmptyScope(token) } override fun getFileScope(fileSymbol: KtFileSymbol): KtScope {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 12.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
val isBinaryCompatible = checkFailure == null fun assertEmptyReport() { assertHasNoError() assertHasNoWarning() assertHasNoInformation() } fun assertHasNoError() { assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty()) } fun assertHasNoWarning() {
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0)