Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for fragment (0.09 sec)

  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
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            byte[] out = this.transportContext.getBufferCache().getBuffer();
            try {
                NdrBuffer buf = encodeMessage(msg, out);
                int off = sendFragments(msg, out, buf);
    
                // last fragment gets written (possibly) using transact/call semantics
                int have = doSendReceiveFragment(out, off, msg.length, inB);
    
                if ( have != 0 ) {
                    NdrBuffer hdrBuf = new NdrBuffer(inB, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  4. 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);
            }
        }
        public void close() throws IOException {
            state = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. 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?)
     */
    class CLIManagerDocumentationTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      |I|S|S|S| CODE  |  |A|             |
      |N|V|V|V|       |  |S|             |
      | |1|2|3|       |  |K|             |
      +-+-+-+-+-------+  +-+-------------+
       */
    
      /** Byte 0 flag for whether this is the final fragment in a message. */
      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

            .escapeForUri(
              '%'.code,
              '\\'.code,
              '^'.code,
              '`'.code,
              '{'.code,
              '|'.code,
              '}'.code,
            )
    
        Component.FRAGMENT ->
          UrlComponentEncodingTesterJvmPlatform()
            .escapeForUri(
              '%'.code,
              ' '.code,
              '"'.code,
              '#'.code,
              '<'.code,
              '>'.code,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. 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.
            queue.add(link.newBuilder().fragment(null).build());
          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/main/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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top