Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 508 for eval (0.02 sec)

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

        ) {
          if (random != null) {
            val sslSocket = connection.socket() as SSLSocket
            val session = sslSocket.session
    
            val masterSecretHex =
              session.masterSecret
                ?.encoded
                ?.toByteString()
                ?.hex()
    
            if (masterSecretHex != null) {
              val keyLog = "CLIENT_RANDOM $random $masterSecretHex"
    
              if (verbose) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      public val failHandshake: Boolean
      public val onRequestStart: SocketEffect?
      public val doNotReadRequestBody: Boolean
      public val onRequestBody: SocketEffect?
      public val onResponseStart: SocketEffect?
      public val onResponseBody: SocketEffect?
      public val onResponseEnd: SocketEffect?
      public val shutdownServer: Boolean
    
      public val headersDelayNanos: Long
      public val bodyDelayNanos: Long
      public val trailersDelayNanos: Long
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        //     timeout is hit we like to tear down the whole stream.
    
        private const val SOURCE_UPSTREAM = 1
        private const val SOURCE_FILE = 2
    
        @JvmField val PREFIX_CLEAN = "OkHttp cache v1\n".encodeUtf8()
    
        @JvmField val PREFIX_DIRTY = "OkHttp DIRTY :(\n".encodeUtf8()
        private const val FILE_HEADER_SIZE = 32L
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

      val npnProtocols: List<String>,
      val platform: String?,
      val requiresSha2: Boolean,
      val signatureAlgorithms: List<Int>,
      val suiteIds: List<Int>,
      val suiteNames: List<String>,
      val supportsCompression: Boolean,
      val supportsNpn: Boolean,
      val supportsRi: Boolean,
      val supportsSni: Boolean,
      val supportsStapling: Boolean,
      val supportsTickets: Boolean,
      val userAgent: String?,
      val version: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      val server1 = MockWebServer()
    
      @StartStop
      val server2 = MockWebServer()
    
      private var listener = RecordingEventListener()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      val dns = FakeDns()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        }
    
        // https://github.com/bcgit/bc-java/issues/1160
        val isBouncyCastle = keyStore.provider.name == "BC"
        val algorithm = if (isBouncyCastle) "PKIX" else KeyManagerFactory.getDefaultAlgorithm()
    
        val factory = KeyManagerFactory.getInstance(algorithm)
        factory.init(keyStore, password)
        val result = factory.keyManagers!!
        check(result.size == 1 && result[0] is X509KeyManager) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          var pos = cookiePairEnd + 1
          val limit = setCookie.length
          while (pos < limit) {
            val attributePairEnd = setCookie.delimiterOffset(';', pos, limit)
    
            val attributeEqualsSign = setCookie.delimiterOffset('=', pos, attributePairEnd)
            val attributeName = setCookie.trimSubstring(pos, attributeEqualsSign)
            val attributeValue =
              if (attributeEqualsSign < attributePairEnd) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

                  val a1024x1024 = "a".repeat(1024 * 1024)
                  repeat(100) {
                    sink.writeUtf8(a1024x1024)
                  }
                }
              },
            ).build()
        val buffer = Buffer()
        multipartBody.writeTo(buffer)
    
        val multipartReader = MultipartReader(buffer, "foo")
        val onlyPart = multipartReader.nextPart()!!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Hexdump.java

         */
        public static void toHexChars(int val, final char dst[], final int dstIndex, int size) {
            while (size > 0) {
                final int i = dstIndex + size - 1;
                if (i < dst.length) {
                    dst[i] = HEX_DIGITS[val & 0x000F];
                }
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

      private val organizationName = "2.5.4.10"
      private val businessCategory = "2.5.4.15"
      private val subjectKeyIdentifier = "2.5.29.14"
      private val keyUsage = "2.5.29.15"
      private val crlDistributionPoints = "2.5.29.31"
      private val certificatePolicies = "2.5.29.32"
      private val authorityKeyIdentifier = "2.5.29.35"
      private val extendedKeyUsage = "2.5.29.37"
    
      @Test
      fun `decode simple certificate`() {
        val certificateBase64 =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top