Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for its (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        return result
      }
    
      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method do
       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * sorted by this 14-bit prefix.
     *
     * We define these values:
     *
     *  * **b0b1s7**: (b0 << 14) + (b1 << 7)
     *  * **b2b3s2**: (b2 << 9) + (b3 << 2)
     *
     * b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches
     * that of the preceding section.
     *
     * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned.
     *
     * Mappings Data (4,719 bytes)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          for (Element element : document.select("a[href]")) {
            String href = element.attr("href");
            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            queue.add(link.newBuilder().fragment(null).build());
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            (adapter as DerAdapter<Any?>).toDer(writer, v)
          }
    
          override fun toString(): String = choices.joinToString(separator = " OR ")
        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
       * example, extensions type IDs specify what types to use for the corresponding values.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

    /**
     * A test from the [Web Platform URL test suite](https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json).
     *
     * Each test is a line of the file `urltestdata.txt`. The format is informally specified by its
     * JavaScript parser `urltestparser.js` with which this class attempts to be compatible.
     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      /**
       * Each OkHttpClient used to get its own instance of NullProxySelector, and because these weren't
       * equal their connections weren't pooled. That's a nasty performance bug!
       *
       * https://github.com/square/okhttp/issues/5519
       */
      @Test
    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)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          }
    
        /**
         * Set the domain pattern for this cookie. The cookie will match [domain] and all of its
         * subdomains.
         */
        fun domain(domain: String): Builder = domain(domain, false)
    
        /**
         * Set the host-only domain for this cookie. The cookie will match [domain] but none of
         * its subdomains.
         */
        fun hostOnlyDomain(domain: String): Builder = domain(domain, true)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

     */
    package okhttp3.internal.connection
    
    import okhttp3.Route
    
    /**
     * A denylist of failed routes to avoid when creating a new connection to a target address. This is
     * used so that OkHttp can learn from its mistakes: if there was a failure attempting to connect to
     * a specific IP address or proxy server, that failure is remembered and alternate routes are
     * preferred.
     */
    class RouteDatabase {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        }
    
        limit = newLimit
        constructed = header.constructed
        if (name != null) path += name
        try {
          val result = block(header)
    
          // The object processed bytes beyond its range.
          if (newLimit != -1L && byteCount > newLimit) {
            throw ProtocolException("unexpected byte count at $this")
          }
    
          return result
        } finally {
          peekedHeader = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top