Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,169 for value_c (0.05 sec)

  1. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime();
            case Boolean b -> b ? 1L : 0L;
            default -> toLong(o.toString());
            };
        }
    
        private static Long toLong(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Long.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertTrue("Should have FILE protocol type", hasFile);
        }
    
        // Test ProtocolType valueOf
        public void test_protocolTypeValueOf() {
            assertEquals("valueOf(\"WEB\") should return WEB", ProtocolType.WEB, ProtocolType.valueOf("WEB"));
            assertEquals("valueOf(\"FILE\") should return FILE", ProtocolType.FILE, ProtocolType.valueOf("FILE"));
        }
    
        // Test ProtocolType name
        public void test_protocolTypeName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                }
    
                @Override
                public Integer getAsInteger(String propertyKey) {
                    String value = get(propertyKey);
                    if (value == null) {
                        return null;
                    }
                    try {
                        return Integer.valueOf(value);
                    } catch (NumberFormatException e) {
                        return null;
                    }
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigDecimalMath.java

       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

                @Override
                public int getLtrWindowSize() {
                    return 50;
                }
            });
    
            Map<String, Object> params = new HashMap<>();
            params.put("param1", "value1");
    
            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        public void test_evaluate_withNullModelName() {
            // Test when model name is null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5))));
      }
    
      public void testEntrySetMutationThrows() {
        map.putInstance(String.class, "test");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

                Map<String, Object> doc = result.getDocumentList().get(i);
                assertEquals(String.valueOf(i), doc.get("id"));
                assertEquals(i, doc.get("index"));
            }
        }
    
        public void test_toString() {
            // Test toString method
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", "value");
            List<Map<String, Object>> documentList = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                }
            }
        }
    
        private static String[] splitLine(final String value) {
            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            final String[] values = value.split("[\r\n]");
            final List<String> list = new ArrayList<>(values.length);
            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            };
            assertEquals(Long.valueOf(31556926000L), yearEnv.getTimeAdjustTimeMillisAsLong());
    
            // Test maximum long value
            FessEnv.SimpleImpl maxEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.TIME_ADJUST_TIME_MILLIS, String.valueOf(Long.MAX_VALUE));
                    return props;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      /** Previous version of BigIntegerMath.factorial, kept for timing purposes. */
      private static BigInteger oldSlowFactorial(int n) {
        if (n <= 20) {
          return BigInteger.valueOf(LongMath.factorial(n));
        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top