Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 922 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

     * File System Control Code (FSCC) structure for File Rename Information.
     * Used in SMB2/SMB3 set file information operations to rename files or directories,
     * with support for specifying whether to replace existing files with the same name.
     *
     * @author mbechler
     */
    public class FileRenameInformation2 implements FileInformation {
    
        private boolean replaceIfExists;
        private String fileName;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                doc.put(HL_CACHE, StringUtil.EMPTY);
            }
    
            try {
                final Template template = handlebars.compile(cacheTemplateName);
                final Context hbsContext = Context.newContext(doc);
                return template.apply(hbsContext);
            } catch (final Exception e) {
                logger.warn("Failed to create a cache response.", e);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

                curFlags |= 0x2; // MAC present
                AvPairs.replace(serverAvPairs, new AvFlags(curFlags));
            }
    
            AvPairs.replace(serverAvPairs, new AvTimestamp(ts));
    
            if (targetName != null) {
                AvPairs.replace(serverAvPairs, new AvTargetName(targetName));
            }
    
            // possibly add channel bindings
            AvPairs.replace(serverAvPairs, new AvPair(0xa, new byte[16]));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                    it.remove();
                }
            }
        }
    
        /**
         * Replace all occurances of the given type
         *
         * @param pairs the list of AV pairs to modify
         * @param rep the replacement AV pair
         */
        public static void replace(final List<AvPair> pairs, final AvPair rep) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top