Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for fragmenter (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

            }
            return null;
        }
    
        @Override
        public String toString() {
            return binding.toString();
        }
    
        /**
         * Sends a DCERPC fragment to the remote endpoint
         * @param buf the buffer containing the fragment
         * @param off the offset into the buffer
         * @param length the length of data to send
         * @param isDirect whether to use direct transmission
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    	endPos := sr.pos + int64(len(b))
    	for endPos > sr.pos && err == nil {
    		var nf int // Bytes read in fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    		if sr.pos < holeStart { // In a data fragment
    			bf := b[:min(int64(len(b)), holeStart-sr.pos)]
    			nf, err = tryReadFull(sr.fr, bf)
    		} else { // In a hole fragment
    			bf := b[:min(int64(len(b)), holeEnd-sr.pos)]
    			nf, err = tryReadFull(zeroReader{}, bf)
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

        }
    
        @Nested
        @DisplayName("Constants Validation Tests")
        class ConstantsValidationTests {
    
            @Test
            @DisplayName("All fragment flags should have unique values")
            void testFragmentFlagsUniqueness() {
                // Verify that fragment flags are unique and follow bit pattern
                assertEquals(1, Integer.bitCount(DcerpcConstants.DCERPC_FIRST_FRAG), "DCERPC_FIRST_FRAG should be a single bit");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

        assertThat(url.encodedPath, "path").isEqualTo(testData.path)
        assertThat(effectiveQuery, "query").isEqualTo(testData.query)
        assertThat(effectiveFragment, "fragment").isEqualTo(testData.fragment)
      }
    
      companion object {
        private val HTTP_URL_SCHEMES = listOf("http", "https")
        private val KNOWN_FAILURES =
          listOf(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * Receives a DCERPC fragment from the remote endpoint
         * @param buf the buffer to receive the fragment data
         * @return the number of bytes received
         * @throws IOException if an I/O error occurs during reception
         */
        protected abstract int doReceiveFragment(byte[] buf) throws IOException;
    
        /**
         * Sends a DCERPC fragment and receives the response in a single operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top