Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,278 for type2 (0.02 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    
        @Test
        void testAs_Enumeration_Success() throws PACDecodingException {
            // Test successful casting from enumeration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001.py hl[18] *}
    
    ...et déclarez que son type est le modèle que vous avez créé : `Item`.
    
    ## Résultats
    
    En utilisant uniquement les déclarations de type Python, **FastAPI** réussit à :
    
    * Lire le contenu de la requête en tant que JSON.
    * Convertir les types correspondants (si nécessaire).
    * Valider la donnée.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/query-params-str-validations.md

    ///
    
    ## Usar `Annotated` en el tipo del parámetro `q` { #use-annotated-in-the-type-for-the-q-parameter }
    
    ¿Recuerdas que te dije antes que `Annotated` puede usarse para agregar metadatos a tus parámetros en la [Introducción a Tipos de Python](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}?
    
    Ahora es el momento de usarlo con FastAPI. 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. scripts/translate.py

        command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None,
        github_token: Annotated[str, typer.Option(envvar="GITHUB_TOKEN")],
        github_repository: Annotated[str, typer.Option(envvar="GITHUB_REPOSITORY")],
    ) -> None:
        print("Setting up GitHub Actions git user")
        repo = git.Repo(Path(__file__).absolute().parent.parent)
        if not repo.is_dirty(untracked_files=True):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

          if (types.length > 0 && mayNeedHiddenThis()) {
            Class<?>[] rawParamTypes = constructor.getParameterTypes();
            if (types.length == rawParamTypes.length
                && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) {
              // first parameter is the hidden 'this'
              return Arrays.copyOfRange(types, 1, types.length);
            }
          }
          return types;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/MediaType.java

     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
     * type or subtype value. A media type may not have wildcard type with a declared subtype. The
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing file type mappings based on MIME types.
     * This class provides functionality to map MIME types to file types and
     * retrieve appropriate file type classifications for documents during indexing.
     *
     * The mappings are loaded from configuration and can be dynamically modified
     * at runtime. When a MIME type is not found in the mapping, a default value
     * is returned.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
     * type or subtype value. A media type may not have wildcard type with a declared subtype. The
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  9. internal/grid/README.md

    the operation would become deadlocked if the channels are full.
    
    ### Typed handlers
    
    Typed handlers are handlers that have a specific type for the request and response payloads.
    
    ```go
        // Create a typed handler.
        handler := func(ctx context.Context, p *Payload, in <-chan *Req, out chan<- *Resp) *RemoteErr {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
    
          private /*static*/ <S> S doConvert(TypeToken<S> type) {
            return checkNotNull(getDefaultValue(type));
          }
        };
      }
    
      private static TypeToken<?> getFirstTypeParameter(Type type) {
        if (type instanceof ParameterizedType) {
          return TypeToken.of(((ParameterizedType) type).getActualTypeArguments()[0]);
        } else {
          return TypeToken.of(Object.class);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top