Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for fragmenter (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

          inflater.inflate("f240e30300".decodeHex())
        }
      }
    
      /**
       * Test for an [EOFException] caused by mishandling of fragmented buffers in web socket
       * compression. https://github.com/square/okhttp/issues/5965
       */
      @Test fun `inflate golden value in buffer that has been fragmented`() {
        val inflater = MessageInflater(false)
        val buffer = fragmentBuffer(Buffer().write("f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex()))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      fun toJavaNetUrl() {
        val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl()
        val javaNetUrl = httpUrl.toUrl()
        assertThat(javaNetUrl.toString())
          .isEqualTo("http://username:password@host/path?query#fragment")
      }
    
      @Test
      fun toUri() {
        val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          ) {
            builder.fragment("a${value}z")
          }
    
          override operator fun get(url: HttpUrl): String {
            val fragment = url.fragment
            return fragment!!.substring(1, fragment.length - 1)
          }
        }, ;
    
        abstract fun urlString(value: String): String
    
        abstract fun encodedValue(url: HttpUrl): String
    
        abstract operator fun set(
          builder: HttpUrl.Builder,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * query as the single string, or as individual name-value parameters. With name-value parameters
     * the values are optional and names may be repeated.
     *
     * ### Fragment
     *
     * The fragment is optional: it can be null, empty, or non-empty. Unlike host, port, path, and
     * query the fragment is not sent to the webserver: it's private to the client.
     *
     * ## Encoding
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        val url =
          parse("http://host/#fragment")
            .newBuilder()
            .fragment(null)
            .build()
        assertThat(url.toString()).isEqualTo("http://host/")
        assertThat(url.fragment).isNull()
        assertThat(url.encodedFragment).isNull()
      }
    
      @Test
      fun clearEncodedFragment() {
        val url =
          parse("http://host/#fragment")
            .newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

        public static final UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860");
    
        public static final int DCERPC_FIRST_FRAG      = 0x01; /* First fragment */
        public static final int DCERPC_LAST_FRAG       = 0x02; /* Last fragment */
        public static final int DCERPC_PENDING_CANCEL  = 0x04; /* Cancel was pending at sender */
        public static final int DCERPC_RESERVED_1      = 0x08;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        public static final UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860");
    
        public static final int DCERPC_FIRST_FRAG = 0x01; /* First fragment */
        public static final int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        public static final int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        public static final int DCERPC_RESERVED_1 = 0x08;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

      var input: String? = null
      var base: String? = null
      var scheme = ""
      var username = ""
      var password: String? = null
      var host = ""
      var port = ""
      var path = ""
      var query = ""
      var fragment = ""
    
      fun expectParseFailure() = scheme.isEmpty()
    
      private operator fun set(
        name: String,
        value: String,
      ) {
        when (name) {
          "s" -> scheme = value
          "u" -> username = value
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "file://C .doc";
            assertEquals(exp, transformer.decodeUrlAsName(url, true));
    
            url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar";
            exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
        }
    
        public void test_getFileName_ok() throws Exception {
            String url, exp;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while ( have < fraglen ) {
                int r = this.handle.recv(inB, have, fraglen - have);
                if ( r == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
Back to top