Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 465 for reading8 (0.06 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. docs/zh-hant/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
    
    在類 Unix 系統(如 Linux 與 macOS)中,以點(`.`)開頭的檔案是隱藏檔。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/settings.md

    Na sobrescrita da dependência definimos um novo valor para `admin_email` ao criar o novo objeto `Settings`, e então retornamos esse novo objeto.
    
    Depois podemos testar que ele é usado.
    
    ## Lendo um arquivo `.env` { #reading-a-env-file }
    
    Se você tiver muitas configurações que possivelmente mudam bastante, talvez em diferentes ambientes, pode ser útil colocá-las em um arquivo e então lê-las como se fossem variáveis de ambiente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  8. docs/smb3-features/01-smb3-lease-design.md

            System.arraycopy(buffer, offset, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            
            this.leaseState = readInt4(buffer, offset + 16);
            this.leaseFlags = readInt4(buffer, offset + 20);
            this.leaseDuration = readInt8(buffer, offset + 24);
            
            if (length >= 52) {  // V2 lease
                byte[] parentKeyBytes = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/dependencies/dependencies-with-yield.md

    Les « Context Managers » sont des objets Python que vous pouvez utiliser dans une instruction `with`.
    
    Par exemple, [vous pouvez utiliser `with` pour lire un fichier](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files) :
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    En coulisse, `open("./somefile.txt")` crée un objet appelé « Context Manager ».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  10. cmd/object-api-interface.go

    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    	// ReadCloser interface. The Close method runs any cleanup
    	// functions, so it must always be called after reading till EOF
    	//
    	// IMPORTANTLY, when implementations return err != nil, this
    	// function MUST NOT return a non-nil ReadCloser.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top