- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 590 for Reading (0.06 sec)
-
src/bufio/scan.go
// license that can be found in the LICENSE file. package bufio import ( "bytes" "errors" "io" "unicode/utf8" ) // Scanner provides a convenient interface for reading data such as // a file of newline-delimited lines of text. Successive calls to // the [Scanner.Scan] method will step through the 'tokens' of a file, skipping // the bytes between the tokens. The specification of a token is
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 23 09:06:30 UTC 2023 - 14.2K bytes - Viewed (0) -
cmd/auth-handler_test.go
if s3Error != testCase.s3Error { if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error { t.Fatalf("Test %d: Unexpected S3 error: want %d - got %d (got after reading request %s)", i, testCase.s3Error, s3Error, toAPIError(ctx, err).Code) } } } } func TestCheckAdminRequestAuthType(t *testing.T) { ctx, cancel := context.WithCancel(context.Background())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
ContentType: mime.TypeByExtension(filepath.Ext(object)), } var rc io.ReadCloser if file.UncompressedSize64 > 0 { // There may be number of header bytes before the content. // Reading 64K extra. This should more than cover name and any "extra" details. end := file.Offset + int64(file.CompressedSize64) + 64<<10 if end > zipObjInfo.Size { end = zipObjInfo.Size }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
src/bufio/bufio_test.go
// Put it back and read it again. if err = r.UnreadRune(); err != nil { t.Fatal("unexpected error on UnreadRune:", err) } r2, _, err := r.ReadRune() if err != nil { t.Fatal("unexpected error reading after unreading:", err) } if r1 != r2 { t.Fatalf("incorrect rune after unread: got %c, want %c", r1, r2) } } if got != want { t.Errorf("got %q, want %q", got, want) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
„Kontextmanager“ (Englisch „Context Manager“) sind bestimmte Python-Objekte, die Sie in einer `with`-Anweisung verwenden können. Beispielsweise können Sie <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">`with` verwenden, um eine Datei auszulesen</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
// Give up because the cache cannot be written. try { editor?.abort() } catch (_: IOException) { } } /** * Initialize the cache. This will include reading the journal files from the storage and building * up the necessary in-memory cache information. * * The initialization time may vary depending on the journal file size and the current actual
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
collectValueFromNonCancelledFuture(index, future); } } finally { /* * "null" means: There is no need to access `futures` again during * `processCompleted` because we're reading each value during a call to * handleOneInputDone. */ decrementCountAndMaybeComplete(null); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
continue; } if ( curResp.isError() ) { throw new TransportException(this.name + " error reading response to " + curReq, curResp.getException()); } if ( isDisconnected() && this.state != 5 ) { throw new TransportException(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
src/bufio/bufio.go
// Discard skips the next n bytes, returning the number of bytes discarded. // // If Discard skips fewer than n bytes, it also returns an error. // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without // reading from the underlying io.Reader. func (b *Reader) Discard(n int) (discarded int, err error) { if n < 0 { return 0, ErrNegativeCount } if n == 0 { return } b.lastByte = -1
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
### What are "Context Managers" "Context Managers" are any of those Python objects that you can use in a `with` statement. For example, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">you can use `with` to read a file</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0)