Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for option (0.17 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import com.github.ajalt.clikt.core.CliktCommand
    import com.github.ajalt.clikt.parameters.arguments.argument
    import com.github.ajalt.clikt.parameters.options.default
    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    import java.security.cert.X509Certificate
    import java.util.Properties
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
        val javaNetUrl = URL("mailto:******@****.***")
        assertThat(javaNetUrl.toHttpUrlOrNull()).isNull()
      }
    
      @Test
      fun fromUri() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      ) {
        if (data.size != 0L) {
          lastId = id
          data.skip(1L) // Leading newline.
          callback.onEvent(id, type, data.readUtf8())
        }
      }
    
      companion object {
        val options =
          Options.of(
            // 0
            "\r\n".encodeUtf8(),
            // 1
            "\r".encodeUtf8(),
            // 2
            "\n".encodeUtf8(),
            // 3
            "data: ".encodeUtf8(),
            // 4
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          }
        }
    
        return result
      }
    }
    
    private val optionsDelimiter =
      Options.of(
        // 0.
        ".".encodeUtf8(),
        // 1.
        " ".encodeUtf8(),
        // 2.
        ";".encodeUtf8(),
        // 3.
        "#".encodeUtf8(),
        // 4.
        "\n".encodeUtf8(),
      )
    
    private val optionsDot =
      Options.of(
        // 0.
        ".".encodeUtf8(),
      )
    
    private const val DELIMITER_DOT = 0
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. samples/tlssurvey/build.gradle.kts

      implementation(libs.squareup.moshi)
      implementation(libs.squareup.moshi.kotlin)
    
      ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.1")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 08 02:48:17 GMT 2024
    - 617 bytes
    - Viewed (0)
  6. android-test-app/src/main/AndroidManifest.xml

        android:supportsRtl="true"
        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
          android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
    
            <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
        </activity>
      </application>
    
    XML
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 683 bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  8. .junit.run/Not Slow.run.xml

        <useClassPathOnly />
        <option name="MAIN_CLASS_NAME" value="" />
        <option name="METHOD_NAME" value="" />
        <option name="TEST_OBJECT" value="tags" />
        <option name="VM_PARAMETERS" value="-ea -Djunit.jupiter.extensions.autodetection.enabled=true" />
        <option name="PARAMETERS" value="" />
        <option name="TEST_SEARCH_SCOPE">
          <value defaultName="wholeProject" />
        </option>
    XML
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Nov 21 13:28:45 GMT 2020
    - 730 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              }
              .get(this) as? SecretKey
    
        val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex()
    
        fun register() {
          // Enable JUL logging for SSL events, must be activated early or via -D option.
          System.setProperty("javax.net.debug", "")
          logger =
            Logger.getLogger("javax.net.ssl")
              .apply {
                level = Level.FINEST
                useParentHandlers = false
              }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  10. native-image-tests/build.gradle.kts

        )
      }
    }
    
    graal {
      mainClass("okhttp3.RunTestsKt")
      outputName("ConsoleLauncher")
      graalVersion(libs.versions.graalvm.get())
      javaVersion("11")
    
      option("--no-fallback")
      option("--report-unsupported-elements-at-runtime")
      option("-H:+ReportExceptionStackTraces")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top