Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 423 for float (0.1 sec)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

        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(Ints.toArray(bytes)).isEqualTo(array);
        assertThat(Ints.toArray(shorts)).isEqualTo(array);
        assertThat(Ints.toArray(ints)).isEqualTo(array);
        assertThat(Ints.toArray(floats)).isEqualTo(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/path-params-numeric-validations.md

    以下も同様です:
    
    * `gt`: より大きい(`g`reater `t`han)
    * `le`: 小なりイコール(`l`ess than or `e`qual)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005.py hl[9] *}
    
    ## 数値の検証: 浮動小数点、 大なり小なり
    
    数値のバリデーションは`float`の値に対しても有効です。
    
    ここで重要になってくるのは<abbr title="より大きい"><code>gt</code></abbr>だけでなく<abbr title="以下"><code>ge</code></abbr>も宣言できることです。これと同様に、例えば、値が`1`より小さくても`0`より大きくなければならないことを要求することができます。
    
    したがって、`0.5`は有効な値ですが、`0.0`や`0`はそうではありません。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jan 04 10:53:58 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. docs/es/docs/features.md

        * Objetos JSON (`dict`).
        * Array JSON (`list`) definiendo tipos de elementos.
        * Campos de cadena de caracteres (`str`), definiendo longitudes mínimas y máximas.
        * Números (`int`, `float`) con valores mínimos y máximos, etc.
    
    * Validación para tipos más exóticos, como:
        * URL.
        * Email.
        * UUID.
        * ...y otros.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/body.md

    **FastAPI**는 각각을 인지하고 데이터를 옳바른 위치에 가져올 것입니다.
    
    {* ../../docs_src/body/tutorial004_py310.py hl[16] *}
    
    함수 매개변수는 다음을 따라서 인지하게 됩니다:
    
    * 만약 매개변수가 **경로**에도 선언되어 있다면, 이는 경로 매개변수로 사용될 것입니다.
    * 만약 매개변수가 (`int`, `float`, `str`, `bool` 등과 같은) **유일한 타입**으로 되어있으면, **쿼리** 매개변수로 해석될 것입니다.
    * 만약 매개변수가 **Pydantic 모델** 타입으로 선언되어 있으면, 요청 **본문**으로 해석될 것입니다.
    
    /// note | 참고
    
    FastAPI는 `q`의 값이 필요없음을 알게 될 것입니다. 기본 값이 `= None`이기 때문입니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/zh-hant/docs/features.md

    ### 驗證
    
    所有的驗證都由完善且強大的 **Pydantic** 處理。
    
    * 驗證大部分(甚至所有?)的 Python **資料型別**,包括:
        * JSON 物件 (`dict`)。
        * JSON 陣列 (`list`) 定義項目型別。
        * 字串 (`str`) 欄位,定義最小或最大長度。
        * 數字 (`int`, `float`) 與其最大值和最小值等。
    
    * 驗證外來的型別,比如:
        * URL
        * Email
        * UUID
    
    
    ### 安全性及身份驗證
    
    FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。
    
    OpenAPI 中定義的安全模式,包括:
    
    * HTTP 基本認證。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:48:41 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/main/resources/fess_message.properties

    errors.property_required={0} is required.
    errors.property_type_integer={0} must be an integer.
    errors.property_type_long={0} must be a long.
    errors.property_type_float={0} must be a float.
    errors.property_type_double={0} must be a double.
    errors.property_type_date={0} must be a date.
    
    errors.storage_file_upload_failure=Failed to upload {0}.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. src/main/resources/fess_message_en.properties

    errors.property_required={0} is required.
    errors.property_type_integer={0} must be an integer.
    errors.property_type_long={0} must be a long.
    errors.property_type_float={0} must be a float.
    errors.property_type_double={0} must be a double.
    errors.property_type_date={0} must be a date.
    
    errors.storage_file_upload_failure=Failed to upload {0}.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty array.
         */
        public static void assertArgumentNotEmpty(final String argName, final float[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top