- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 35 for trimEnd (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* boolean hasVersion = parent.child("version").isPresent(); * * // Get child text content * String version = parent.child("version") * .map(Element::textContent) * .orElse(null); * * // Get trimmed text content * String trimmedVersion = parent.child("version") * .map(Element::textContentTrimmed) * .orElse(null); * * // Set text content (fluent API) * element.textContent("4.0.0"); * }</pre> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
assertFalse(addresses[i].groupName); } } @Test void readRDataWireFormat_shouldTrimTrailingSpaces() throws Exception { // Test that trailing spaces (0x20) are trimmed from names byte[] src = new byte[50]; int srcIndex = 0; Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength"); rDataLengthField.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
// String might contain trimming spaces, which // needs to be trimmed. res, ok := strToInt(strings.TrimSpace(x)) if !ok { return 0, errCastFailure("could not parse as int") } return res, nil case []byte: // Parse as number, truncate floating point if // needed. // String might contain trimming spaces, which // needs to be trimmed. res, ok := strToInt(strings.TrimSpace(string(x))) if !ok {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
*/ public ExecJob logLevel(final String logLevel) { this.logLevel = logLevel; return this; } /** * Sets the log suffix for this job execution. * The suffix is trimmed and whitespace is replaced with underscores. * * @param logSuffix the suffix to append to log file names * @return this ExecJob instance for method chaining */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.2K 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) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java
String[][] readings = { { "spaces" } }; SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY); // Text is trimmed or kept as-is depending on implementation assertNotNull(item.getText()); } // ============================================================ // Tests for reading arrays edge cases
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Jan 17 05:10:37 GMT 2026 - 22.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* count. Hence, {@code Splitter.on(',').limit(3).omitEmptyStrings().split("a,,,b,,,c,d")} returns * an iterable containing {@code ["a", "b", "c,d"]}. When trim is requested, all entries are * trimmed, including the last. Hence {@code Splitter.on(',').limit(3).trimResults().split(" a , b * , c , d ")} results in {@code ["a", "b", "c , d"]}. * * @param maxItems the maximum number of items returnedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* count. Hence, {@code Splitter.on(',').limit(3).omitEmptyStrings().split("a,,,b,,,c,d")} returns * an iterable containing {@code ["a", "b", "c,d"]}. When trim is requested, all entries are * trimmed, including the last. Hence {@code Splitter.on(',').limit(3).trimResults().split(" a , b * , c , d ")} results in {@code ["a", "b", "c , d"]}. * * @param maxItems the maximum number of items returnedCreated: 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) -
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 - 54.4K bytes - Click Count (0)