Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for union_ (0.04 sec)

  1. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/extra-models.md

    ///
    
    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    ### `Union` в Python 3.10
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    ```
    
    ////
    
    #### Using `Union` or `Optional` { #using-union-or-optional }
    
    If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view:
    
    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. docs/es/docs/python-types.md

    ```
    
    ////
    
    #### Uso de `Union` u `Optional`
    
    Si estás usando una versión de Python inferior a 3.10, aquí tienes un consejo desde mi punto de vista muy **subjetivo**:
    
    * 🚨 Evita usar `Optional[SomeType]`
    * En su lugar ✨ **usa `Union[SomeType, None]`** ✨.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  6. docs/pt/docs/python-types.md

    ```
    
    ////
    
    #### Utilizando `Union` ou `Optional`
    
    Se você está utilizando uma versão do Python abaixo da 3.10, aqui vai uma dica do meu ponto de vista bem **subjetivo**:
    
    * 🚨 Evite utilizar `Optional[SomeType]`
    * No lugar, ✨ **use `Union[SomeType, None]`** ✨.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * 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()));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  8. docs/de/docs/python-types.md

    #### <abbr title="Union – Verbund, Einheit‚ Vereinigung: Eines von Mehreren">Union</abbr>
    
    Sie können deklarieren, dass eine Variable einer von **verschiedenen Typen** sein kann, zum Beispiel ein `int` oder ein `str`.
    
    In Python 3.6 und höher (inklusive Python 3.10) können Sie den `Union`-Typ von `typing` verwenden und die möglichen Typen innerhalb der eckigen Klammern auflisten.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 18.9K bytes
    - Viewed (1)
  9. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str
    ```
    
    вместо:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Но у нас query-параметр определён как `Query`. Например:
    
    //// tab | Annotated
    
    ```Python
    q: Annotated[Union[str, None], Query(min_length=3)] = None
    ```
    
    ////
    
    //// tab | без Annotated
    
    ```Python
    q: Union[str, None] = Query(default=None, min_length=3)
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top