Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 493 for sltr (0.02 sec)

  1. src/bufio/bufio_test.go

    	b.ReportAllocs()
    	str := strings.Repeat("x", 16<<10)
    	for i := 0; i < b.N; i++ {
    		br := NewReader(strings.NewReader(str))
    		n, err := io.Copy(io.Discard, br)
    		if err != nil {
    			b.Fatal(err)
    		}
    		if n != int64(len(str)) {
    			b.Fatal("wrong length")
    		}
    	}
    }
    
    func BenchmarkWriterEmpty(b *testing.B) {
    	b.ReportAllocs()
    	str := strings.Repeat("x", 1<<10)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/settings.md

    Por ejemplo, si tienes una función:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    tu programa podría ejecutarse así:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Código
    participant function as say_hi()
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/Constants.java

        /** Property key for LTR model name configuration. */
        public static final String LTR_MODEL_NAME_PROPERTY = "ltr.model.name";
    
        /** Property key for LTR window size configuration. */
        public static final String LTR_WINDOW_SIZE_PROPERTY = "ltr.window.size";
    
        /** Property key for SSO type configuration. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/body.md

    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    /// note
    
    **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `=None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/settings.md

    For example, if you have a function:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    your program could execute like this:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/custom-response.md

    Você pode retorná-la diretamente.
    
    Ela aceita os seguintes parâmetros:
    
    * `content` - Uma sequência de caracteres (`str`) ou `bytes`.
    * `status_code` - Um código de status HTTP do tipo `int`.
    * `headers` - Um dicionário `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. docs/zh-hant/docs/features.md

    如果你寫帶有 Python 型別的程式碼:
    
    ```python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 宣告一個變數為 string
    # 並在函式中獲得 editor support
    def main(user_id: str):
        return user_id
    
    
    # 宣告一個 Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    
    可以像這樣來使用:
    
    ```python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:48:41 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-updates.md

    項目を更新するには<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTPの`PUT`</a>操作を使用することができます。
    
    `jsonable_encoder`を用いて、入力データをJSON形式で保存できるデータに変換することができます(例:NoSQLデータベース)。例えば、`datetime`を`str`に変換します。
    
    {* ../../docs_src/body_updates/tutorial001.py hl[30,31,32,33,34,35] *}
    
    既存のデータを置き換えるべきデータを受け取るために`PUT`は使用されます。
    
    ### 置換についての注意
    
    つまり、`PUT`を使用して以下のボディで項目`bar`を更新したい場合は:
    
    ```Python
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/query-params.md

    特定の値を与えずにただオプショナルにしたい場合はデフォルト値を `None` にして下さい。
    
    しかしクエリパラメータを必須にしたい場合は、ただデフォルト値を宣言しなければよいです:
    
    {* ../../docs_src/query_params/tutorial005.py hl[6:7] *}
    
    ここで、クエリパラメータ `needy` は `str` 型の必須のクエリパラメータです
    
    以下のURLをブラウザで開くと:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...必須のパラメータ `needy` を加えなかったので、以下の様なエラーが表示されます:
    
    ```JSON
    {
        "detail": [
            {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs/ko/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 변수를 str로 선언
    # 그 후 함수 안에서 편집기 지원을 받으세요
    def main(user_id: str):
        return user_id
    
    
    # Pydantic 모델
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    위의 코드는 다음과 같이 사용될 수 있습니다:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top