Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for union2 (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // type restrictions of a type, if any.
    //
    // For all types other than *types.TypeParam, *types.Interface, and
    // *types.Union, this is just a single term with Tilde() == false and
    // Type() == typ. For *types.TypeParam, *types.Interface, and *types.Union, see
    // below.
    //
    // Structural type restrictions of a type parameter are created via
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

        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.
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typeset.go

    				t = nil // ∅ term
    			}
    			terms = termlist{(*term)(t)}
    		}
    		// The type set of a union expression is the union
    		// of the type sets of each term.
    		allTerms = allTerms.union(terms)
    		if len(allTerms) > maxTermCount {
    			if check != nil {
    				check.errorf(atPos(pos), InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
    			}
    			unionSets[utyp] = &invalidTypeSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/go/types/typeset.go

    				t = nil // ∅ term
    			}
    			terms = termlist{(*term)(t)}
    		}
    		// The type set of a union expression is the union
    		// of the type sets of each term.
    		allTerms = allTerms.union(terms)
    		if len(allTerms) > maxTermCount {
    			if check != nil {
    				check.errorf(atPos(pos), InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
    			}
    			unionSets[utyp] = &invalidTypeSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/projectStructure/KotlinByModulesResolutionScopeProvider.kt

                    addAll(directDependsOnDependencies)
                    addAll(directFriendDependencies)
                    addAll(directRegularDependencies)
                }
            }
    
            return GlobalSearchScope.union(allModules.map { it.contentScope })
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 948 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/BUILD

    flatbuffer_cc_library(
        name = "schema_fbs_with_reflection",
        srcs = ["schema.fbs"],
        compatible_with = get_compatible_with_portable(),
        flatc_args = [
            "--reflect-types",
            "--reflect-names",
            "--no-union-value-namespacing",
            "--gen-object-api",
        ],
        out_prefix = "reflection/",
    )
    
    cc_library(
        name = "schema_utils",
        srcs = ["schema_utils.cc"],
        hdrs = ["schema_utils.h"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jun 02 08:36:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                                 .Union();
          } else {
            segments_type = tflite::SparseIndexVector_Int32Vector;
            array_segments = tflite::CreateInt32Vector(
                                 builder_, builder_.CreateVector(vector_segments))
                                 .Union();
          }
    
          auto indices = dim_metadata.getIndices();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolver.kt

                node -> node
                else -> get(value).also { dsu[node] = it }
            }
    
            fun union(left: ResolutionNode, right: ResolutionNode) {
                dsu[get(left)] = right
            }
    
            assignmentByNode.forEach { (key, value) ->
                union(key, value.node)
            }
    
            return buildMap {
                assignmentByNode.forEach { (lhs, _) ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top