Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,356 for typed (0.02 seconds)

  1. 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);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         * @return A {@link ParameterizedClassDesc} that represents the type.
         */
        protected static ParameterizedClassDesc createParameterizedClassDesc(final Type type, final Map<TypeVariable<?>, Type> map) {
            final Class<?> rowClass = getActualClass(type, map);
            if (rowClass == null) {
                return null;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. docs/fr/docs/features.md

    Tout est basé sur les déclarations de **types Python** standard (grâce à Pydantic). Aucune nouvelle syntaxe à apprendre. Juste du Python moderne standard.
    
    Si vous avez besoin d'un rappel de 2 minutes sur l'utilisation des types en Python (même si vous n'utilisez pas FastAPI), consultez le court tutoriel : [Types Python](python-types.md).
    
    Vous écrivez du Python standard avec des types :
    
    ```Python
    from datetime import date
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. tests/test_invalid_sequence_param.py

    import pytest
    from fastapi import FastAPI, Query
    from pydantic import BaseModel
    
    
    def test_invalid_sequence():
        with pytest.raises(
            AssertionError,
            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                }
                final byte[] type1 = new byte[hostInfo ? 32 + domain.length + workstation.length : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. scripts/translation_fixer.py

    from pathlib import Path
    from typing import Annotated
    
    import typer
    
    from scripts.doc_parsing_utils import check_translation
    
    non_translated_sections = (
        f"reference{os.sep}",
        "release-notes.md",
        "fastapi-people.md",
        "external-links.md",
        "newsletter.md",
        "management-tasks.md",
        "management.md",
        "contributing.md",
    )
    
    
    cli = typer.Typer()
    
    
    @cli.callback()
    def callback():
        pass
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/Closer.java

       * given types. Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b>
       * Be sure to declare all of the checked exception types your try block can throw when calling an
       * overload of this method so as to avoid losing the original exception type.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      private static void assertFreshInstances(Class<?>... types) {
        for (Class<?> type : types) {
          assertFreshInstance(type, 2);
        }
      }
    
      private static void assertFreshInstance(TypeToken<?> type) {
        assertFreshInstance(type, 3);
      }
    
      private static void assertFreshInstance(Class<?> type, int instances) {
        assertFreshInstance(TypeToken.of(type), instances);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

         */
        protected ArtifactTypeRegistry getArtifactTypeRegistry() {
            DefaultArtifactTypeRegistry stereotypes = new DefaultArtifactTypeRegistry();
            new DefaultTypeProvider().types().forEach(t -> stereotypes.add(t.toArtifactType()));
            return stereotypes;
        }
    
        protected ArtifactDescriptorPolicy getArtifactDescriptorPolicy() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. internal/event/name.go

    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top