Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 119 for rwhitespace (0.06 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
                }
                prev = c;
            }
            final String[] words = buf.toString().trim().split(" ");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertThat(xmlEscaper.escape(s)).isEqualTo(s);
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        @Test
        public void test_evaluate_withWhitespaceModelName() {
            // Test when model name contains only whitespace
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLtrModelName() {
                    return "   ";
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertThat(xmlEscaper.escape(s)).isEqualTo(s);
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. src/bytes/iter.go

    // It returns a single-use iterator.
    func SplitAfterSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, len(sep))
    }
    
    // FieldsSeq returns an iterator over subslices of s split around runs of
    // whitespace characters, as defined by [unicode.IsSpace].
    // The iterator yields the same subslices that would be returned by [Fields](s),
    // but without constructing a new slice containing the subslices.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("  ", new HtmlNext("/test"));
            assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank
        }
    
        @Test
        public void test_getVirtualHostKey() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

        /**
         * Whether to exclude properties with null values from the operation.
         */
        protected boolean excludesNull = false;
    
        /**
         * Whether to exclude strings that consist only of whitespace from the operation.
         */
        protected boolean excludesWhitespace = false;
    
        /**
         * The prefix.
         */
        protected String prefix;
    
        /**
         * Delimiter for JavaBeans.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. 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 "));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertEquals(5, readings.size()); // Should be limited to 5
        }
    
        @Test
        public void testConvertWithWhitespace() throws IOException {
            // Test convert with various whitespace
            converter.init();
            String text = "  test  \n\t  text  ";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput(newSpecialInput);
            assertEquals(newSpecialInput, item.toLineString());
        }
    
        @Test
        public void test_whitespaceHandling() {
            // Test with various whitespace
            StopwordsItem item1 = new StopwordsItem(1, " ");
            assertEquals(" ", item1.getInput());
            assertEquals(" ", item1.toLineString());
    
            StopwordsItem item2 = new StopwordsItem(2, "\t\n\r");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top