Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 699 for float64 (0.12 sec)

  1. tests/test_generate_unique_id_function.py

        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
        title: str
        description: str
    
    
    def test_top_level_generate_unique_id():
        app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
        router = APIRouter()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteStreams.java

        public long readLong() {
          try {
            return input.readLong();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public float readFloat() {
          try {
            return input.readFloat();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public double readDouble() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. docs/vi/docs/features.md

        * JSON objects (`dict`).
        * Mảng JSON (`list`) định nghĩa kiểu dữ liệu từng phần tử.
        * Xâu (`str`), định nghĩa độ dài lớn nhất, nhỏ nhất.
        * Số (`int`, `float`) với các giá trị lớn nhất, nhỏ nhất, etc.
    
    * Validation cho nhiều kiểu dữ liệu bên ngoài như:
        * URL.
        * Email.
        * UUID.
        * ...và nhiều cái khác.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs/zh/docs/features.md

    但是默认情况下,一切都能**“顺利工作”**。
    
    ### 验证
    
    * 校验大部分(甚至所有?)的 Python **数据类型**,包括:
        * JSON 对象 (`dict`).
        * JSON 数组 (`list`) 定义成员类型。
        * 字符串 (`str`) 字段, 定义最小或最大长度。
        * 数字 (`int`, `float`) 有最大值和最小值, 等等。
    
    * 校验外来类型, 比如:
        * URL.
        * Email.
        * UUID.
        * ...及其他.
    
    所有的校验都由完善且强大的 **Pydantic** 处理。
    
    ### 安全性及身份验证
    
    集成了安全性和身份认证。杜绝数据库或者数据模型的渗透风险。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .build());
            options.addOption(Option.builder(THREADS)
                    .longOpt("threads")
                    .hasArg()
                    .desc("Thread count, for instance 4 (int) or 2C/2.5C (int/float) where C is core multiplied")
                    .build());
            options.addOption(Option.builder(BUILDER)
                    .longOpt("builder")
                    .hasArg()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                return boost.toString();
            }
            return null;
        }
    
        public void setBoostValue(final String value) {
            if (value != null) {
                try {
                    boost = Float.parseFloat(value);
                } catch (final Exception e) {}
            }
        }
    
        @Override
        public String getIndexingTarget(final String input) {
            // always return true
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            try {
                if (threadConfiguration.endsWith("C")) {
                    String str = threadConfiguration.substring(0, threadConfiguration.length() - 1);
                    float coreMultiplier = Float.parseFloat(str);
    
                    if (coreMultiplier <= 0.0f) {
                        throw new IllegalArgumentException("Invalid threads core multiplier value: '" + threadConfiguration
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field34", new char[0])
                .add("field35", new short[0])
                .add("field36", new int[0])
                .add("field37", new long[0])
                .add("field38", new float[0])
                .add("field39", new double[0])
                .add("field40", new Object[0])
                .toString();
        assertEquals("TestClass{field11=[Hello], field26=Optional.of(World), field31=[!!!]}", toTest);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body.md

    **FastAPI** はそれぞれを認識し、適切な場所からデータを取得します。
    
    ```Python hl_lines="16"
    {!../../docs_src/body/tutorial004.py!}
    ```
    
    関数パラメータは以下の様に認識されます:
    
    * パラメータが**パス**で宣言されている場合は、優先的にパスパラメータとして扱われます。
    * パラメータが**単数型** (`int`、`float`、`str`、`bool` など)の場合は**クエリ**パラメータとして解釈されます。
    * パラメータが **Pydantic モデル**型で宣言された場合、リクエスト**ボディ**として解釈されます。
    
    /// note | "備考"
    
    FastAPIは、`= None`があるおかげで、`q`がオプショナルだとわかります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            引数の値
         * @throws EmptyArgumentException
         *             引数が<code>null</code>または空の配列の場合。
         */
        public static void assertArgumentNotEmpty(final String argName, final float[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top