Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 953 for val (0.01 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
                return response.request
                  .newBuilder()
                  .header("Authorization", credential)
                  .build()
              }
            },
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/postpolicyform_test.go

    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Checksum-Algorithm" not specified in the policy.`,
    		},
    		{
    			name:    "unknown key XAmzChecksumCRC32 is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32), "crc32-val"),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. internal/s3select/json/record.go

    		var columnValue string
    		switch val := kv.Value.(type) {
    		case float64:
    			columnValue = jsonFloat(val)
    		case string:
    			columnValue = val
    		case bool, int64:
    			columnValue = fmt.Sprintf("%v", val)
    		case nil:
    			columnValue = ""
    		case RawJSON:
    			columnValue = string([]byte(val))
    		case []any:
    			b, err := json.Marshal(val)
    			if err != nil {
    				return err
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. 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)
Back to top