- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for ftruncate (0.31 seconds)
-
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("...")); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
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) -
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) -
.teamcity/scripts/CheckBadMerge.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
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) -
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) -
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 -> LockCCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
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) -
doc/go_spec.html
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) -
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)