- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for union_ (0.12 sec)
-
src/cmd/cgo/doc.go
cases section below. To access a struct, union, or enum type directly, prefix it with struct_, union_, or enum_, as in C.struct_stat. The size of any C type T is available as C.sizeof_T, as in C.sizeof_struct_stat. These special prefixes means that there is no way to directly reference a C identifier that starts with "struct_", "union_", "enum_", or "sizeof_", such as a function named "struct_function".
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// The expansions are listed in nameToC and also // struct_foo becomes "struct foo", and similarly for // union and enum. func cname(s string) string { if t, ok := nameToC[s]; ok { return t } if t, ok := strings.CutPrefix(s, "struct_"); ok { return "struct " + t } if t, ok := strings.CutPrefix(s, "union_"); ok { return "union " + t } if t, ok := strings.CutPrefix(s, "enum_"); ok { return "enum " + t }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 18 15:07:34 UTC 2024 - 97.1K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-models.md
``` //// ## `Union` ⚖️ `anyOf` 👆 💪 📣 📨 `Union` 2️⃣ 🆎, 👈 ⛓, 👈 📨 🔜 🙆 2️⃣. ⚫️ 🔜 🔬 🗄 ⏮️ `anyOf`. 👈, ⚙️ 🐩 🐍 🆎 🔑 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
``` //// ## `Union` or `anyOf` You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them. It will be defined in OpenAPI with `anyOf`. To do that, use the standard Python type hint <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/python-types.md
* `dict` And the same as with Python 3.8, from the `typing` module: * `Union` * `Optional` (the same as with Python 3.8) * ...and others. In Python 3.10, as an alternative to using the generics `Union` and `Optional`, you can use the <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr> to declare unions of types, that's a lot better and simpler. ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
``` //// ## `Union` 或者 `anyOf` 响应可以声明为两种类型的 `Union` 类型,即该响应可以是两种类型中的任意类型。 在 OpenAPI 中可以使用 `anyOf` 定义。 为此,请使用 Python 标准类型提示 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note | "笔记"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-models.md
``` //// ## `Union` или `anyOf` Вы можете определить ответ как `Union` из двух типов. Это означает, что ответ должен соответствовать одному из них. Он будет определён в OpenAPI как `anyOf`. Для этого используйте стандартные аннотации типов в Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note | "Примечание"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
``` //// ## `Union` ou `anyOf` Você pode declarar uma resposta como o `Union` de dois tipos, o que significa que a resposta seria qualquer um dos dois. Isso será definido no OpenAPI com `anyOf`. Para fazer isso, use a dica de tipo padrão do Python <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>: /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-models.md
/// note | "Hinweis"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/nl/docs/python-types.md
* `dict` Hetzelfde als bij Python 3.8, uit de `typing`-module: * `Union` * `Optional` (hetzelfde als bij Python 3.8) * ...en anderen. In Python 3.10 kun je , als alternatief voor de generieke `Union` en `Optional`, de <abbr title='ook wel "bitwise or operator" genoemd, maar die betekenis is hier niet relevant'>verticale lijn (`|`)</abbr> gebruiken om unions van typen te voorzien, dat is veel beter en eenvoudiger. ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.3K bytes - Viewed (0)