Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for float (0.25 sec)

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

          Float[] suffix = {(float) 86, (float) 99};
          Float[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

          Float[] suffix = {(float) 86, (float) 99};
          Float[] all = concat(concat(prefix, elements), suffix);
          return asList(all).subList(2, elements.length + 2);
        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/FloatsMethodsForWeb.java

    import jsinterop.annotations.JsPackage;
    
    /** Web specializations for {@link Floats} methods. */
    public abstract class FloatsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native float min(float... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native float max(float... array);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 26 00:50:12 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Float}
         */
        public static Float toFloat(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. tests/test_starlette_urlconvertors.py

    
    def test_route_converters_float():
        # Test float conversion
        response = client.get("/float/25.5")
        assert response.status_code == 200, response.text
        assert response.json() == {"float": 25.5}
        assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5"  # type: ignore
    
    
    def test_route_converters_path():
        # Test path conversion
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Nov 27 14:46:06 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/nn_grad_test.cc

      auto ReluGradModel = BuildGradModel(ReluModel, registry_);
    
      float X_vals[] = {1.0f, 2.0f, 3.0f, -5.0f, -4.0f, -3.0f, 2.0f, 10.0f, -1.0f};
      int64_t X_dims[] = {3, 3};
      AbstractTensorHandlePtr X;
      {
        AbstractTensorHandle* X_raw;
        status_ = TestTensorHandleWithDims<float, TF_FLOAT>(
            immediate_execution_ctx_.get(), X_vals, X_dims, 2, &X_raw);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckNonNegative_zeroFloat() {
        MathPreconditions.checkNonNegative("float", 0f);
      }
    
      public void testCheckNonNegative_maxFloat() {
        MathPreconditions.checkNonNegative("float", Float.MAX_VALUE);
      }
    
      public void testCheckNonNegative_minFloat() {
        MathPreconditions.checkNonNegative("float", Float.MIN_VALUE);
      }
    
      public void testCheckNonNegative_positiveFloat() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  8. tests/main.py

    def get_path_param_gt(item_id: float = Path(gt=3)):
        return item_id
    
    
    @app.get("/path/param-gt0/{item_id}")
    def get_path_param_gt0(item_id: float = Path(gt=0)):
        return item_id
    
    
    @app.get("/path/param-ge/{item_id}")
    def get_path_param_ge(item_id: float = Path(ge=3)):
        return item_id
    
    
    @app.get("/path/param-lt/{item_id}")
    def get_path_param_lt(item_id: float = Path(lt=3)):
        return item_id
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckNonNegative_zeroFloat() {
        MathPreconditions.checkNonNegative("float", 0f);
      }
    
      public void testCheckNonNegative_maxFloat() {
        MathPreconditions.checkNonNegative("float", Float.MAX_VALUE);
      }
    
      public void testCheckNonNegative_minFloat() {
        MathPreconditions.checkNonNegative("float", Float.MIN_VALUE);
      }
    
      public void testCheckNonNegative_positiveFloat() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ComparisonChain.java

       */
      public abstract ComparisonChain compare(long left, long right);
    
      /**
       * Compares two {@code float} values as specified by {@link Float#compare}, <i>if</i> the result
       * of this comparison chain has not already been determined.
       */
      public abstract ComparisonChain compare(float left, float right);
    
      /**
       * Compares two {@code double} values as specified by {@link Double#compare}, <i>if</i> the result
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
Back to top