Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,574 for Read (0.04 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertEquals(10, ticker.read());
        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 6.5K bytes
    - Viewed (0)
  2. fastapi/routing.py

                    WebSocket.
    
                    Read more about it in the
                    [FastAPI docs for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
                    """
                ),
            ] = None,
        ) -> Callable[[DecoratedCallable], DecoratedCallable]:
            """
            Decorate a WebSocket function.
    
            Read more about it in the
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-03-06 12:18
    - 172.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertEquals(10, ticker.read());
        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 6.3K bytes
    - Viewed (0)
  4. internal/deadlineconn/deadlineconn_test.go

    		defer deadlineconn.Close()
    
    		// Read a line
    		b := make([]byte, 12)
    		_, terr = deadlineconn.Read(b)
    		if terr != nil {
    			t.Errorf("failed to read from client. %v", terr)
    			return
    		}
    		received := string(b)
    		if received != "message one\n" {
    			t.Errorf(`server: expected: "message one\n", got: %v`, received)
    			return
    		}
    
    		// Wait for more than read timeout to simulate processing.
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-11-11 17:15
    - 4.8K bytes
    - Viewed (0)
  5. 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);
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-19 18:03
    - 6.6K bytes
    - Viewed (0)
  6. fastapi/applications.py

                                    ## Items
    
                                    You can **read items**.
    
                                    ## Users
    
                                    You will be able to:
    
                                    * **Create users** (_not implemented_).
                                    * **Read users** (_not implemented_).
    
                                    """
                    )
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-08-17 04:52
    - 172.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          }
    
          val read = super.read(sink, minOf(byteCount, bytesRemainingInChunk))
          if (read == -1L) {
            carrier.noNewExchanges() // The server didn't supply the promised chunk length.
            val e = ProtocolException("unexpected end of stream")
            responseBodyComplete()
            throw e
          }
          bytesRemainingInChunk -= read
          return read
        }
    
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-05-27 14:51
    - 16.2K bytes
    - Viewed (0)
  8. .github/workflows/contributor-pr.yml

                    core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -DcacheNode=us --scan')
                } else {
                    core.setOutput('sys-prop-args', '-DcacheNode=us')
                }
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
            with:
              cache-read-only: ${{ github.ref != 'refs/heads/master' }}
    Registered: 2025-05-28 11:36
    - Last Modified: 2025-03-11 09:47
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            fp = 0L;
        }
    
        public int read() throws SmbException {
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
        public int read( byte b[] ) throws SmbException {
            return read( b, 0, b.length );
        }
        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 10.9K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    ## Filter Data - Security
    
    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Documentation Tags - OpenAPI
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2023-08-19 19:54
    - 2.3K bytes
    - Viewed (0)
Back to top