Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,303 for Read (0.2 sec)

  1. tests/test_security_api_key_cookie_optional.py

                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Read Current User",
                        "operationId": "read_current_user_users_me_get",
                        "security": [{"APIKeyCookie": []}],
                    }
                }
            },
            "components": {
                "securitySchemes": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    type dirReader struct {
    	err error
    }
    
    func (r *dirReader) Read([]byte) (int, error) {
    	return 0, r.err
    }
    
    func (r *dirReader) Close() error {
    	return nil
    }
    
    type checksumReader struct {
    	rc    io.ReadCloser
    	hash  hash.Hash32
    	nread uint64 // number of bytes read so far
    	f     *File
    	desr  io.Reader // if non-nil, where to read the data descriptor
    	err   error     // sticky error
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(-1, reader.read());
        assertEquals(-1, reader.read(new char[10], 0, 10));
        assertEquals(-1, reader.read(CharBuffer.allocate(10)));
        assertEquals(0, reader.skip(10));
      }
    
      private static String readFully(CharSequenceReader reader) throws IOException {
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read()) != -1) {
          builder.append((char) read);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        assertThat(inputStream.read()).isEqualTo('D'.code)
        assertThat(inputStream.read()).isEqualTo('E'.code)
        assertThat(inputStream.read()).isEqualTo('F'.code)
        assertThat(inputStream.read()).isEqualTo(-1)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. doc/go_mem.html

        or a <i>synchronizing operation</i> such as an atomic data access,
    	a mutex operation, or a channel operation,</li>
    	<li>its location in the program,</li>
    	<li>the memory location or variable being accessed, and</li>
    	<li>the values read or written by the operation.</li>
    </ul>
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    	// check not at EOF
    	b.WriteString("abcdefghijklmnopqrstuvwxyz")
    
    	// after unsuccessful read
    	if n, err := b.Read(nil); n != 0 || err != nil {
    		t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err)
    	}
    	if err := b.UnreadByte(); err == nil {
    		t.Fatal("UnreadByte after Read(nil): got no error")
    	}
    
    	// after successful read
    	if _, err := b.ReadBytes('m'); err != nil {
    		t.Fatalf("ReadBytes: %v", err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
      public static long exhaust(Readable readable) throws IOException {
        long total = 0;
        long read;
        CharBuffer buf = createBuffer();
        while ((read = readable.read(buf)) != -1) {
          total += read;
          Java8Compatibility.clear(buf);
        }
        return total;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

     *       block indefinitely or fail if the source creates an infinite stream.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> stream will consume or otherwise alter the
     *       bytes of the source as they are read from it. A source that provides such streams will not
     *       be reusable, and operations that read from the stream (including {@link #size()}, in some
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  9. cmd/streaming-v4-unsigned.go

    	"bytes"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    )
    
    // newUnsignedV4ChunkedReader returns a new s3UnsignedChunkedReader that translates the data read from r
    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  10. tests/test_tutorial/test_response_model/test_tutorial005.py

    from docs_src.response_model.tutorial005 import app
    
    client = TestClient(app)
    
    
    def test_read_item_name():
        response = client.get("/items/bar/name")
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Bar", "description": "The Bar fighters"}
    
    
    def test_read_item_public_data():
        response = client.get("/items/bar/public")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top