Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 984 for emplace (0.04 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("", result);
        }
    
        // Test evaluate method with null template
        public void test_evaluate_withNullTemplate() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/RelationshipTester.java

      }
    
      private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) {
        if (!condition) {
          throw new AssertionFailedError(
              template
                  .replace("$RELATIONSHIP", relationshipName)
                  .replace("$HASH", hashName)
                  .replace("$ITEM", itemReporter.reportItem(item))
                  .replace("$OTHER", itemReporter.reportItem(other)));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                if (value == null) {
                    return u;
                }
                return value.toString();
            };
        }
    
        /**
         * Replaces URL using the given path mapping list.
         *
         * @param pathMappingList the path mapping list
         * @param url the URL to replace
         * @return the replaced URL
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

      }
    
      private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) {
        if (!condition) {
          throw new AssertionFailedError(
              template
                  .replace("$RELATIONSHIP", relationshipName)
                  .replace("$HASH", hashName)
                  .replace("$ITEM", itemReporter.reportItem(item))
                  .replace("$OTHER", itemReporter.reportItem(other)));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "orig", names);
        }
    
        /**
         * Gets the path to email template files directory.
         *
         * @param names the path components to append to the mail template directory
         * @return the Path object pointing to the mail template directory
         */
        public static Path getMailTemplatePath(final String... names) {
            return getPath("WEB-INF/", "mail", names);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                this.prefix = prefix + ":";
            }
    
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                this.lastScript = template;
                this.lastParams = paramMap;
                return prefix + "processed: " + template;
            }
    
            public String getLastScript() {
                return lastScript;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * Convert the value.
         * @param scriptType The script type.
         * @param template The template.
         * @param paramMap The parameters.
         * @return The converted value.
         */
        protected Object convertValue(final String scriptType, final String template, final Map<String, Object> paramMap) {
            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * Puts data into the result data map after processing it through a template script.
         * The template is evaluated using the specified script engine with the value and context.
         *
         * @param dataMap the data map to modify
         * @param key the key to store the processed value under
         * @param value the original value to process
         * @param template the template script to evaluate
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java

      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            public Object evaluate(String template, Map<String, Object> paramMap) {
                return "TestEngine[" + identifier + "]: " + template;
            }
        }
    
        private static class CustomScriptEngine implements ScriptEngine {
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                return "CustomEngine: " + template;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top