- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 3,162 for Fun (0.07 sec)
-
okhttp/src/test/java/okhttp3/ResponseBodyTest.kt
object : ResponseBody() { override fun contentType(): MediaType? { return null } override fun contentLength(): Long { return 5 } override fun source(): BufferedSource { val source = Buffer().writeUtf8("hello") return object : ForwardingSource(source) { override fun close() { closed = true
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt
return out } private fun windowUpdate(windowSizeIncrement: Long): Buffer { val out = Buffer() Http2Writer(out, true).windowUpdate(expectedStreamId, windowSizeIncrement) return out } private fun assertHeaderBlock(): Http2Reader.Handler { return object : BaseTestHandler() { override fun headers( inFinished: Boolean, streamId: Int,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 28.1K 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
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LambdaTest.kt
object LambdaTest { @Test fun `if a lambda is required, missing lambda is reported as an error`() { schema.resolve("lambdaRequired(0)").isError(ErrorReason.UnresolvedFunctionCallSignature::class) } @Test fun `if a lambda is required, a lambda is accepted`() { schema.resolve("lambdaRequired(0) { }").isSuccessful() } @Test fun `if a lambda is optional, a missing lambda is ok`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 26 12:27:49 UTC 2024 - 2.6K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLambdaParameterClosure.ir.txt
FUN name:consume visibility:public modality:FINAL <> (text:kotlin.String) returnType:kotlin.Unit VALUE_PARAMETER name:text index:0 type:kotlin.String BLOCK_BODY FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit BLOCK_BODY
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 3K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
private var cancel = false fun enqueueCancel() { cancel = true } override fun onOpen( eventSource: EventSource, response: Response, ) { get().log("[ES] onOpen", Platform.INFO, null) events.add(Open(eventSource, response)) drainCancelQueue(eventSource) } override fun onEvent( eventSource: EventSource, id: String?,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
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") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt
) : RegisteredProperty() } private suspend fun WriteContext.writeRegisteredPropertiesOf(task: Task) { suspend fun writeProperty(propertyName: String, propertyValue: Any?, kind: PropertyKind) { writeString(propertyName) writeNextProperty(propertyName, propertyValue, kind) } suspend fun writeInputProperty(propertyName: String, propertyValue: Any?) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt
ContractDescriptionVisitor<Any, Unit> { override fun visitConditionalEffectDeclaration( conditionalEffect: ConditionalEffectDeclaration, data: Unit ): Any = KaContractConditionalContractEffectDeclaration( conditionalEffect.effect.accept(), conditionalEffect.condition.accept(), ) override fun visitReturnsEffectDeclaration( returnsEffect: ReturnsEffectDeclaration,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
*/ fun connection(): Connection? fun call(): Call fun connectTimeoutMillis(): Int fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain fun readTimeoutMillis(): Int fun withReadTimeout( timeout: Int, unit: TimeUnit, ): Chain fun writeTimeoutMillis(): Int
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0)