- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 49 for trimmed (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/entity/ChatSession.java
// Ensure trimmed history starts with a user message, not an assistant message if (start < messages.size() && ChatMessage.ROLE_ASSISTANT.equals(messages.get(start).getRole())) { start = Math.max(0, start - 1); } final List<ChatMessage> trimmed = new ArrayList<>(messages.subList(start, messages.size()));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
String input = " trimmed line \n\tanother\t"; InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)); InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null); thread.start(); thread.join(1000); assertTrue(thread.contains("trimmed line")); assertTrue(thread.contains("another"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
override fun toString(): String = version.get() } group = "org.gradle" version = LazyProjectVersion(gradleModule.identity.version.map { it.version }) /** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): Provider<String> =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
assertNotNull(result); assertTrue(result.contains("Test Subject")); assertTrue(result.contains("Test Content")); // Should be trimmed assertFalse(result.contains(" Test Subject ")); assertFalse(result.contains(" Test Content ")); } @Test public void test_toGoogleChatMessage_withBasicContent() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10); assertEquals(1, result.size()); CharMappingItem item = result.get(0); // Individual input elements are not trimmed after split assertArrayEquals(new String[] { "a ", " b" }, item.getInputs()); assertEquals("c", item.getOutput()); } // Test update method with InputStream @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* * @param trimmer a {@link CharMatcher} that determines whether a character should be removed from * the beginning/end of a subsequence * @return a splitter with the desired configuration */ // TODO(kevinb): throw if a trimmer was already specified! public Splitter trimResults(CharMatcher trimmer) { checkNotNull(trimmer);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
// system + 6 history (last 6: Q2,A2,Q3,A3,Q4,A4) + user = 8 messages assertEquals(8, messages.size()); // First history message should be Q2 (Q1,A1 trimmed) assertEquals("Q2", messages.get(1).getContent()); assertEquals("A2", messages.get(2).getContent()); assertEquals("Q3", messages.get(3).getContent());
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/base/CharMatcher.java
* basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner. * * <p>Example usages: * * <pre> * String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput); * if ({@link #ascii() ascii()}.{@link #matchesAllOf matchesAllOf}(s)) { ... }</pre> * * <p>See the Guava User Guide article on <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.9K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
</field> <field> <description> <![CDATA[ <p>The configuration as DOM object.</p> <p>By default, every element content is trimmed, but starting with Maven 3.1.0, you can add {@code xml:space="preserve"} to elements you want to preserve whitespace.</p>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 17 09:48:21 GMT 2026 - 133.5K bytes - Click Count (0)