Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 56 for nan (0.06 seconds)

  1. src/main/webapp/js/admin/plugins/form-validator/color.js

    b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("color");var b=function(a){return/^(\-|\+)?([0-9]+(\.[0-9]+)?|Infinity)$/.test(a)?Number(a):NaN},c=function(a){return a>0&&a<1};a.formUtils.addValidator({name:"hex",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c="#"===a[0];if(!c)return!1;var d=4===a.length||7===a.length;if(d){var e...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/MathPreconditions.java

        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static double checkNonNegative(String role, double x) {
        if (!(x >= 0)) { // not x < 0, to work with NaN.
          throw new IllegalArgumentException(role + " (" + x + ") must be >= 0");
        }
        return x;
      }
    
      static void checkRoundingUnnecessary(boolean condition) {
        if (!condition) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        allow_inf_nan: Annotated[
            bool | None,
            Doc(
                """
                Allow `inf`, `-inf`, `nan`. Only applicable to numbers.
                """
            ),
        ] = _Unset,
        max_digits: Annotated[
            int | None,
            Doc(
                """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 68K bytes
    - Click Count (0)
  4. src/builtin/builtin.go

    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // min will return NaN.
    func min[T cmp.Ordered](x T, y ...T) T
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. tests/test_jsonable_encoder.py

    
    def test_decimal_encoder_int():
        data = {"value": Decimal(2)}
        assert jsonable_encoder(data) == {"value": 2}
    
    
    def test_decimal_encoder_nan():
        data = {"value": Decimal("NaN")}
        assert isnan(jsonable_encoder(data)["value"])
    
    
    def test_decimal_encoder_infinity():
        data = {"value": Decimal("Infinity")}
        assert isinf(jsonable_encoder(data)["value"])
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

          slope = (coldIntervalMicros - stableIntervalMicros) / (maxPermits - thresholdPermits);
          if (oldMaxPermits == Double.POSITIVE_INFINITY) {
            // if we don't special-case this, we would get storedPermits == NaN, below
            storedPermits = 0.0;
          } else {
            storedPermits =
                (oldMaxPermits == 0.0)
                    ? maxPermits // initial state is cold
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

            MessageBuilder builder = new DefaultMessageBuilder();
            format.formatRate(builder, -1.0);
            assertEquals("? B/s", builder.build());
    
            // Test NaN
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, Double.NaN);
            assertEquals("? B/s", builder.build());
    
            // Test Infinity
            builder = new DefaultMessageBuilder();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

        }
    
        @Test
        public void test_execute_withNaNBoost() {
            // Test execute method with NaN boost value
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = Float.NaN;
    
            QueryBuilder result = matchAllQueryCommand.execute(context, query, boost);
    
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  9. lib/wasm/wasm_exec.js

    			}
    			this._inst = instance;
    			this.mem = new DataView(this._inst.exports.mem.buffer);
    			this._values = [ // JS values that Go currently has references to, indexed by reference id
    				NaN,
    				0,
    				null,
    				true,
    				false,
    				globalThis,
    				this,
    			];
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/moment-with-locales.min.js

    (a._offset)||(e._offset=a._offset),r(a._pf)||(e._pf=L(a)),r(a._locale)||(e._locale=a._locale),0<f.length)for(t=0;t<f.length;t++)r(n=a[s=f[t]])||(e[s]=n);return e}function k(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===a&&(a=!0,M.updateOffset(this),a=!1)}function D(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function T(e){!1===M.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 360.5K bytes
    - Click Count (2)
Back to Top