Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for albers (0.24 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

              if (publicSuffixByteIndex == publicSuffixLength) break
    
              if (labels[currentLabelIndex].size == currentLabelByteIndex) {
                // We've exhausted our current label. Either there are more labels to compare, in which
                // case we expect a dot as the next character. Otherwise, we've checked all our labels.
                if (currentLabelIndex == labels.size - 1) {
                  break
                } else {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
          "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

          writeShort(0) // answerCount
          writeShort(0) // authorityResourceCount
          writeShort(0) // additional
    
          val nameBuf = Buffer()
          val labels = host.split('.').dropLastWhile { it.isEmpty() }
          for (label in labels) {
            val utf8ByteCount = label.utf8Size()
            require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
            nameBuf.writeByte(utf8ByteCount.toInt())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/question.md

    ---
    name: Question
    about: Use Stack Overflow instead
    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
        private final Pipe pipe = new Pipe(8192);
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.Sink
    import okio.Timeout
    import okio.buffer
    import okio.sink
    import okio.source
    
    /**
     * A scriptable web server. Callers supply canned responses and the server replays them upon request
     * in sequence.
     */
    @ExperimentalOkHttpApi
    class MockWebServer : Closeable {
      private val taskRunnerBackend =
        TaskRunner.RealBackend(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  7. docs/features/https.md

    ```
    Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7f2719a89e80:
        Failure in SSL library, usually a protocol error
            error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake
            failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)
        at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *
     * This class is tolerant of some I/O errors. If files are missing from the filesystem, the
     * corresponding entries will be dropped from the cache. If an error occurs while writing a cache
     * value, the edit will fail silently. Callers should handle other problems by catching
     * `IOException` and responding appropriately.
     *
     * @constructor Create a cache which will reside in [directory]. This cache is lazily initialized on
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      fun metadata(): ByteString = metadata
    
      /**
       * Returns a new source that returns the same bytes as upstream. Returns null if this relay has
       * been closed and no further sources are possible. In that case callers should retry after
       * building a new relay with [.read].
       */
      fun newSource(): Source? {
        synchronized(this@Relay) {
          if (file == null) return null
          sourceCount++
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top