- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,956 for Read (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when read caching is enabled assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when read caching is not enabledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/xl-storage-disk-id-check.go
type diskHealthWrapper struct { tracker *healthDiskCtxValue r io.Reader w io.Writer } func (d *diskHealthWrapper) Read(p []byte) (int, error) { if d.r == nil { return 0, fmt.Errorf("diskHealthWrapper: Read with no reader") } n, err := d.r.Read(p) if err == nil || err == io.EOF && n > 0 { d.tracker.logSuccess() } return n, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes) String contentNew;Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
You could use this if you want to stream pure strings, for example directly from the output of an **AI LLM** service. You could also use it to stream **large binary files**, where you stream each chunk of data as you read it, without having to read it all in memory at once. You could also stream **video** or **audio** this way, it could even be generated as you process and send it. ## A `StreamingResponse` with `yield` { #a-streamingresponse-with-yield }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
recordDelimiter []byte oneByte []byte useOneByte bool } func (rr *recordTransform) Read(p []byte) (n int, err error) { if rr.useOneByte { p[0] = rr.oneByte[0] rr.useOneByte = false n, err = rr.reader.Read(p[1:]) n++ } else { n, err = rr.reader.Read(p) } if err != nil { return n, err } // Do nothing if record-delimiter is already newline.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0) -
.github/workflows/codeql-analysis.yml
on: push: branches: [ main, master, release ] schedule: - cron: '0 5 * * *' permissions: {} jobs: CodeQL-Build: permissions: actions: read # for github/codeql-action/init to get workflow details contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/analyze to upload SARIF results runs-on: ubuntu-latest strategy:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 22:12:03 GMT 2025 - 4K bytes - Click Count (0) -
internal/grid/stream.go
"context" "errors" ) // A Stream is a two-way stream. // All responses *must* be read by the caller. // If the call is canceled through the context, // the appropriate error will be returned. type Stream struct { // responses from the remote server. // Channel will be closed after error or when remote closes. // All responses *must* be read by the caller until either an error is returned or the channel is closed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
cmd/local-locker_test.go
} if testing.Short() && readers > 10 { continue } t.Run(fmt.Sprintf("%d-read", readers), func(t *testing.T) { l := newLocker() for range locks { var tmp [16]byte rng.Read(tmp[:]) res := []string{hex.EncodeToString(tmp[:])} for range readers { rng.Read(tmp[:]) ok, err := l.RLock(t.Context(), dsync.LockArgs{ UID: uuid.NewString(),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
val body = body("") val bytes = body.byteStream() assertThat(bytes.read()).isEqualTo(-1) } @Test fun byteStreamSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.byteStream() assertThat(bytes.read()).isEqualTo(0xef) assertThat(bytes.read()).isEqualTo(0xbb) assertThat(bytes.read()).isEqualTo(0xbf)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12.4K bytes - Click Count (0) -
CONTRIBUTING.md
Please read the [Development - Contributing](https://fastapi.tiangolo.com/contributing/) guidelines in the documentation site....
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat May 25 15:47:49 GMT 2019 - 127 bytes - Click Count (0)