- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 172 for union_ (0.04 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
POLICY_INFO_PRIMARY_DOMAIN = 3, POLICY_INFO_ACCOUNT_DOMAIN = 5, POLICY_INFO_SERVER_ROLE = 6, POLICY_INFO_MODIFICATION = 9, POLICY_INFO_DNS_DOMAIN = 12 }; typedef [switch_type(short)] union { [case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain; [case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain; } LsarPolicyInfo; typedef struct { sid_t *sid; } LsarSidPtr;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
POLICY_INFO_PRIMARY_DOMAIN = 3, POLICY_INFO_ACCOUNT_DOMAIN = 5, POLICY_INFO_SERVER_ROLE = 6, POLICY_INFO_MODIFICATION = 9, POLICY_INFO_DNS_DOMAIN = 12 }; typedef [switch_type(short)] union { [case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain; [case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain; } LsarPolicyInfo; typedef struct { sid_t *sid; } LsarSidPtr;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (3) -
docs/pt/docs/tutorial/body.md
/// note | Observação O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`. O `Union` em `Union[str, None]` não é utilizado pelo FastAPI, mas permite ao seu editor de texto lhe dar um suporte melhor e detectar erros. /// ## Sem o Pydantic
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
/// note FastAPI will know that the value of `q` is not required because of the default value `= None`. The `str | None` (Python 3.10+) or `Union` in `Union[str, None]` (Python 3.8+) is not used by FastAPI to determine that the value is not required, it will know it's not required because it has a default value of `= None`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
То же самое произошло бы, если бы у вас было что-то вроде <abbr title='Union разных типов буквально означает "любой из перечисленных типов".'>Union</abbr> различных типов и один или несколько из них не являлись бы допустимыми типами для Pydantic. Например, такой вариант приведет к ошибке 💥:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 27.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
q: str | None = None ``` //// //// tab | Python 3.8+ ```Python q: Union[str, None] = None ``` //// What we will do is wrap that with `Annotated`, so it becomes: //// tab | Python 3.10+ ```Python q: Annotated[str | None] = None ``` //// //// tab | Python 3.8+ ```Python q: Annotated[Union[str, None]] = None ``` ////
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
try { BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY); BigInteger undone = quotient.multiply(q); if (!p.equals(undone)) { failFormat("expected %s.multiply(%s) = %s; got %s", quotient, q, p, undone); } assertTrue(dividesEvenly); } catch (ArithmeticException e) { assertFalse(dividesEvenly); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
docs/fa/docs/index.md
### ایجاد کنید * فایلی به نام `main.py` با محتوای زیر ایجاد کنید: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 26K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
} @Override public void decode_out(NdrBuffer _src) throws NdrException { this.level = _src.dec_ndr_long(); _src.dec_ndr_long(); /* union discriminant */ final int _infop = _src.dec_ndr_long(); if (_infop != 0) { if (this.info == null) { /* YOYOYO */ this.info = new ShareInfoCtr0();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
## 必須にする これ以上、バリデーションやメタデータを宣言する必要のない場合は、デフォルト値を指定しないだけでクエリパラメータ`q`を必須にすることができます。以下のように: ```Python q: str ``` 以下の代わりに: ```Python q: Union[str, None] = None ``` 現在は以下の例のように`Query`で宣言しています: ```Python q: Union[str, None] = Query(default=None, min_length=3) ``` そのため、`Query`を使用して必須の値を宣言する必要がある場合は、第一引数に`...`を使用することができます:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0)