Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for twitter (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

    import okio.ByteString
    
    /**
     * This class was originally composed from the following classes in
     * [Twitter Hpack][twitter_hpack].
     *
     *  * `com.twitter.hpack.HuffmanEncoder`
     *  * `com.twitter.hpack.HuffmanDecoder`
     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. docs/contribute/code_of_conduct.md

    Guidelines below.
    
    Thanks
    ------
    
    Some of the ideas and wording for the statements and guidelines above were based on work by the
    [Twitter][twitter_coc], [Ubuntu][ubuntu_coc], [GDC][gdc_coc], and [Django][django_coc] communities.
    We are thankful for their work.
    
    Reporting Guide
    ---------------
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt

    class PublicSuffixDatabaseTest {
      @RegisterExtension
      @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    
      @Test
      fun testPublicSuffixes() {
        platform.assumeNotGraalVMImage()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:33:12 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/TestTls13Request.kt

          "https://tls13.baishancloud.com/",
          "https://tls13.akamai.io/",
          "https://swifttls.org/",
          "https://www.googleapis.com/robots.txt",
          "https://graph.facebook.com/robots.txt",
          "https://api.twitter.com/robots.txt",
          "https://connect.squareup.com/robots.txt",
        )
    
      println("TLS1.3+TLS1.2")
      testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS))
    
      println("\nTLS1.3 only")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        } else {
          assertTrue(Platform.get() is AndroidPlatform)
        }
      }
    
      @Test
      fun testRequest() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://api.twitter.com/robots.txt").build()
    
        val clientCertificates =
          HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .apply {
              if (Build.VERSION.SDK_INT >= 24) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        )
      }
    
      // Example taken from twitter/hpack DecoderTest.testUnusedIndex
      @Test
      fun readIndexedHeaderFieldIndex0() {
        bytesIn.writeByte(0x80) // == Indexed - Add idx = 0
        assertFailsWith<IOException> {
          hpackReader!!.readHeaders()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("index == 0")
        }
      }
    
      // Example taken from twitter/hpack DecoderTest.testIllegalIndex
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

         */
        @JvmField val minimumConcurrentCalls: Int = 0,
        /** How long to wait to retry pre-emptive connection attempts that fail. */
        @JvmField val backoffDelayMillis: Long = 60 * 1000,
        /** How much jitter to introduce in connection retry backoff delays */
        @JvmField val backoffJitterMillis: Int = 100,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * which prints:
     *
     * ```
     * https://www.google.com/search?q=polar%20bears
     * ```
     *
     * As another example, this code prints the human-readable query parameters of a Twitter search:
     *
     * ```java
     * HttpUrl url = HttpUrl.parse("https://twitter.com/search?q=cute%20%23puppies&f=images");
     * for (int i = 0, size = url.querySize(); i < size; i++) {
     *   System.out.println(url.queryParameterName(i) + ": " + url.queryParameterValue(i));
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        val fbRequest =
          Request.Builder()
            .url("https://graph.facebook.com/robots.txt?s=fb")
            .build()
        val twitterRequest =
          Request.Builder()
            .url("https://api.twitter.com/robots.txt?s=tw")
            .build()
        val googleRequest =
          Request.Builder()
            .url("https://www.google.com/robots.txt?s=g")
            .build()
    
        try {
          for (i in 1..2) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  10. kotlin-js-store/yarn.lock

      dependencies:
        "@jridgewell/resolve-uri" "^3.0.3"
        "@jridgewell/sourcemap-codec" "^1.4.10"
    
    "@socket.io/component-emitter@~3.1.0":
      version "3.1.0"
      resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553"
      integrity sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
Back to top