Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 36 for trimEnd (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertNull(doc.get("content_ja")); // content field was not present
        }
    
        @Test
        public void test_getSupportedLanguage_withWhitespace() {
            // Test that whitespace is not trimmed (as per implementation)
            assertNull(languageHelper.getSupportedLanguage(" ja "));
            assertNull(languageHelper.getSupportedLanguage("ja "));
            assertNull(languageHelper.getSupportedLanguage(" ja"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  5. 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)
  6. cmd/handler-utils.go

    			// parameter for a streaming signature which is set
    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    			// Trimmed content encoding is empty when the header
    			// value is set to "aws-chunked" only.
    
    			// Make sure to delete the content-encoding parameter
    			// for a streaming signature which is set to value
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  7. 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
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  8. 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 returned
    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)
  9. cmd/utils.go

    	if err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    
    	return path2BucketObject(path)
    }
    
    // path2BucketObjectWithBasePath returns bucket and prefix, if any,
    // of a 'path'. basePath is trimmed from the front of the 'path'.
    func path2BucketObjectWithBasePath(basePath, path string) (bucket, prefix string) {
    	path = strings.TrimPrefix(path, basePath)
    	path = strings.TrimPrefix(path, SlashSeparator)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  10. 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)
Back to Top