Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 366 for comparison (0.07 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    internal class DerTest {
      @Test fun `decode tag and length`() {
        val buffer =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.CompressionInterceptor.DecompressionAlgorithm
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.BufferedSource
    import okio.GzipSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        assertFalse(adapter.matchesSocket(sslSocket))
    
        adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1))
        // not connected
        assertNull(adapter.getSelectedProtocol(sslSocket))
      }
    
      companion object {
        @JvmStatic
        @Parameters(name = "{0}")
        fun data(): Collection<SocketAdapter> =
          listOfNotNull(
            DeferredSocketAdapter(ConscryptSocketAdapter.factory),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
            append("HTTP/1.1")
          }
          append(' ').append(code)
          append(' ').append(message)
        }
    
      companion object {
        fun get(response: Response): StatusLine = StatusLine(response.protocol, response.code, response.message)
    
        @Throws(IOException::class)
        fun parse(statusLine: String): StatusLine {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

     * limitations under the License.
     */
    package okhttp3.dnsoverhttps
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    
    /**
     * Temporary registry of known DNS over HTTPS providers.
     *
     * https://github.com/curl/curl/wiki/DNS-over-HTTPS
     */
    object DohProviders {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

     * limitations under the License.
     */
    package okhttp3.dnsoverhttps
    
    import java.io.File
    import java.net.UnknownHostException
    import java.security.Security
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.dnsoverhttps.DohProviders.providers
    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.12.md

    * fix pod stuck issue due to corrupt mnt point in flexvol plugin, call Unmount if PathExists returns any error ([#75234](https://github.com/kubernetes/kubernetes/pull/75234), [@andyzhangx](https://github.com/andyzhangx))
    * Fix a string comparison bug in IPVS graceful termination where UDP real servers are not deleted. ([#78999](https://github.com/kubernetes/kubernetes/pull/78999), [@andrewsykim](https://github.com/andrewsykim))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          when {
            isBouncyCastle() -> localhostHandshakeCertificatesWithRsa2048
            else -> localhost()
          }
    
        val isAndroid: Boolean
          get() = Platform.Companion.isAndroid
    
        companion object {
          const val PROPERTY_NAME = "okhttp.platform"
          const val CONSCRYPT_PROPERTY = "conscrypt"
          const val CORRETTO_PROPERTY = "corretto"
          const val JDK9_PROPERTY = "jdk9"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
Back to top