Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 638 for declared (0.1 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      abstract void handleAllCompleted();
    
      /** Adds the chain to the seen set, and returns whether all the chain was new to us. */
      private static boolean addCausalChain(Set<Throwable> seen, Throwable param) {
        // Declare a "true" local variable so that the Checker Framework will infer nullness.
        Throwable t = param;
    
        for (; t != null; t = t.getCause()) {
          boolean firstTimeSeen = seen.add(t);
          if (!firstTimeSeen) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If not specified and the dependency has `yield`, it will have a `scope` of `"request"` by default.
    
    ### `scope` for sub-dependencies { #scope-for-sub-dependencies }
    
    When you declare a dependency with a `scope="request"` (the default), any sub-dependency needs to also have a `scope` of `"request"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/schema-extra-example.md

    # 声明请求示例数据 { #declare-request-example-data }
    
    你可以为你的应用将接收的数据声明示例。
    
    这里有几种实现方式。
    
    ## Pydantic 模型中的额外 JSON Schema 数据 { #extra-json-schema-data-in-pydantic-models }
    
    你可以为一个 Pydantic 模型声明 `examples`,它们会被添加到生成的 JSON Schema 中。
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    这些额外信息会原样添加到该模型输出的 JSON Schema 中,并会在 API 文档中使用。
    
    你可以使用属性 `model_config`,它接收一个 `dict`,详见 [Pydantic 文档:配置](https://docs.pydantic.dev/latest/api/config/)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/query-params-str-validations.md

    Имейте в виду, что в этом случае FastAPI не будет проверять содержимое списка.
    
    Например, `list[int]` проверит (и задокументирует), что элементы списка — целые числа. А просто `list` — нет.
    
    ///
    
    ## Больше метаданных { #declare-more-metadata }
    
    Можно добавить больше информации о параметре.
    
    Эта информация будет включена в сгенерированную OpenAPI-схему и использована интерфейсами документации и внешними инструментами.
    
    /// note | Примечание
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/query-params-str-validations.md

    Наприклад, `list[int]` перевірятиме (і документуватиме), що вміст списку — цілі числа. Але `list` без уточнення цього не робитиме.
    
    ///
    
    ## Оголосити більше метаданих { #declare-more-metadata }
    
    Ви можете додати більше інформації про параметр.
    
    Ця інформація буде включена у згенерований OpenAPI та використана інтерфейсами документації та зовнішніми інструментами.
    
    /// note | Примітка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/body.md

        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...`description` と `tax` はオプション(デフォルト値が `None`)なので、このJSON「`object`」も有効です:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## パラメータとして宣言 { #declare-it-as-a-parameter }
    
    *path operation* に追加するには、パスパラメータやクエリパラメータを宣言したのと同じ方法で宣言します:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...そして、作成したモデル `Item` を型として宣言します。
    
    ## 結果 { #results }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * (https://r.android.com/47508). We *would* need to worry for J2KT, whose own concurrency support
       * is evolving (b/381065164, b/458160722), but this class is @J2ktIncompatible.
       *
       * 2. The superclass toArray() method declares the more general return type `@Nullable Object[]`,
       * but we know that our values will never be `null`.
       */
    
      @Override
      public Object[] toArray() {
        return snapshotElementsToList().toArray();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return startIndex == endIndex
            ? EMPTY
            : new ImmutableLongArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfLong spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/dependencies/index.md

    ///
    
    ### `Depends`のインポート { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### 「dependant」での依存関係の宣言 { #declare-the-dependency-in-the-dependant }
    
    *path operation 関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * (https://r.android.com/47508). We *would* need to worry for J2KT, whose own concurrency support
       * is evolving (b/381065164, b/458160722), but this class is @J2ktIncompatible.
       *
       * 2. The superclass toArray() method declares the more general return type `@Nullable Object[]`,
       * but we know that our values will never be `null`.
       */
    
      @Override
      public Object[] toArray() {
        return snapshotElementsToList().toArray();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top