Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 710 for fun (0.01 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

                    latestKotlinVersions.last()
                )
            }
    
        private
        fun fetchLatestKotlinVersions() =
            fetchAndSelectKotlinVersions(
                minimumSupported.get(),
                "https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/maven-metadata.xml"
            )
    
        private
        fun fetchAndSelectKotlinVersions(minimumSupported: String, mavenMetadataUrl: String): List<String> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 29 08:29:55 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt

      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
      override fun contentLength(): Long = contentLength
    
      override fun contentType(): MediaType? = contentTypeString?.toMediaTypeOrNull()
    
      override fun source(): BufferedSource = source
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

        }
    
        private
        fun createUnixStartScriptGenerator() = DefaultTemplateBasedStartScriptGenerator(
            TextUtil.getUnixLineSeparator(),
            StartScriptTemplateBindingFactory.unix(),
            FileCollectionBackedTextResource(temporaryFileProvider, unixScriptTemplate, StandardCharsets.UTF_8)
        )
    
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Apr 08 01:46:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

    class CertificatePinnerKotlinTest {
      @Test
      fun successfulCheckSha1Pin() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("example.com", "sha1/" + certA1.certificate.sha1Hash().base64())
            .build()
    
        certificatePinner.check("example.com", listOf(certA1.certificate))
      }
    
      @Test fun successfulFindMatchingPins() {
        val certificatePinner =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      var client = clientTestRule.newClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        // Default after JDK 14, but we are avoiding tests that assume special setup.
        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 5.9K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       */
      fun enqueue(responseCallback: Callback)
    
      /** Cancels the request, if possible. Requests that are already complete cannot be canceled. */
      fun cancel()
    
      /**
       * Returns true if this call has been either [executed][execute] or [enqueued][enqueue]. It is an
       * error to execute a call more than once.
       */
      fun isExecuted(): Boolean
    
      fun isCanceled(): Boolean
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      var client: Call.Factory? = null
    
      override fun run() {
        LoggingUtil.configureLogging(debug = verbose, showHttp2Frames = showHttp2Frames, sslDebug = sslDebug)
    
        commonRun()
      }
    
      fun createRequest(): Request = commonCreateRequest()
    
      fun createClient(): Call.Factory {
        val builder = OkHttpClient.Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

        headerValue = null,
      )
    
    internal fun CacheControl.Builder.commonNoCache() =
      apply {
        this.noCache = true
      }
    
    internal fun CacheControl.Builder.commonNoStore() =
      apply {
        this.noStore = true
      }
    
    internal fun CacheControl.Builder.commonOnlyIfCached() =
      apply {
        this.onlyIfCached = true
      }
    
    internal fun CacheControl.Builder.commonNoTransform() =
      apply {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        else
            echo "${'$'}REPO does not exist"
        fi
    
        """.trimIndent()
    
    fun checkCleanDirWindows(
        dir: String,
        exitOnFailure: Boolean = true,
    ) = """
    
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
        """.trimIndent()
    
    fun BuildFeatures.publishBuildStatusToGithub(model: CIBuildModel) {
        if (model.publishStatusToGitHub) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 07:29:52 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt

      private val client = OkHttpClient()
    
      @Test
      fun passingTest() {
        assertThat("hello").isEqualTo("hello")
      }
    
      @Test
      fun testMockWebServer() {
        server.enqueue(MockResponse(body = "abc"))
        server.start()
    
        client.newCall(Request(url = server.url("/"))).execute().use {
          assertThat(it.body.string()).isEqualTo("abc")
        }
      }
    
      @Test
      fun testExternalSite() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top