Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 693 for fun (0.03 seconds)

  1. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

    import okhttp3.buildsupport.platform
    import okhttp3.buildsupport.testJavaVersion
    
    plugins {
      id("okhttp.base-conventions")
    }
    
    val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
    
    fun library(alias: String) = libs.findLibrary(alias).get().get().let {
      "${it.module.group}:${it.module.name}:${it.versionConstraint.requiredVersion}"
    }
    
    
    val testRuntimeOnly = configurations.maybeCreate("testRuntimeOnly")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. 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()!!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. benchmarks/README.md

    * Look only at the `Score` column and ignore `Error`. Instead take countermeasures to keep `Error` low / variance explainable.
    
    ## Disassembling
    
    NOTE: Linux only. Sorry Mac and Windows.
    
    Disassembling is fun! Maybe not always useful, but always fun! Generally, you'll want to install `perf` and FCML's `hsdis`.
    `perf` is generally available via `apg-get install perf` or `pacman -S perf`. FCML is a little more involved. This worked
    on 2020-08-01:
    
    ```
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. 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(
            Request
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        }
    }
    
    tasks.named("check") { dependsOn(reportTask) }
    
    consumableVariant("txt", reportTask.flatMap { it.textReportFile })
    consumableVariant("html", reportTask.flatMap { it.htmlReportFile })
    
    fun consumableVariant(reportType: String, artifact: Provider<RegularFile>) = configurations.create("incubatingReport${reportType.capitalize()}") {
        isCanBeResolved = false
        isCanBeConsumed = true
        attributes {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/VcsTriggers.kt

     */
    
    package configurations
    
    val triggerExcludes =
        """
        -:.idea
        -:.github
        -:.teamcity
        -:platforms/documentation/docs/src/docs/release
        """.trimIndent()
    
    fun branchesFilterExcluding(vararg excludedBranch: String) =
        """
    +:*
    ${excludedBranch.joinToString("\n") { "-:$it" }}
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 913 bytes
    - Click Count (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(
      val id: ByteString?,
      val name: String,
    ) {
      fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 834 bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.ByteString
    
    /**
     * Basic I/O for `PublicSuffixDatabase.list`
     */
    internal interface PublicSuffixList {
      fun ensureLoaded()
    
      val bytes: ByteString
      val exceptionBytes: ByteString
    
      companion object
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 929 bytes
    - Click Count (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiAggregateReportTask.kt

        abstract val htmlReportFile: RegularFileProperty
    
        @get:OutputFile
        abstract val csvReportFile: RegularFileProperty
    
        @get:Inject
        abstract val workerExecutor: WorkerExecutor
    
        @TaskAction
        fun generateReport() = workerExecutor.noIsolation().submit(IncubatingApiReportAggregationWorkAction::class) {
            reports.from(******@****.***s)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 29 08:21:16 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top