- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for truncatedTo (0.08 seconds)
-
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
// Empty titles => suffix is empty => falls back to truncated assertEquals("Some content here that is quite long enough to be truncated.", result); } // ========== additional truncated tests ========== @Test public void test_truncated_nullContent() { final ChatMessage msg = ChatMessage.assistantMessage(null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
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/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
} truncated = true; break; } documentContent.append(docEntry); totalChars += docEntry.length(); } if (logger.isDebugEnabled()) { logger.debug("[RAG:ANSWER] generateSummaryResponse. documentContentLength={}, truncated={}", totalChars, truncated); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K 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/chat/ChatClient.java
* * @param msg the assistant chat message * @param mode the content mode (full, smart_summary, source_titles, source_titles_and_urls, truncated, none) * @param assistantMaxChars the maximum characters for truncated mode * @param summaryMaxChars the maximum characters for summary modes * @return the content string for history, or null if the message should be excluded */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K 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/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
callback.onChunk("response", true); }); client.generateSummaryResponse("summarize", documents, history, (chunk, done) -> {}); // The document content in system message should be truncated final String systemMsg = captured.toString(); // Not all 10 documents should be fully included int docCount = 0; int fromIndex = 0;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
} return null; } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private void addPendingString(StringBuilder builder) { // Capture current builder length so it can be truncated if this future ends up completing while // the toString is being calculated int truncateLength = builder.length(); builder.append("PENDING"); @RetainedLocalRef Object localValue = value();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K 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)