- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 85 for Union (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/SetViewTest.java
assertMinSize(union(emptySet(), emptySet()), 0); assertMinSize(union(setSize(2), setSize(3)), 3); assertMinSize(union(setSize(3), setSize(2)), 3); assertMinSize(union(setSizeRange(10, 20), setSizeRange(11, 12)), 11); assertMinSize(union(setSizeRange(11, 12), setSizeRange(10, 20)), 11); } public void testUnion_maxSize() { assertMaxSize(union(emptySet(), emptySet()), 0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.9K bytes - Click Count (0) -
api/go1.18.txt
pkg go/types, method (*TypeParamList) At(int) *TypeParam pkg go/types, method (*TypeParamList) Len() int pkg go/types, method (*Union) Len() int pkg go/types, method (*Union) String() string pkg go/types, method (*Union) Term(int) *Term pkg go/types, method (*Union) Underlying() Type pkg go/types, type ArgumentError struct pkg go/types, type ArgumentError struct, Err error pkg go/types, type ArgumentError struct, Index int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0) -
docs/en/docs/python-types.md
#### Union { #union } You can declare that a variable can be any of **several types**, for example, an `int` or a `str`. To define it you use the <dfn title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</dfn> to separate both types. This is called a "union", because the variable can be anything in the union of those two sets of types.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
fastapi/dependencies/utils.py
def is_union_of_base_models(field_type: Any) -> bool: """Check if field type is a Union where all members are BaseModel subclasses.""" from fastapi.types import UnionType origin = get_origin(field_type) # Check if it's a Union type (covers both typing.Union and types.UnionType in Python 3.10+) if origin is not Union and origin is not UnionType: return False union_args = get_args(field_type)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
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/collect/ImmutableRangeSet.java
: result; } /** * Returns a new range set consisting of the union of this range set and {@code other}. * * <p>This is essentially the same as {@code TreeRangeSet.create(this).addAll(other)} except it * returns an {@code ImmutableRangeSet}. * * @since 21.0 */ public ImmutableRangeSet<C> union(RangeSet<C> other) { return unionOf(Iterables.concat(asRanges(), other.asRanges())); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K 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) -
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) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
: result; } /** * Returns a new range set consisting of the union of this range set and {@code other}. * * <p>This is essentially the same as {@code TreeRangeSet.create(this).addAll(other)} except it * returns an {@code ImmutableRangeSet}. * * @since 21.0 */ public ImmutableRangeSet<C> union(RangeSet<C> other) { return unionOf(Iterables.concat(asRanges(), other.asRanges())); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 27K bytes - Click Count (0)