Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 863 for Val (0.03 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/extension/TestFilesCleanupProjectState.kt

     * It collects states to be used in the build service for each project.
     */
    interface TestFilesCleanupProjectState : TestFileCleanUpExtension {
        val projectPath: Property<String>
        val projectBuildDir: DirectoryProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 18 02:11:12 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

    /**
     * A connection user that is a specific [RealCall].
     */
    internal class CallConnectionUser(
      private val call: RealCall,
      private val poolConnectionListener: ConnectionListener,
      private val chain: RealInterceptorChain,
    ) : ConnectionUser {
      private val eventListener: EventListener
        get() = call.eventListener
    
      override fun addPlanToCancel(connectPlan: ConnectPlan) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. .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)
  9. .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)
  10. 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)
Back to top