Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for formatter (0.05 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
         * @param discloser the mail posting discloser
         * @return the formatted Slack message
         */
        protected String toSlackMessage(final SMailPostingDiscloser discloser) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"text\":\"");
            buf.append(LF);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        /**
         * Add a header with the specified name and formatted date. Does validation of header names and
         * value.
         */
        fun add(
          name: String,
          value: Date,
        ) = add(name, value.toHttpDateString())
    
        /**
         * Add a header with the specified name and formatted instant. Does validation of header names
         * and value.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

        /**
         * The message code.
         */
        private final String messageCode;
    
        /**
         * The arguments for the message.
         */
        private final Object[] args;
    
        /**
         * The formatted message.
         */
        private final String message;
    
        /**
         * The simple message without the message code.
         */
        private final String simpleMessage;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

                loggers.put(clazz, logger);
            }
            return logger;
        }
    
        /**
         * Returns a formatted message string.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
         *            Arguments
         * @return Formatted message string
         */
        public static LogMessage format(final String messageCode, final Object... args) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        }
    
        /**
         * Creates an EditBody from a RelatedQuery entity for API responses.
         *
         * @param entity the RelatedQuery entity to convert
         * @return EditBody containing the entity data formatted for editing
         */
        protected EditBody createEditBody(final RelatedQuery entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

         how to go about it.
      2. All contributions must be licensed Apache 2.0 and all files must have a
         copy of the boilerplate license comment (can be copied from an existing
         file).
      3. Files should be formatted according to Google's [Java style guide][].
      4. Please squash all commits for a change into a single commit (this can be
         done using `git rebase -i`). Do your best to have a
         [well-formed commit message][] for the change.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          var s = typeSubtype.range.last + 1
          while (s < length) {
            val parameter = PARAMETER.matchAt(this, s)
            require(parameter != null) {
              "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
            }
    
            val name = parameter.groups[1]?.value
            if (name == null) {
              s = parameter.range.last + 1
              continue
            }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

        }
    
        /**
         * Creates a key-value item map for display.
         *
         * @param label the item label
         * @param value the item value
         * @return map containing the formatted key-value pair
         */
        protected static Map<String, String> createItem(final Object label, final Object value) {
            final Map<String, String> map = new HashMap<>(2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            String result = buf.toString();
            assertTrue(result.startsWith("\"timestamp\":\""));
            assertTrue(result.endsWith("\""));
            // Verify a timestamp was properly formatted
            assertNotNull(result);
            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
        // Test appendException method with simple exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top