Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for fragments (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. okhttp-urlconnection/build.gradle.kts

    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"",
      "Automatic-Module-Name: okhttp3.urlconnection",
      "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 16:20:29 UTC 2023
    - 764 bytes
    - Viewed (0)
  7. 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)
  8. ci/official/utilities/extract_resultstore_links.py

                               else InvokeStatus.tests_failed)
            if verbose:
              print(f'Found failed invocation: {url.rsplit("/")[-1]}\n'
                    f'Log fragment:\n'
                    f'```\n{log_fragment}\n```\n'
                    f'{"=" * 140}')
            break
          k -= 1
    
        # A low-effort attempt to find the bazel command that triggered the
        # invocation.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. docs/pl/docs/tutorial/index.md

    Samouczek jest tak zbudowany, żeby służył jako punkt odniesienia w przyszłości.
    
    Możesz wracać i sprawdzać dokładnie to czego potrzebujesz.
    
    ## Wykonywanie kodu
    
    Wszystkie fragmenty kodu mogą być skopiowane bezpośrednio i użyte (są poprawnymi i przetestowanymi plikami).
    
    Żeby wykonać każdy przykład skopiuj kod to pliku `main.py` i uruchom `uvicorn` za pomocą:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    func (b *Reader) ReadBytes(delim byte) ([]byte, error) {
    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	buf := make([]byte, n)
    	n = 0
    	// Copy full pieces and fragment in.
    	for i := range full {
    		n += copy(buf[n:], full[i])
    	}
    	copy(buf[n:], frag)
    	return buf, err
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top