- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 509 for reading9 (0.09 seconds)
-
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Los "Context Managers" son aquellos objetos de Python que puedes usar en un `with` statement. Por ejemplo, [puedes usar `with` para leer un archivo](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` Internamente, `open("./somefile.txt")` crea un objeto llamado "Context Manager".
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.3K bytes - Click Count (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(t.Context()) defer cancel()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15.4K bytes - Click Count (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 := min(file.Offset+int64(file.CompressedSize64)+64<<10, zipObjInfo.Size) rs := &HTTPRangeSpec{Start: file.Offset, End: end}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.8K bytes - Click Count (0) -
cmd/utils.go
if err != nil { return "", fmt.Errorf("request err: %v", err) } // { // bodyBuf, err := io.ReadAll(resp.Body) // if err != nil { // return "", fmt.Errorf("Error reading body: %v", err) // } // fmt.Printf("bodyBuf (for LDAP login page): %s\n", string(bodyBuf)) // } // Fill the login form with our test creds: // fmt.Printf("login form url: %s\n", lastReq.URL.String())Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* must be between 1 and [Integer.MAX_VALUE] when converted to milliseconds. * * The call timeout spans the entire call: resolving DNS, connecting, writing the request body, * server processing, and reading the response body. If the call requires redirects or retries * all must complete within one timeout period. * * The default value is 0 which imposes no timeout. */ fun callTimeout(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
docs/ja/docs/advanced/settings.md
{* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *} 依存関係オーバーライドでは、新しい `Settings` オブジェクトを作る際に `admin_email` に新しい値を設定し、その新しいオブジェクトを返します。 そして、それが使用されていることをテストできます。 ## `.env` ファイルの読み込み { #reading-a-env-file } 変更が多くなりそうな設定が多数ある場合、環境ごとにファイルに入れて、環境変数としてそこから読み込むと便利なことがあります。 このプラクティスは十分に一般的で名前もあり、これらの環境変数は通常 `.env` というファイルに置かれ、そのファイルは「dotenv」と呼ばれます。 /// tip | 豆知識Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 12.7K bytes - Click Count (0) -
cmd/metacache-stream.go
} } var s2DecPool = bpool.Pool[*s2.Reader]{New: func() *s2.Reader { // Default alloc block for network transfer. return s2.NewReader(nil, s2.ReaderAllocBlock(16<<10)) }} // metacacheReader allows reading a cache stream. type metacacheReader struct { mr *msgp.Reader current metaCacheEntry err error // stateful error closer func() creator func() error }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 19.5K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
return {}; } const auto& fdef_lib = gdef.library(); if (fdef_lib.gradient_size() > 0) { status->status = tensorflow::errors::Internal( "GradientDef is not supported in reading Dataset related functions: ", text_proto); return {}; } std::vector<UniqueFuncPtr> ret; for (const FunctionDef& fdef : fdef_lib.function()) { // Make a copy so that we can mutate it.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (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) } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
docs/ko/docs/advanced/settings.md
{* ../../docs_src/settings/app02_an_py310/test_main.py hl[9:10,13,21] *} 의존성 override에서는 새 `Settings` 객체를 생성할 때 `admin_email`의 새 값을 설정하고, 그 새 객체를 반환합니다. 그 다음 그것이 사용되는지 테스트할 수 있습니다. ## `.env` 파일 읽기 { #reading-a-env-file } 많이 바뀔 수 있는 설정이 많고, 서로 다른 환경에서 사용한다면, 이를 파일에 넣어 환경 변수인 것처럼 읽는 것이 유용할 수 있습니다. 이 관행은 충분히 흔해서 이름도 있는데, 이러한 환경 변수들은 보통 `.env` 파일에 두며, 그 파일을 "dotenv"라고 부릅니다. /// tip | 팁Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11.9K bytes - Click Count (0)