Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 236 for Sall (0.15 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
         * Reads all stories in the folders provided, asserts if no story found.
         */
        @JvmStatic
        protected fun createStories(interopTests: Array<String>): List<Any> {
          if (interopTests.isEmpty()) return listOf<Any>(Story.MISSING)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        if (!string.requiresEncode(pos, limit)) {
          result.writeUtf8(string, pos, limit)
          return true
        }
    
        result.write(PREFIX)
    
        val input = string.codePoints(pos, limit)
    
        // Copy all the basic code points to the output.
        var b = 0
        for (codePoint in input) {
          if (codePoint < INITIAL_N) {
            result.writeByte(codePoint)
            b++
          }
        }
    
    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)
  3. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * server's hostname is sent to the proxy.
     *
     * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may
     * prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407
     * Proxy Authentication Required` response that has a `Proxy-Authenticate: OkHttp-Preemptive`
     * challenge. The proxy authenticator may return either an authenticated request, or null to
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

      fun connectionCount(): Int = delegate.connectionCount()
    
      internal val connectionListener: ConnectionListener
        get() = delegate.connectionListener
    
      /** Close and remove all idle connections in the pool. */
      fun evictAll() {
        delegate.evictAll()
      }
    
      /**
       * Sets a policy that applies to [address].
       * Overwrites any existing policy for that address.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        require(length < bytesOut.size - lastFrame.start)
    
        // Move everything from bytesOut into a new buffer.
        val fullBuffer = Buffer()
        bytesOut.read(fullBuffer, bytesOut.size)
    
        // Copy back all but what we're truncating.
        fullBuffer.read(bytesOut, lastFrame.start + length)
        outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true))
        return writer
      }
    
      fun takeFrame(): InFrame = inFrames.take()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class WebSocketWriterTest {
      private val data = Buffer()
      private val random = Random(0)
    
      /**
       * Check all data as verified inside of the test. We do this in an AfterEachCallback so that
       * exceptions thrown from the test do not cause this check to fail.
       */
      @RegisterExtension
      val noDataLeftBehind =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

      }
    
      open fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
        return try {
          // Attempt to get the trust manager from an OpenJDK socket factory. We attempt this on all
          // platforms in order to support Robolectric, which mixes classes from both Android and the
          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  9. gradle/libs.versions.toml

    openjsse = "org.openjsse:openjsse:1.1.14"
    playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.0.1"
    robolectric-android = "org.robolectric:android-all:14-robolectric-10818077"
    robolectric = "org.robolectric:robolectric:4.12.1"
    signature-android-apilevel21 = "net.sf.androidscents.signature:android-api-level-21:5.0.1_r2"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        // We've successfully read a group. Assign its value to our byte array.
        address[b++] = (value.ushr(8) and 0xff).toByte()
        address[b++] = (value and 0xff).toByte()
      }
    
      // All done. If compression happened, we need to move bytes to the right place in the
      // address. Here's a sample:
      //
      //      input: "1111:2222:3333::7777:8888"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top