Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for floatValue (0.07 seconds)

  1. src/main/java/org/codelibs/fess/query/QueryCommand.java

            defaultQuery.add(builder.apply(fessConfig.getIndexFieldTitle(), fessConfig.getQueryBoostTitleAsDecimal().floatValue()));
            defaultQuery.add(builder.apply(fessConfig.getIndexFieldContent(), fessConfig.getQueryBoostContentAsDecimal().floatValue()));
            final float importantContentBoost = fessConfig.getQueryBoostImportantContentAsDecimal().floatValue();
            if (importantContentBoost >= 0.0f) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            try {
                String intValue = fessConfig.get(intKey);
                assertEquals("123", intValue);
    
                String floatValue = fessConfig.get(floatKey);
                assertEquals("45.67", floatValue);
            } finally {
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + intKey);
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + floatKey);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          at.set(x);
          assertEquals((long) x, at.longValue());
        }
      }
    
      /** floatValue returns current value. */
      public void testFloatValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0.0f, at.floatValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((float) x, at.floatValue());
        }
      }
    
      /** doubleValue returns current value. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                defaultQuery.add(QueryBuilders.fuzzyQuery(fessConfig.getIndexFieldTitle(), text)
                        .boost(fessConfig.getQueryBoostFuzzyTitleAsDecimal().floatValue())
                        .prefixLength(fessConfig.getQueryBoostFuzzyTitlePrefixLengthAsInteger())
                        .transpositions(Constants.TRUE.equalsIgnoreCase(fessConfig.getQueryBoostFuzzyTitleTranspositions()))
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
          assertWithMessage("Float value of %s", unsignedValue)
              .that(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                    final int thumbnailHeight = (int) ((height > width ? width : height)
                            * fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger().floatValue() / width);
                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
                    thumbnail.getGraphics()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. 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());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
        @Test
    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)
  8. android/guava/src/com/google/common/primitives/Floats.java

        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code float}
       * value in the manner of {@link Number#floatValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    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)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

        private float getFloatValue(String s, String attribute, XmlPullParser parser, boolean strict)
                throws XmlPullParserException {
            if (s != null) {
                try {
                    return Float.valueOf(s).floatValue();
                } catch (NumberFormatException nfe) {
                    if (strict) {
                        throw new XmlPullParserException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

            final Object value = map.get(key);
            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)
Back to Top