Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 800 for eval (1.25 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    import okio.FileNotFoundException
    import okio.FileSystem
    import okio.IOException
    import okio.Options
    import okio.Path
    import okio.use
    
    @JvmField
    internal val EMPTY_BYTE_ARRAY: ByteArray = ByteArray(0)
    
    /** Byte order marks. */
    internal val UNICODE_BOMS =
      Options.of(
        // UTF-8.
        "efbbbf".decodeHex(),
        // UTF-16BE.
        "feff".decodeHex(),
        // UTF-32LE.
        "fffe0000".decodeHex(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

        return object : ForwardingSource(source) {
          @Throws(IOException::class)
          override fun read(
            sink: Buffer,
            byteCount: Long,
          ): Long {
            val buffer = Buffer()
            val read = delegate.read(buffer, byteCount)
            if (read != -1L) {
              sink.write(buffer.readByteString().toAsciiUppercase())
            }
            return read
          }
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

      callFactory: Call.Factory,
    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit
          .Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

    import java.util.jar.JarFile
    
    
    data class PluginEntry(val pluginId: String, val implementationClass: String)
    
    
    fun pluginEntriesFrom(jar: File): List<PluginEntry> = try {
        JarFile(jar, false).use { jarFile ->
            jarFile.entries().asSequence().filter {
                isGradlePluginPropertiesFile(it)
            }.map { pluginEntry ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

    import me.champeau.gradle.japicmp.JapicmpTask
    
    if (BuildEnvironment.isCiServer && project.name != "gradle-kotlin-dsl-accessors") {
        val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>()
        project.gradle.taskGraph.whenReady {
            val allTasks = ******@****.***ks
            val taskPathToReports = allTasks.associate { it.path to it.customReports() + it.attachedReportLocations() }.filter { it.value.isNotEmpty() }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild.start-scripts.gradle.kts

    import gradlebuild.configureAsRuntimeJarClasspath
    
    plugins {
        java
    }
    
    val agentsClasspath = configurations.dependencyScope("agentsClasspath")
    val resolveAgentsClasspath = configurations.resolvable("resolveAgentsClasspath") {
        extendsFrom(agentsClasspath.get())
        configureAsRuntimeJarClasspath(objects)
    }
    
    val startScripts = tasks.register<GradleStartScriptGenerator>("startScripts") {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 02 12:28:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        pin: String,
      ) {
        /** A hostname like `example.com` or a pattern like `*.example.com` (canonical form). */
        val pattern: String
    
        /** Either `sha1` or `sha256`. */
        val hashAlgorithm: String
    
        /** The hash of the pinned certificate using [hashAlgorithm]. */
        val hash: ByteString
    
        init {
          require(
            (pattern.startsWith("*.") && pattern.indexOf("*", 1) == -1) ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (1)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts

     * Team City.
     */
    
    val testFilesCleanup = extensions.create<TestFileCleanUpExtension>("testFilesCleanup").apply {
        reportOnly.convention(false)
    }
    
    if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") {
        rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java)
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

        ) : DelegatingSSLSocketFactory(delegate) {
          override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
              val parameters = sslSocket.sslParameters
              val sni = parameters.serverNames
              Log.d("CustomSSLSocketFactory", "old SNI: $sni")
              parameters.serverNames = mutableListOf<SNIServerName>(SNIHostName("cloudflare-dns.com"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        })
    
    class FlakyTestQuarantine(
        model: CIBuildModel,
        stage: Stage,
        testCoverage: TestCoverage,
    ) : OsAwareBaseGradleBuildType(os = testCoverage.os, stage = stage, init = {
            val os = testCoverage.os
            val arch = testCoverage.arch
            id("${model.projectId}_FlakyQuarantine_${testCoverage.asId(model)}")
            name = "Flaky Test Quarantine - ${testCoverage.asName()}"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top