Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for ftruncate (0.06 seconds)

  1. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            assertNotNull(details);
            // Max 50 events displayed, message truncated to 200 chars
            assertTrue(details.contains("Total: 100 event(s) (showing 50)"));
            assertTrue(details.contains("... and 50 more"));
            // Long messages should be truncated with "..."
            assertTrue(details.contains("..."));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                sb.append("a");
            }
            String longScript = sb.toString();
    
            String result = activityHelper.normalizeScript(longScript);
    
            // Should be truncated to 100 characters (97 + "...")
            assertEquals(100, result.length());
            assertTrue(result.endsWith("..."));
        }
    
        @Test
        public void test_normalizeScript_exactlyMaxLength() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

         * @param maxDisplayEvents the maximum number of events to display
         * @param maxMessageLength the maximum length of each log message
         * @return the formatted details string with summary header and truncated entries
         */
        protected String formatDetails(final List<LogNotificationEvent> events, final int maxDetailsLength, final int maxDisplayEvents,
                final int maxMessageLength) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. .teamcity/scripts/CheckBadMerge.java

                if (s == null) return "null";
                String t = s.replace("\n", "\\n");
                if (t.length() > 500) {
                    return t.substring(0, 500) + "...(truncated)";
                }
                return t;
            }
        }
    
        private static ExecResult exec(String[] command) throws IOException, InterruptedException, ExecutionException {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("script", normalizeScript(script));
            log(valueMap);
        }
    
        /**
         * Normalize script content for logging.
         * Replaces control characters and truncates if too long.
         * @param script The script content.
         * @return The normalized script content.
         */
        protected String normalizeScript(final String script) {
            if (script == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return fessConfig.getCrawlerDocumentSpaceCharsAsArray();
        }
    
        /**
         * Creates a digest (abbreviated summary) of document content.
         * Truncates and normalizes content to create a summary suitable for display.
         *
         * @param responseData the response data from crawling (not currently used)
         * @param content the content to create a digest from
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            }
          };
    
      /**
       * A Throwable used to record a stack trace that illustrates an example of a specific lock
       * acquisition ordering. The top of the stack trace is truncated such that it starts with the
       * acquisition of the lock in question, e.g.
       *
       * <pre>
       * com...ExampleStackTrace: LockB -&gt; LockC
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  8. src/main/resources/fess_config.properties

    # Highlight settings for RAG search.
    rag.chat.highlight.fragment.size=500
    rag.chat.highlight.number.of.fragments=3
    # History content mode for assistant messages (full, smart_summary, source_titles, source_titles_and_urls, truncated, none).
    rag.chat.history.assistant.content=smart_summary
    
    # Index Export
    index.export.path=/var/lib/fess/export
    index.export.exclude.fields=cache
    index.export.scroll.size=100
    index.export.format=html
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  9. doc/go_spec.html

    relationships:
    </p>
    
    <pre>
    x = q*y + r  and  |r| &lt; |y|
    </pre>
    
    <p>
    with <code>x / y</code> truncated towards zero
    (<a href="https://en.wikipedia.org/wiki/Modulo_operation">"truncated division"</a>).
    </p>
    
    <pre>
     x     y     x / y     x % y
     5     3       1         2
    -5     3      -1        -2
     5    -3      -1         2
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * The value is, e.g. smart_summary <br>
         * comment: History content mode for assistant messages (full, smart_summary, source_titles, source_titles_and_urls, truncated, none).
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getRagChatHistoryAssistantContent();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top