Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 124 for fragment (0.05 seconds)

  1. 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
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. tests/test_sse.py

    
    @app.get("/items/stream-raw", response_class=EventSourceResponse)
    async def sse_items_raw():
        yield ServerSentEvent(raw_data="plain text without quotes")
        yield ServerSentEvent(raw_data="<div>html fragment</div>", event="html")
        yield ServerSentEvent(raw_data="cpu,87.3,1709145600", event="csv")
    
    
    router = APIRouter()
    
    
    @router.get("/events", response_class=EventSourceResponse)
    async def stream_events():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

    import java.util.Comparator;
    import java.util.List;
    
    import org.apache.commons.cli.Option;
    import org.junit.jupiter.api.Test;
    
    import static java.util.Objects.nonNull;
    
    /**
     * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code
     * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?)
     */
    @Deprecated
    class CLIManagerDocumentationTest {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val queryParameter: String? = httpUrl.queryParameter("")
        val queryParameterNames: Set<String> = httpUrl.queryParameterNames()
        val encodedFragment: String? = httpUrl.encodedFragment()
        val fragment: String? = httpUrl.fragment()
        val getFromUrl: HttpUrl? = HttpUrl.get(URL(""))
        val getFromUri: HttpUrl? = HttpUrl.get(URI(""))
        val parse: HttpUrl? = HttpUrl.parse("")
      }
    
      @Test @Disabled
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv) {
                throw new IOException("Unexpected fragment length: " + length);
            }
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
        }
    
        @Override
        public void close() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

            HttpUrl link = response.request().url().resolve(href);
            if (link == null) continue; // URL is either invalid or its scheme isn't http/https.
            HttpUrl linkWithoutFragment = link.newBuilder().fragment(null).build();
            if (!queue.offer(linkWithoutFragment)) break; // Queue is full.
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

     * **Headers**: size
     * **HeldCertificate**: certificate, keyPair
     * **HttpLoggingInterceptor**: level
     * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery,
       encodedUsername, fragment, host, password, pathSegments, pathSize, port, query,
       queryParameterNames, querySize, scheme, username
     * **MockResponse**: headers, http2ErrorCode, socketPolicy, status, trailers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  8. src/main/resources/fess_config.properties

    query.highlight.boundary.position.detect=true
    # Type for text fragment in query highlighting.
    query.highlight.text.fragment.type=query
    # Size for text fragment in query highlighting.
    query.highlight.text.fragment.size=3
    # Prefix length for text fragment in query highlighting.
    query.highlight.text.fragment.prefix.length=5
    # Suffix length for text fragment in query highlighting.
    query.highlight.text.fragment.suffix.length=5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

       */
      @get:JvmName("proxySelector") val proxySelector: ProxySelector,
    ) {
      /**
       * Returns a URL with the hostname and port of the origin server. The path, query, and fragment of
       * this URL are always empty, since they are not significant for planning a route.
       */
      @get:JvmName("url")
      val url: HttpUrl =
        HttpUrl
          .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test factory methods with special characters in URL ##
    
            // ## Act ##
            final String specialUrl = "http://example.com/path?query=value&param=123#fragment";
            final CurlRequest getRequest = Curl.get(specialUrl);
            final CurlRequest postRequest = Curl.post(specialUrl);
            final CurlRequest putRequest = Curl.put(specialUrl);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top