Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for RFC (0.14 sec)

  1. okhttp/src/test/java/okhttp3/SocksProxy.kt

    import okio.buffer
    import okio.sink
    import okio.source
    import okio.use
    
    /**
     * A limited implementation of SOCKS Protocol Version 5, intended to be similar to MockWebServer.
     * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt).
     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      private var serverSocket: ServerSocket? = null
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        address[b++] = value.toByte()
      }
    
      // Check for too few groups. We wanted exactly four.
      return b == addressOffset + 4
    }
    
    /** Encodes an IPv6 address in canonical form according to RFC 5952. */
    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
      // A run must be longer than one group (section 4.2.2).
    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)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
        testEncodingWithSeparators(base64(), "foo", "Zm9v");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import static com.google.common.base.Charsets.UTF_8;
    
    import java.util.Arrays;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * concurrently, returning once any connection connects successfully.
         *
         * This implements Happy Eyeballs ([RFC 6555][rfc_6555]), balancing connect latency vs.
         * wasted resources.
         *
         * Defaults to enabled, call with [fastFallback] = false to revert to 4.x behaviour.
         *
         * [rfc_6555]: https://datatracker.ietf.org/doc/html/rfc6555
         */
        fun fastFallback(fastFallback: Boolean) =
          apply {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

      private val inflater =
        Inflater(
          // nowrap (omits zlib header):
          true,
        )
    
      private val inflaterSource = InflaterSource(deflatedBytes, inflater)
    
      /** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */
      @Throws(IOException::class)
      fun inflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          inflater.reset()
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/UrlEscapersTest.java

        assertSame(e, urlFormParameterEscaper());
        assertBasicUrlEscaper(e);
    
        /*
         * Specified as safe by RFC 2396 but not by java.net.URLEncoder. These tests will start failing
         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  8. CHANGELOG.md

     *  Upgrade: [Okio 3.7.0][okio_3_7_0].
    
    
    ## Version 5.0.0-alpha.11
    
    _2022-12-24_
    
     *  New: Enable fast fallback by default. It's our implementation of Happy Eyeballs,
        [RFC 8305][rfc_8305]. Disable with `OkHttpClient.Builder.fastFallback(false)`.
     *  Fix: Don't log response bodies for server-sent events.
     *  Fix: Skip early hints (status code 103) responses.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          Deflater.DEFAULT_COMPRESSION,
          // nowrap (omits zlib header):
          true,
        )
    
      private val deflaterSink = DeflaterSink(deflatedBytes, deflater)
    
      /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */
      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // Multiple endpoints which use the same hostname should be considered
      // fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS
      // Label (RFC 1123) validation.
      // +optional
      optional string hostname = 3;
    
      // targetRef is a reference to a Kubernetes object that represents this
      // endpoint.
      // +optional
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top