Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 710 for fun (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       * [iana]: https://www.iana.org/assignments/tls-extensiontype-values
       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

    package gradlebuild.binarycompatibility
    
    import org.junit.jupiter.api.Test
    
    
    class AlphabeticalAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
        fun `verify AlphabeticalAcceptedApiChangesTask detects misordered changes`() {
            //language=JSON
            firstAcceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/SanityCheck.kt

                        "-Porg.gradle.java.installations.auto-download=false",
                    ).joinToString(" "),
            )
        }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SanityCheck"
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

        }
    
        class TeamCityParallelTests(
            val numberOfBatches: Int,
        ) : ParallelizationMethod()
    
        companion object {
            private val objectMapper = ObjectMapper()
    
            fun fromJson(jsonObject: Map<String, Any>): ParallelizationMethod {
                val methodJsonNode =
                    (jsonObject["parallelizationMethod"] as? Map<*, *>)?.let { objectMapper.valueToTree<JsonNode>(it) }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

     * we run each branch on different hours.
     * master - 0:00
     * release - 1:00
     * release6x - 2:00
     * release7x - 3:00
     * ...
     * releaseNx - (N-4):00
     */
    fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? {
        val oldReleasePattern = "release(\\d+)x".toRegex()
        return when (branchName) {
            "master" -> 0
            "release" -> 1
            else -> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 29 08:57:18 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

    )
    
    
    val credentialsKeywords = listOf(
        "api_key",
        "access_key",
        "apikey",
        "accesskey",
        "password",
        "token",
        "credential",
        "auth"
    )
    
    
    fun Test.filterEnvironmentVariables(inheritDevelocityAccessToken: Boolean) {
        environment = makePropagatedEnvironment()
        environment.forEach { (key, _) ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Oct 15 18:27:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

       * > GeneralizedTime.
       */
      internal val time: DerAdapter<Long> =
        object : DerAdapter<Long> {
          override fun matches(header: DerHeader): Boolean = Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header)
    
          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. docs/features/https.md

           * file that gets bundled with the application.
           */
          private fun trustedCertificatesInputStream(): InputStream {
            ... // Full source omitted. See sample.
          }
    
          private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager {
            ... // Full source omitted. See sample.
          }
        ```
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    expect object PlatformRegistry {
      fun findPlatform(): Platform
    
      val isAndroid: Boolean
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 727 bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
          .Builder()
          .cache(Cache(FileSystem.SYSTEM, "build/okhttp_cache".toPath(), 100_000_000))
          .build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top