Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for floatValue (0.09 sec)

  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) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return new Float(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Integer) {
                return ((Integer) value).floatValue();
            }
            if (value instanceof Long) {
                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
            if (value != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
          assertWithMessage("Float value of " + unsignedValue)
              .that(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. 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()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
          assertWithMessage("Float value of " + unsignedValue)
              .that(unsignedValue.floatValue())
              .isEqualTo(unsignedValue.bigIntegerValue().floatValue());
        }
      }
    
      public void testDoubleValue() {
        for (long value : TEST_LONGS) {
          UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. 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));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. 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());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top