- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 710 for fun (0.01 sec)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/GraalSvm.kt
@Delete class TargetJdk8WithJettyBootPlatform @TargetClass(OpenJSSEPlatform::class) @Delete class TargetOpenJSSEPlatform @TargetClass(Platform.Companion::class) class TargetPlatform { @Substitute fun findPlatform(): Platform = Jdk9Platform.buildIfSupported()!!Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
* limitations under the License. */ package okhttp3.internal.http import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request object ExternalHttp2Example { @JvmStatic fun main(args: Array<String>) { val client = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( RequestRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/RobolectricOkHttpClientTest.kt
import org.robolectric.annotation.Config @RunWith(RobolectricTestRunner::class) @Config( sdk = [23, 26, 30, 33, 35], ) class RobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() { @Before fun setContext() { // This is awkward because Robolectric won't run our initializers and we don't want test deps // https://github.com/robolectric/robolectric/issues/8461
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 16:25:39 UTC 2025 - 1.2K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateLanguageAnnotations.kt
abstract val classpath: ConfigurableFileCollection @get:Input abstract val packageName: Property<String> @get:OutputDirectory abstract val destDir: DirectoryProperty @TaskAction fun generateAnnotations() { val queue = workerExecutor.classLoaderIsolation { classpath = ******@****.***ath } queue.submit(AnnotationGeneratorWorkAction::class) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 07 08:27:12 UTC 2023 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
import java.io.IOException /** Attempt routes one at a time until one connects. */ internal class SequentialExchangeFinder( override val routePlanner: RoutePlanner, ) : ExchangeFinder { override fun find(): RealConnection { var firstException: IOException? = null while (true) { if (routePlanner.isCanceled()) throw IOException("Canceled") try { val plan = routePlanner.plan()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt
import android.content.Context import android.os.Build import java.lang.IllegalStateException import okhttp3.internal.platform.android.AndroidLog actual object PlatformRegistry { actual fun findPlatform(): Platform { AndroidLog.enable() val androidPlatform = Android10Platform.buildIfSupported() ?: AndroidPlatform.buildIfSupported() if (androidPlatform != null) return androidPlatformRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt
buildScanTagParam("SmokeIdeTests"), "-PflakyTests=$flakyTestStrategy", ).joinToString(" "), ) }) { companion object { fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SmokeIdeTests" }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 09 05:26:45 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt
EventListenerAdapter() .apply { listeners += ::onEvent } val eventListener: EventListener get() = eventListenerAdapter var eventCount = 0 private fun onEvent(callEvent: CallEvent) { if (eventCount++ == 0) { eventRecorder.logEvent(callEvent) val next = EventListenerRelay(call, eventRecorder) call.addEventListener(next.eventListener) } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 1.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt
* sample of code points to detect Unicode control characters commonly used in binary file * signatures. * * @param codePointLimit the number of code points to read in order to make a decision. */ internal fun BufferedSource.isProbablyUtf8(codePointLimit: Long = Long.MAX_VALUE): Boolean { try { val peek = peek() for (i in 0 until codePointLimit) { if (peek.exhausted()) { break }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 22:47:06 UTC 2025 - 1.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt
import java.util.TreeSet @DisableCachingByDefault(because = "Depends on GitHub API") abstract class CheckContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() { @TaskAction fun check() { val contributorsInReleaseNotes = TreeSet(getContributorsInReleaseNotes().map { it.login }) val contributorsFromPullRequests = TreeSet(getContributorsFromPullRequests().map { it.login })
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 1.9K bytes - Viewed (0)