Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for v1 (0.13 sec)

  1. mockwebserver/README.md

      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
      assertEquals("/v1/chat/messages/3", request3.getPath());
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    internal data class TbsCertificate(
      /** This is a integer enum. Use 0L for v1, 1L for v2, and 2L for v3. */
      val version: Long,
      val serialNumber: BigInteger,
      val signature: AlgorithmIdentifier,
      val issuer: List<List<AttributeTypeAndValue>>,
      val validity: Validity,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     */
    class Relay private constructor(
      /**
       * Read/write persistence of the upstream source and its metadata. Its layout is as follows:
       *
       *  * 16 bytes: either `OkHttp cache v1\n` if the persisted file is complete. This is another
       *    sequence of bytes if the file is incomplete and should not be used.
       *  * 8 bytes: *n*: upstream data size
       *  * 8 bytes: *m*: metadata size
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

     [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
     [kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
     [kotlin_1_6_20]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.20
     [kotlin_1_8_21]: https://github.com/JetBrains/kotlin/releases/tag/v1.8.21
     [legacy_interceptor]: https://gist.github.com/swankjesse/80135f4e03629527e723ab3bcf64be0b
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        sink().writeUtf8(value)
      }
    
      fun writeObjectIdentifier(s: String) {
        val utf8 = Buffer().writeUtf8(s)
        val v1 = utf8.readDecimalLong()
        require(utf8.readByte() == '.'.code.toByte())
        val v2 = utf8.readDecimalLong()
        writeVariableLengthLong(v1 * 40 + v2)
    
        while (!utf8.exhausted()) {
          require(utf8.readByte() == '.'.code.toByte())
          val vN = utf8.readDecimalLong()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertRequestHeader("If-None-Match", "v1") // If-None-Match in the validation request.
          .assertSentRequestAtMillis(request2SentAt, request2ReceivedAt)
          .assertReceivedResponseAtMillis(request2SentAt, request2ReceivedAt)
      }
    
      @Test
      fun conditionalCacheHit_Async() {
        server.enqueue(
          MockResponse(
            headers = headersOf("ETag", "v1"),
            body = "A",
          ),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("def", getResponse(newRequest("/")))
        val tlsVersions: Set<TlsVersion?> =
          EnumSet.of(
            TlsVersion.TLS_1_0,
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_3,
          ) // v1.2 on OpenJDK 8.
        val request1 = server.takeRequest()
        assertThat(tlsVersions).contains(request1.handshake?.tlsVersion)
        val request2 = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              signatureAlgorithm = it[1] as AlgorithmIdentifier,
              signatureValue = it[2] as BitString,
            )
          },
        )
    
      /**
       * ```
       * Version ::= INTEGER { v1(0), v2(1) } (v1, ..., v2)
       *
       * PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
       *
       * PrivateKey ::= OCTET STRING
       *
       * OneAsymmetricKey ::= SEQUENCE {
       *   version                   Version,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  9. CHANGELOG.md

    [kotlin_1_5_31]: https://github.com/JetBrains/kotlin/releases/tag/v1.5.31
    [kotlin_1_6_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.10
    [kotlin_1_6_21]: https://github.com/JetBrains/kotlin/releases/tag/v1.6.21
    [kotlin_1_7_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.7.10
    [kotlin_1_9_21]: https://github.com/JetBrains/kotlin/releases/tag/v1.9.21
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

          }
        }
    
        @Throws(IOException::class)
        private fun readCertificateList(source: BufferedSource): List<Certificate> {
          val length = readInt(source)
          if (length == -1) return emptyList() // OkHttp v1.2 used -1 to indicate null.
    
          try {
            val certificateFactory = CertificateFactory.getInstance("X.509")
            val result = ArrayList<Certificate>(length)
            for (i in 0 until length) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top