- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for ParseFloat (0.12 seconds)
-
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) -
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) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
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) -
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) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString()); final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString()); final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString()); final List<String> tags = SuggestUtil.getAsList(source.get(FieldNames.TAGS)); final List<String> roles = SuggestUtil.getAsList(source.get(FieldNames.ROLES));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
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) { 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 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
if (value == null) { return defaultValue; } if (value instanceof Number numValue) { return numValue.floatValue(); } return Float.parseFloat(value.toString()); } /** * Gets a Double value from the map. * * @param map The source map * @param key The key to look up
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0) -
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());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
value, err := strconv.ParseUint(str, 0, 64) if err != nil { p.errorf("%s", err) } return value } func (p *Parser) atof(str string) float64 { value, err := strconv.ParseFloat(str, 64) if err != nil { p.errorf("%s", err) } return value } // EOF represents the end of input. var EOF = lex.Make(scanner.EOF, "EOF") func (p *Parser) next() lex.Token {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 17 19:57:47 GMT 2026 - 37.3K bytes - Click Count (0)