Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 772 for ktypes (0.14 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     *
     * <p>The Invoker is designed to be flexible, allowing for different implementations
     * that can handle various types of {@link InvokerRequest InvokerRequests}. It also implements
     * {@link AutoCloseable} to ensure proper resource management.</p>
     *
     * @param <R> The specific type of {@link InvokerRequest} this {@code Invoker} can handle, extending {@link InvokerRequest}
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/using-request-directly.md

    ```
    
    By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
    
    /// tip
    
    Note that in this case, we are declaring a path parameter beside the request parameter.
    
    So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
     *  * For synchronous calls made with [Call.execute], the exception is propagated to the caller.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. docs/orchestration/docker-compose/nginx.conf

    user  nginx;
    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 05 06:32:39 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            final Class<?> rawType = toType.getRawType();
            if (rawType.isAssignableFrom(String.class)) {
                return text; // compatible type => no conversion needed
            }
    
            // use temporary Key as quick way to auto-box primitive types into their equivalent object types
            final TypeLiteral<?> boxedType =
                    rawType.isPrimitive() ? Key.get(rawType).getTypeLiteral() : toType;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
      }
    
      private static String getTypesString(List<? extends Type> types) {
        List<String> names = transform(types, SIMPLE_NAME_GETTER);
        return Joiner.on(", ").join(names);
      }
    
      private static final Function<Type, String> SIMPLE_NAME_GETTER =
          new Function<Type, String>() {
            @Override
            public String apply(Type from) {
              if (from instanceof Class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .resolveType(t));
        assertEquals(
            Types.subtypeOf(String.class),
            new TypeResolver()
                .where(
                    new TypeCapture<List<T>>() {}.capture(),
                    new TypeCapture<List<? extends String>>() {}.capture())
                .resolveType(t));
        assertEquals(
            Types.supertypeOf(String.class),
            new TypeResolver()
                .where(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
      }
    
      private static String getTypesString(List<? extends Type> types) {
        List<String> names = transform(types, SIMPLE_NAME_GETTER);
        return Joiner.on(", ").join(names);
      }
    
      private static final Function<Type, String> SIMPLE_NAME_GETTER =
          new Function<Type, String>() {
            @Override
            public String apply(Type from) {
              if (from instanceof Class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/zh/docs/features.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 更主流的 Python
    
    全部都基于标准的 **Python 3.6 类型**声明(感谢 Pydantic )。没有新的语法需要学习。只需要标准的 Python 。
    
    如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。
    
    编写带有类型标注的标准 Python:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
       * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top