- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 158 for union_ (0.11 seconds)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.idl
typedef struct { uint32_t flags; [string] wchar_t *dfs_name; } DfsInfo300; typedef struct { uint32_t count; [size_is(count)] DfsInfo300 *s; } DfsEnumArray300; typedef union { [case(1)] DfsEnumArray1 *info1; [case(3)] DfsEnumArray3 *info3; [case(200)] DfsEnumArray200 *info200; [case(300)] DfsEnumArray300 *info300; } DfsEnumInfo; typedef struct { uint32_t level,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 1.7K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
The same would happen if you had something like a <dfn title='A union between multiple types means "any of these types".'>union</dfn> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥: {* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
tests/test_pydantic_v1_error.py
def test_raises_pydantic_v1_model_in_union() -> None: class ModelV1A(BaseModel): name: str app = FastAPI() with pytest.raises(PydanticV1NotSupportedError): @app.post("/union") def endpoint(data: dict | ModelV1A): # pragma: no cover return data def test_raises_pydantic_v1_model_in_sequence() -> None: class ModelV1A(BaseModel): name: str
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/de/docs/python-types.md
#### Union { #union } Sie können deklarieren, dass eine Variable einer von **verschiedenen Typen** sein kann, zum Beispiel ein `int` oder ein `str`. Um das zu definieren, verwenden Sie den <dfn title="auch „bitweiser Oder-Operator“ genannt, aber diese Bedeutung ist hier nicht relevant">vertikalen Balken (`|`)</dfn>, um beide Typen zu trennen.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.6K bytes - Click Count (1) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
import static org.eclipse.aether.impl.scope.BuildScopeQuery.select; import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton; import static org.eclipse.aether.impl.scope.BuildScopeQuery.union; /** * Maven3 scope configurations. Configures scope manager to support Maven3 scopes. * <p> * This manager supports the old Maven 3 dependency scopes. * * @since 2.0.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
form of JUnit-based XML. """ import argparse import datetime import os import re from typing import Dict, Union import xml.etree.ElementTree as ElemTree ResultDictType = Dict[str, Dict[str, Union[str, int]]] RESULT_STORE_LINK_RE = re.compile( r'^INFO: Streaming build results to: (https://[\w./\-]+)') FAILED_BUILD_LINE = 'FAILED: Build did NOT complete successfully'
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
// // Element-level accessors // /** * Returns a live view of the edges in this graph whose endpoints include {@code node}. * * <p>This is equal to the union of incoming and outgoing edges. * * <p>If {@code node} is removed from the graph after this method is called, the {@code Set} * {@code view} returned by this method will be invalidated, and will throw {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 2.9K bytes - Click Count (0) -
fastapi/utils.py
_invalid_args_message = ( "Invalid args for response field! Hint: " "check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic " "field (e.g. Union[Response, dict, None]) you can disable generating the " "response model from the type annotation with the path operation decorator " "parameter response_model=None. Read more: "Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/zh/docs/python-types.md
这表示: * 变量 `prices` 是一个 `dict`: * 这个 `dict` 的键是 `str` 类型(比如,每个条目的名称)。 * 这个 `dict` 的值是 `float` 类型(比如,每个条目的价格)。 #### Union { #union } 你可以声明一个变量可以是若干种类型中的任意一种,比如既可以是 `int` 也可以是 `str`。 定义时使用<dfn title='也叫“按位或运算符(bitwise or operator)”,但这里与该含义无关'>竖线(`|`)</dfn>把两种类型分开。 这称为“联合类型”(union),因为变量可以是这两类类型集合的并集中的任意一个。 ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial008b_py310.py!} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
} @Override public void decode_out(NdrBuffer _src) throws NdrException { level = _src.dec_ndr_long(); _src.dec_ndr_long(); /* union discriminant */ final int _infop = _src.dec_ndr_long(); if (_infop != 0) { if (info == null) { /* YOYOYO */ info = new ShareInfoCtr0(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.3K bytes - Click Count (0)