Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 498 for FLOAT (0.02 sec)

  1. docs/zh-hant/docs/features.md

    ### 驗證
    
    所有的驗證都由完善且強大的 **Pydantic** 處理。
    
    * 驗證大部分(甚至所有?)的 Python **資料型別**,包括:
        * JSON 物件 (`dict`)。
        * JSON 陣列 (`list`) 定義項目型別。
        * 字串 (`str`) 欄位,定義最小或最大長度。
        * 數字 (`int`, `float`) 與其最大值和最小值等。
    
    * 驗證外來的型別,比如:
        * URL
        * Email
        * UUID
    
    
    ### 安全性及身份驗證
    
    FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。
    
    OpenAPI 中定義的安全模式,包括:
    
    * HTTP 基本認證。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. docs/ja/docs/features.md

    ただし、デフォルトでもすべて **うまくいきます**。
    
    ### 検証
    
    * 以下の様な、ほとんどの(すべての?)Python **データ型**の検証:
         * JSONオブジェクト(`dict`)
         * 項目の型を定義するJSON配列(`list`)
         * 最小長と最大長のある文字列(`str`)フィールド
         * 最小値と最大値のある数値(`int`、` float`)
    
    * よりエキゾチックな型の検証:
         * URL
         * Eメール
         * UUID
         * ...その他
    
    すべての検証は、確立された堅牢な **Pydantic** によって処理されます。
    
    ### セキュリティと認証
    
    セキュリティと認証が統合されています。 データベースまたはデータモデルについても妥協していません。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(int.class, TypeToken.of(int[].class).getComponentType().getType());
        assertEquals(long.class, TypeToken.of(long[].class).getComponentType().getType());
        assertEquals(float.class, TypeToken.of(float[].class).getComponentType().getType());
        assertEquals(double.class, TypeToken.of(double[].class).getComponentType().getType());
        assertThat(TypeToken.of(Object.class).getComponentType()).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

              sink.putLong(value);
            }
          }
        },
        PUT_FLOAT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            float value = random.nextFloat();
            for (PrimitiveSink sink : sinks) {
              sink.putFloat(value);
            }
          }
        },
        PUT_DOUBLE() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
                buf.append('}');
            } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) {
                buf.append(obj);
            } else if (obj instanceof Boolean) {
                buf.append(obj.toString());
            } else if (obj instanceof Date) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

              sink.putLong(value);
            }
          }
        },
        PUT_FLOAT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            float value = random.nextFloat();
            for (PrimitiveSink sink : sinks) {
              sink.putFloat(value);
            }
          }
        },
        PUT_DOUBLE() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. tests/test_response_model_as_return_annotation.py

    
    class BaseUser(BaseModel):
        name: str
    
    
    class User(BaseUser):
        surname: str
    
    
    class DBUser(User):
        password_hash: str
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    app = FastAPI()
    
    
    @app.get("/no_response_model-no_annotation-return_model")
    def no_response_model_no_annotation_return_model():
        return User(name="John", surname="Doe")
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Shorts.toArray(bytes)).isEqualTo(array);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    @NullUnmarked
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    # Integer-type fields for admin in the index.
    index.admin.integer.fields=
    # Long-type fields for admin in the index.
    index.admin.long.fields=content_length,favorite_count,click_count
    # Float-type fields for admin in the index.
    index.admin.float.fields=boost
    # Double-type fields for admin in the index.
    index.admin.double.fields=
    # Required fields for admin in the index.
    index.admin.required.fields=url,title,role,boost
    
    # timeout
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
Back to top