Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for parseFloat (0.18 sec)

  1. docs/en/docs/js/termynal.js

                || parseFloat(this.container.getAttribute(`${this.pfx}-startDelay`)) || 600;
            this.originalTypeDelay = this.typeDelay = options.typeDelay
                || parseFloat(this.container.getAttribute(`${this.pfx}-typeDelay`)) || 90;
            this.originalLineDelay = this.lineDelay = options.lineDelay
                || parseFloat(this.container.getAttribute(`${this.pfx}-lineDelay`)) || 1500;
    JavaScript
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            } else if (o instanceof String) {
                return toPrimitiveFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Float.parseFloat(new SimpleDateFormat(pattern).format(o));
                }
                return ((java.util.Date) o).getTime();
            } else {
                return toPrimitiveFloat(o.toString());
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

                return ((Float) value);
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                return Float.parseFloat(value.toString());
            }
    
            return 0.0f;
        }
    
        public String getBoostExpression() {
            return boostExpression;
        }
    
        public void setBoostExpression(final String expression) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                            elevateWord.setReading(reading);
                            elevateWord.setPermissions(permissions);
                            elevateWord.setBoost(StringUtil.isBlank(boost) ? 1.0f : Float.parseFloat(boost));
                            elevateWord.setCreatedBy(Constants.SYSTEM_USER);
                            elevateWord.setCreatedTime(now);
                            elevateWordBhv.insert(elevateWord);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.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 getConfigId() {
            return ConfigType.WEB.getConfigId(getId());
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

       *
       * <p>Unlike {@link Float#parseFloat(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Valid inputs are exactly those accepted by {@link
       * Float#valueOf(String)}, except that leading and trailing whitespace is not permitted.
       *
       * <p>This implementation is likely to be faster than {@code Float.parseFloat} if many failures
       * are expected.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.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 getConfigId() {
            return ConfigType.FILE.getConfigId(getId());
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
            assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue());
            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. internal/config/scanner/scanner.go

    	delay := env.Get(EnvDelayLegacy, "")
    	if delay == "" {
    		delay = env.Get(EnvDelay, kvs.GetWithDefault(Delay, DefaultKVS))
    	}
    	cfg.Delay, err = strconv.ParseFloat(delay, 64)
    	if err != nil {
    		return err
    	}
    	maxWait := env.Get(EnvMaxWaitLegacy, "")
    	if maxWait == "" {
    		maxWait = env.Get(EnvMaxWait, kvs.GetWithDefault(MaxWait, DefaultKVS))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. 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
            return Constants.TRUE;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top