Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 743 for Types (0.01 seconds)

  1. tests/test_typing_python39.py

    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
            @app.post("/", response_model=test_type)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 709 bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Defaults.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides default values for all Java types, as defined by the JLS.
     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/additional-responses.md

                            }
                        }
                    }
                }
            }
        }
    }
    ```
    
    ## Additional media types for the main response { #additional-media-types-for-the-main-response }
    
    You can use this same `responses` parameter to add different media types for the same main response.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/site/apt/index.apt

     ({{{./apidocs/org/apache/maven/repository/internal/MavenRepositorySystemUtils.html}javadoc}},
     {{{./xref/org/apache/maven/repository/internal/MavenRepositorySystemUtils.html}source}}).
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

        when (type) {
          // Special case types that have 0 or 1 flag.
          TYPE_SETTINGS, TYPE_PING -> return if (flags == FLAG_ACK) "ACK" else BINARY[flags]
          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                signature.append(methodSignature);
                signature.append("(");
                if (matcher.group(5).length() > 0) {
                    String[] types = PARAM_DELIMITER.split(matcher.group(5));
                    for (int i = 0; i < types.length; i++) {
                        String type = types[i];
                        Matcher typeMatcher = TYPE_PATTERN.matcher(type);
                        if (!typeMatcher.matches()) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/body.md

    ## Support de l'éditeur
    
    Dans votre éditeur, vous aurez des annotations de types et de l'auto-complétion partout dans votre fonction (ce qui n'aurait pas été le cas si vous aviez utilisé un classique `dict` plutôt qu'un modèle Pydantic) :
    
    <img src="/img/tutorial/body/image03.png">
    
    Et vous obtenez aussi de la vérification d'erreur pour les opérations incorrectes de types :
    
    <img src="/img/tutorial/body/image04.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumBiMap}, the new bimap has the same types as the provided map. Otherwise, the
       * specified map must contain at least one mapping, in order to determine the key and value types.
       *
       * @param map the map whose mappings are to be placed in this map
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_internal.h

    };
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Click Count (0)
  10. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Consumer.java

     * Maven plugins or extensions may provide implementations of those types which will be used by maven.
     * <p>
     * A type can be marked {@link Consumer} or {@link Provider} but not both. A type is assumed to be
     * {@link Consumer} if it is not marked either {@link Consumer} or {@link Provider}.
     * <p>
     * A package can be marked {@link Consumer}. In this case, all types in the package are considered
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top