- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for truncatedTo (0.07 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
val fileBuilder = StringBuilder(key).append('.') val truncateTo = fileBuilder.length for (i in 0 until valueCount) { fileBuilder.append(i) cleanFiles += directory / fileBuilder.toString() fileBuilder.append(".tmp") dirtyFiles += directory / fileBuilder.toString() fileBuilder.setLength(truncateTo) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 34.7K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} } } override fun peekTrailers(): Headers? { if (trailers === TRAILERS_RESPONSE_BODY_TRUNCATED) { throw IOException("Trailers cannot be read because the response body was truncated") } check(state == STATE_READING_RESPONSE_BODY || state == STATE_CLOSED) { "Trailers cannot be read because the state is $state" } return trailers }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
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) -
.teamcity/scripts/CheckWrapper.java
} private static String summarize(String s) { 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... cmd) throws IOException, InterruptedException, ExecutionException { Objects.requireNonNull(cmd, "cmd");Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K 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)