Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for Fstr (5.49 sec)

  1. internal/disk/stat_solaris.go

    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstr[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, & 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/query_params_str_validations/tutorial005.py!}
    ```
    
    !!! note
        具有默认值还会使该参数成为可选参数。
    
    ## 声明为必需参数
    
    当我们不需要声明额外的校验或元数据时,只需不声明默认值就可以使 `q` 参数成为必需参数,例如:
    
    ```Python
    q: str
    ```
    
    代替:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    但是现在我们正在用 `Query` 声明它,例如:
    
    ```Python
    q: Union[str, None] = Query(default=None, min_length=3)
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. .github/actions/people/app/main.py

    # Sponsors
    
    
    class SponsorEntity(BaseModel):
        login: str
        avatarUrl: str
        url: str
    
    
    class Tier(BaseModel):
        name: str
        monthlyPriceInDollars: float
    
    
    class SponsorshipAsMaintainerNode(BaseModel):
        sponsorEntity: SponsorEntity
        tier: Tier
    
    
    class SponsorshipAsMaintainerEdge(BaseModel):
        cursor: str
        node: SponsorshipAsMaintainerNode
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. fastapi/params.py

            annotation: Optional[Any] = None,
            alias: Optional[str] = None,
            alias_priority: Union[int, None] = _Unset,
            # TODO: update when deprecating Pydantic v1, import these types
            # validation_alias: str | AliasPath | AliasChoices | None
            validation_alias: Union[str, None] = None,
            serialization_alias: Union[str, None] = None,
            title: Optional[str] = None,
            description: Optional[str] = None,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  10. docs_src/security/tutorial005_an.py

    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
        scopes: List[str] = []
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top