Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 889 for Eval (0.05 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

            getOnly = false,
          )
        runBatch(dnsProviders, names)
        val dnsCache =
          Cache(
            directory = File("./target/TestDohMain.cache.${System.currentTimeMillis()}"),
            maxSize = 10L * 1024 * 1024,
          )
        println("Bad targets\n***********\n")
        val url = "https://dns.cloudflare.com/.not-so-well-known/run-dmc-query".toHttpUrl()
        val badProviders =
          listOf(
            DnsOverHttps.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFilesCleanupBuildServiceRootExtension.kt

     * to the build service.
     */
    interface TestFilesCleanupBuildServiceRootExtension {
        val projectStates: MapProperty<String, TestFilesCleanupProjectState>
    
        /**
         * Key is the path of a task, value is the possible report dirs it generates.
         */
        val taskPathToReports: MapProperty<String, List<File>>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 22 08:53:41 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

                  connection: Connection,
                ) {
                  val sslSocket = connection.socket() as SSLSocket
                  println("Requested " + sslSocket.sslParameters.applicationProtocols.joinToString())
                  println("Negotiated " + sslSocket.applicationProtocol)
                }
              },
            )
            .build()
    
        val request =
          Request.Builder()
            .url("https://www.google.com")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

     * yyaoEufLKVXhrTQhRfodTeigi4RX
     * -----END CERTIFICATE-----
     * ```
     */
    fun String.decodeCertificatePem(): X509Certificate {
      try {
        val certificateFactory = CertificateFactory.getInstance("X.509")
        val certificates =
          certificateFactory
            .generateCertificates(
              Buffer().writeUtf8(this).inputStream(),
            )
    
        return certificates.single() as X509Certificate
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Credentials.kt

      @JvmStatic @JvmOverloads
      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
        val usernameAndPassword = "$username:$password"
        val encoded = usernameAndPassword.encode(charset).base64()
        return "Basic $encoded"
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/JvmCategory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    enum class JvmCategory(
        override val vendor: JvmVendor,
        override val version: JvmVersion
    ) : Jvm {
        MIN_VERSION(JvmVendor.oracle, JvmVersion.java8),
        // Oracle doesn't provide zip JDK distribution for Windows anymore, we avoid using it
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 25 15:57:12 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt

            applyDefaultSettings()
    
            dependencies {
                snapshotDependencies(functionalTestProject.functionalTests)
            }
        }) {
        val testCoverage: TestCoverage = functionalTestProject.testCoverage
    
        override val failStage: Boolean
            get() = testCoverage.failStage
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

    /**
     * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server.
     *
     * Returns hardcoded results for the known host.
     */
    internal class BootstrapDns(
      private val dnsHostname: String,
      private val dnsServers: List<InetAddress>,
    ) : Dns {
      @Throws(UnknownHostException::class)
      override fun lookup(hostname: String): List<InetAddress> {
        if (this.dnsHostname != hostname) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

     * multiple operators. Note that although the underlying [FileChannel] may be shared,
     * each [FileOperator] should not be.
     */
    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
      /** Write [byteCount] bytes from [source] to the file at [pos]. */
      @Throws(IOException::class)
      fun write(
        pos: Long,
        source: Buffer,
        byteCount: Long,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt

    import model.CIBuildModel
    import model.Stage
    
    class TestPerformanceTest(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage, init = {
        val os = Os.LINUX
        val buildTypeThis = this
        val testProject = "smallJavaMultiProject"
    
        fun BuildSteps.gradleStep(tasks: List<String>) {
            gradleWrapper {
                name = "GRADLE_RUNNER"
                gradleParams = (
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top