Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 780 for reader_ (0.1 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        )
      }
    
      @Test fun pushPromise() {
        val expectedPromisedStreamId = 11
        val pushPromise =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/"),
          )
    
        // Write the push promise frame, specifying the associated stream ID.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    
    /** HTTP header: the name is an ASCII string, but the value can be UTF-8. */
    data class Header(
      /** Name in case-insensitive ASCII encoding. */
      @JvmField val name: ByteString,
      /** Value in UTF-8 encoding. */
      @JvmField val value: ByteString,
    ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            addDocument(indexName, client, num);
    
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(1);
            reader.setLimitDocNumPercentage("1%");
            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/erasure-decode.go

    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    	}
    }
    
    // Returns if buf can be erasure decoded.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/header.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <la:form action="/search" method="get" styleId="searchForm"
    	role="search">
    	${fe:facetForm()}${fe:geoForm()}
    	<header>
    		<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
    			<div id="content" class="container">
    				<la:link styleClass="navbar-brand d-inline-flex" href="/">
    					<img src="${fe:url('/images/logo-head.png')}"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 24 03:00:28 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/orig/view/header.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <la:form action="/search" method="get" styleId="searchForm"
    	role="search">
    	${fe:facetForm()}${fe:geoForm()}
    	<header>
    		<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
    			<div id="content" class="container">
    				<la:link styleClass="navbar-brand d-inline-flex" href="/">
    					<img src="${fe:url('/images/logo-head.png')}"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 24 03:00:28 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			for i, hdr := range hdrs {
    				if i >= len(v.headers) {
    					t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr)
    				}
    				if !reflect.DeepEqual(*hdr, *v.headers[i]) {
    					t.Fatalf("entry %d: incorrect header:\ngot  %+v\nwant %+v", i, *hdr, *v.headers[i])
    				}
    			}
    			if len(hdrs) != len(v.headers) {
    				t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    			}
    
    			for i, sum := range chksums {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    			bufio.NewReaderSize(readers[0], 16),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    			nil,
    			nil,
    		},
    		// Test - 3 - line too long bigger than 4k+1
    		{
    			bufio.NewReader(readers[2]),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      }
    
      /** Accept headers from the network and store them until the client calls [takeHeaders]. */
      fun receiveHeaders(
        headers: Headers,
        inFinished: Boolean,
      ) {
        lock.assertNotHeld()
    
        val open: Boolean
        this.withLock {
          if (!hasResponseHeaders ||
            headers[Header.RESPONSE_STATUS_UTF8] != null ||
            headers[Header.TARGET_METHOD_UTF8] != null
          ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // NewReaderSize returns a new [Reader] whose buffer has at least the specified
    // size. If the argument io.Reader is already a [Reader] with large enough
    // size, it returns the underlying [Reader].
    func NewReaderSize(rd io.Reader, size int) *Reader {
    	// Is it already a Reader?
    	b, ok := rd.(*Reader)
    	if ok && len(b.buf) >= size {
    		return b
    	}
    	r := new(Reader)
    	r.reset(make([]byte, max(size, minReadBufferSize)), rd)
    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