- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 693 for fun (0.15 seconds)
-
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
{ tests1, tests2 -> tests1 != tests2 }, ) } fun determineScenarioTestDurations( os: Os, performanceTestDurations: OperatingSystemToTestProjectPerformanceTestDurations, ): Map<String, List<PerformanceTestDuration>> = performanceTestDurations.getOrDefault(os, emptyMap()) fun determineScenariosFor( performanceTestSpec: PerformanceTestSpec,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 29 01:37:22 GMT 2026 - 17.2K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
@AfterEach fun after() { assertThat(callbacks).isEmpty() } @Test fun multiline() { consumeEvents( """ |data: YHOO |data: +2 |data: 10 | | """.trimMargin(), ) assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10")) } @Test fun multilineCr() { consumeEvents( """
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
call2.execute() } } @Test fun noAttemptToReadResponseIfLoadingRequestBodyIsSourceOfFailure() { server.enqueue(MockResponse(body = "abc")) val requestBody = object : RequestBody() { override fun contentType(): MediaType? = null override fun writeTo(sink: BufferedSink) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
@Synchronized fun writeAbortCount(): Int = writeAbortCount @Synchronized fun writeSuccessCount(): Int = writeSuccessCount @Throws(IOException::class) fun size(): Long = cache.size() /** Max size of the cache (in bytes). */ fun maxSize(): Long = cache.maxSize @Throws(IOException::class) override fun flush() { cache.flush() } @Throws(IOException::class) override fun close() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
for (response in responsesNotClosed) { response!!.closeQuietly() } } private fun enableHttps() { enableHttpsAndAlpn(Protocol.HTTP_1_1) } private fun enableHttp2() { platform.assumeHttp2Support() enableHttpsAndAlpn(Protocol.HTTP_2, Protocol.HTTP_1_1) } private fun enableHttpsAndAlpn(vararg protocols: Protocol) { client = client .newBuilder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun headers() { var headers: Headers = Headers.of("", "") headers = Headers.of(mapOf("" to "")) val size: Int = headers.size() } @Test @Disabled fun httpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor() val level = interceptor.getLevel() } @Test @Disabled fun httpUrl() { val httpUrl: HttpUrl = HttpUrl.get("")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
} } private fun greaterThan(value: Long): Matcher<Long?> = object : BaseMatcher<Long?>() { override fun describeTo(description: Description?) { description!!.appendText("> $value") } override fun matches(o: Any?): Boolean = (o as Long?)!! > value } private fun matchesProtocol(protocol: Protocol?): Matcher<Response?> =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
).filter { it.isSupported() } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? = socketAdapters .find { it.matchesSocketFactory(sslSocketFactory) } ?.trustManager(sslSocketFactory) override fun newSSLContext(): SSLContext { StrictMode.noteSlowCall("newSSLContext") return super.newSSLContext() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jul 20 11:25:50 GMT 2025 - 4.5K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
private interface VersionsToIncubatingCollector { fun collectFrom(sourceFile: File): VersionsToIncubating } private class CompositeVersionsToIncubatingCollector( private val collectors: List<VersionsToIncubatingCollector> ) : VersionsToIncubatingCollector { override fun collectFrom(sourceFile: File): VersionsToIncubating = collectorsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
override fun close() { sourceClosed = true super.close() } }.buffer() override val sink: BufferedSink = object : ForwardingSink(delegate.sink) { override fun close() { sinkClosed = true super.close() } }.buffer() fun initWebSocket( random: Random?,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0)