Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,147 for type2 (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  2. fastapi/types.py

    import types
    from collections.abc import Callable
    from enum import Enum
    from typing import Any, TypeVar, Union
    
    from pydantic import BaseModel
    from pydantic.main import IncEx as IncEx
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[type[BaseModel] | type[Enum], str]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 438 bytes
    - Click Count (0)
  3. docs/pt/docs/python-types.md

    O Python possui suporte para "type hints" opcionais (também chamados de "type annotations").
    
    Esses **"type hints"** ou anotações são uma sintaxe especial que permite declarar o <dfn title="por exemplo: str, int, float, bool">tipo</dfn> de uma variável.
    
    Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      private static class TypeA {}
    
      private interface TypeB {}
    
      private static class HasBoth extends TypeA implements TypeB {}
    
      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType() throws Exception {
        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  5. internal/grid/types.go

    	"github.com/minio/minio/internal/bpool"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // Recycler will override the internal reuse in typed handlers.
    // When this is supported, the handler will not do internal pooling of objects,
    // call Recycle() when the object is no longer needed.
    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * Artifact type name for a JAR file containing test sources.
         */
        String TEST_JAVA_SOURCE = "test-java-source";
    
        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * Returns the dependency type language.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. docs/es/docs/python-types.md

    # Introducción a Tipos en Python { #python-types-intro }
    
    Python tiene soporte para "anotaciones de tipos" opcionales (también llamadas "type hints").
    
    Estas **"anotaciones de tipos"** o type hints son una sintaxis especial que permite declarar el <dfn title="por ejemplo: str, int, float, bool">tipo</dfn> de una variable.
    
    Al declarar tipos para tus variables, los editores y herramientas te pueden proporcionar un mejor soporte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  8. docs/de/docs/tutorial/extra-data-types.md

    * Sie können alle gültigen Pydantic-Datentypen hier überprüfen: [Pydantic-Datentypen](https://docs.pydantic.dev/latest/usage/types/types/).
    
    ## Beispiel { #example }
    
    Hier ist ein Beispiel für eine *Pfadoperation* mit Parametern, die einige der oben genannten Typen verwenden.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. fastapi/encoders.py

        IPv6Address,
        IPv6Interface,
        IPv6Network,
    )
    from pathlib import Path, PurePath
    from re import Pattern
    from types import GeneratorType
    from typing import Annotated, Any
    from uuid import UUID
    
    from annotated_doc import Doc
    from fastapi.exceptions import PydanticV1NotSupportedError
    from fastapi.types import IncEx
    from pydantic import BaseModel
    from pydantic.color import Color  # ty: ignore[deprecated]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/advanced-python-types.md

    # Advanced Python Types { #advanced-python-types }
    
    Here are some additional ideas that might be useful when working with Python types.
    
    ## Using `Union` or `Optional` { #using-union-or-optional }
    
    If your code for some reason can't use `|`, for example if it's not in a type annotation but in something like `response_model=`, instead of using the vertical bar (`|`) you can use `Union` from `typing`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top