Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for numeric (1.13 sec)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${special}";
            assertEquals("value$with\\backslash", ResourceUtil.resolve(value));
    
            // Test with numeric property names
            System.setProperty("123", "numeric");
            value = "${123}";
            assertEquals("numeric", ResourceUtil.resolve(value));
    
            // Test with underscores in property names
            System.setProperty("test_var", "underscore");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test getting numeric configuration values
        public void test_get_numericValues() {
            String intKey = "numeric.int";
            String floatKey = "numeric.float";
    
            System.setProperty(Constants.FESS_CONFIG_PREFIX + intKey, "123");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            FAILED(9);
    
            private final int id;
    
            Status(final int id) {
                this.id = id;
            }
    
            /**
             * Gets the numeric ID of the status.
             * @return The numeric ID of the status.
             */
            public int getId() {
                return id;
            }
        }
    
        /**
         * Represents the base API response structure.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        if (removalListener != null) {
          removalListener.onRemoval(RemovalNotification.create(key, value, cause));
        }
      }
    
      @SuppressWarnings("GoodTime") // timestamps as numeric primitives
      private V load(K key) throws ExecutionException {
        long startTime = ticker.read();
        V calculatedValue;
        try {
          calculatedValue = loader.load(key);
          put(key, calculatedValue);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            paramMap.put("level1", level1);
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("nested", result);
        }
    
        // Test evaluate method with numeric values
        public void test_evaluate_withNumericValues() {
            String template = "Result: ${number1} + ${number2} = ${sum}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("number1", 10);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Test with String data
            Map<String, Object> stringData = new HashMap<>();
            stringData.put("text", "test value");
            callback.store(params, stringData);
    
            // Test with numeric data
            Map<String, Object> numericData = new HashMap<>();
            numericData.put("integer", 123);
            numericData.put("long", 456L);
            numericData.put("double", 789.0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/StringUtil.java

            return buf.toString();
        }
    
        /**
         * Returns true if the string consists only of numeric characters.
         *
         * @param s
         *            the string to check
         * @return <code>true</code> if the string consists only of numeric characters
         */
        public static boolean isNumber(final String s) {
            if (isEmpty(s)) {
                return false;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

                assertFalse(opt.isPresent());
            }
        }
    
        public void test_ofNullable_edgeCaseValues() {
            // Test with special numeric values
            OptionalEntity<Double> nanOpt = OptionalUtil.ofNullable(Double.NaN);
            assertTrue(nanOpt.isPresent());
            assertTrue(Double.isNaN(nanOpt.get()));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
        public void xtest_getTimeAdjustTimeMillisAsLong_variousValues() {
            // Test negative value
            FessEnv.SimpleImpl negativeEnv = new FessEnv.SimpleImpl() {
    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. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            assertEquals("default", fessConfig.get(FessConfig.search_engine_TYPE));
            assertEquals("http://localhost:9201", fessConfig.get(FessConfig.search_engine_HTTP_URL));
        }
    
        // Test numeric conversions
        public void test_numericConversions() {
            // Test integer conversion
            Integer heartbeatInterval = fessConfig.getSearchEngineHeartbeatIntervalAsInteger();
            assertNotNull(heartbeatInterval);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top