Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for ParseFloat (0.16 seconds)

  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;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 10:32:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

         * @return The setting value as a float.
         */
        public float getAsFloat(final String key, final float defaultValue) {
            return getAs(key, defaultValue, Float::parseFloat);
        }
    
        /**
         * Retrieves a setting value as a boolean.
         * @param key The key of the setting.
         * @param defaultValue The default value if the setting is not found.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. 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());
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. internal/s3select/sql/funceval.go

    	case float64:
    		return x, nil
    	case int64:
    		return float64(x), nil
    	case string:
    		f, err := strconv.ParseFloat(strings.TrimSpace(x), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    		return f, nil
    	case []byte:
    		f, err := strconv.ParseFloat(strings.TrimSpace(string(x)), 64)
    		if err != nil {
    			return 0, errCastFailure("could not parse as float")
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
                try {
                    return Float.parseFloat(value.toString());
                } catch (final NumberFormatException e) {
                    logger.warn("Failed to parse boost value: expression={}, value={}", boostExpression, value, e);
                    return 0.0f;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

                if (elevateWord != null && boost != null && readings != null && fields != null) {
                    elevateWords[i] =
                            new ElevateWord(elevateWord.toString(), Float.parseFloat(boost.toString()), readings, fields, tags, roles);
                }
            }
            return elevateWords;
        }
    
        /**
         * Add an elevate word.
         * @param elevateWord Elevate word
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/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) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/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) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
Back to Top