Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 559 for fun (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          sink.writeByte(accumulator.toInt())
        }
      }
    
      fun encodedLength(bytes: ByteString): Int {
        var bitCount = 0L
    
        for (i in 0 until bytes.size) {
          val byteIn = bytes[i] and 0xff
          bitCount += CODE_BIT_COUNTS[byteIn].toLong()
        }
    
        return ((bitCount + 7) shr 3).toInt() // Round up to an even byte.
      }
    
      fun decode(
        source: BufferedSource,
        byteCount: Long,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/SanityCheck.kt

                        "-Porg.gradle.java.installations.auto-download=false",
                    ).joinToString(" "),
            )
        }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SanityCheck"
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 25 20:21:47 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/ReleasedVersion.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    import org.gradle.util.GradleVersion
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 826 bytes
    - Click Count (0)
  4. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.main
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Dec 21 08:56:29 GMT 2024
    - 768 bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt

    package okhttp3.testing
    
    object PlatformVersion {
      val majorVersion: Int by lazy {
        when (val jvmSpecVersion = getJvmSpecVersion()) {
          "1.8" -> 8
          else -> jvmSpecVersion.toInt()
        }
      }
    
      fun getJvmSpecVersion(): String = System.getProperty("java.specification.version", "unknown")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 902 bytes
    - Click Count (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsApi.kt

     * limitations under the License.
     */
    package okhttp3.survey.ssllabs
    
    import retrofit2.http.GET
    
    interface SslLabsApi {
      @GET("getClients")
      suspend fun clients(): List<UserAgentCapabilities>
    
      companion object {
        const val BASE_URL = "https://api.ssllabs.com/api/v3/"
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 844 bytes
    - Click Count (0)
  7. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt

     * limitations under the License.
     */
    package okhttp3.android
    
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Assert.assertEquals
    import org.junit.Test
    
    class IdnaTest {
      @Test
      fun testHostnameFunction() {
        assertEquals("xn--n3h.net", "https://☃.net/robots.txt".toHttpUrl().host)
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 19:38:06 GMT 2025
    - 869 bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Gzip.kt

    import okio.BufferedSource
    import okio.GzipSource
    import okio.Source
    
    object Gzip : DecompressionAlgorithm {
      override val encoding: String get() = "gzip"
    
      override fun decompress(compressedSource: BufferedSource): Source = GzipSource(compressedSource)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 936 bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/common/JvmVersion.kt

     */
    
    package common
    
    enum class JvmVersion(
        val major: Int,
    ) {
        JAVA_8(8),
        JAVA_11(11),
        JAVA_17(17),
        JAVA_21(21),
        JAVA_25(25),
        JAVA_26(26),
        ;
    
        fun toCapitalized(): String = name.replace("_", "").lowercase().toCapitalized()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 19:30:24 GMT 2026
    - 873 bytes
    - Click Count (0)
  10. build-logic/build.gradle.kts

                    "which may cause two daemons to be spawned on CI and in IDEA. " +
                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    fun readProperties(propertiesFile: File) = java.util.Properties().apply {
        propertiesFile.inputStream().use { fis -> load(fis) }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 09 03:14:32 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top