Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for WHITESPACE (0.53 sec)

  1. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

            sb.append((char) (base + offset));
          }
        }
        ALL_DIGITS = sb.toString();
      }
    
      /** Sample CharMatcher instances for benchmarking. */
      public enum SampleMatcherConfig {
        WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS),
        HASH(CharMatcher.is('#'), "#"),
        ASCII(CharMatcher.ascii(), ASCII_CHARACTERS),
        WESTERN_DIGIT("0123456789"),
        ALL_DIGIT(CharMatcher.digit(), ALL_DIGITS),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/CharMatcher.java

       * of several definitions of "whitespace"</a>.)
       *
       * <p>All Unicode White_Space characters are on the BMP and thus supported by this API.
       *
       * <p><b>Note:</b> as the Unicode definition evolves, we will modify this matcher to keep it up to
       * date.
       *
       * @since 19.0 (since 1.0 as constant {@code WHITESPACE})
       */
      public static CharMatcher whitespace() {
        return Whitespace.INSTANCE;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/xml/XmlEscapers.java

       * element content or {@link #xmlAttributeEscaper} in attribute values.
       *
       * <p>This escaper substitutes {@code 0xFFFD} for non-whitespace control characters and the
       * character values {@code 0xFFFE} and {@code 0xFFFF} which are not permitted in XML. For more
       * detail see section <a href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    "word1\n" + "  \n" + // whitespace line (may be treated as content)
                    "# Another comment\n" + "word2\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload and verify
            protwordsFile.reload(null);
    
            PagingList<ProtwordsItem> result = protwordsFile.selectList(0, 10);
            // Whitespace-only lines may be treated as entries
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

            return new CopyOptions().excludeNull();
        }
    
        /**
         * Returns a {@link CopyOptions} that excludes properties with whitespace values from the operation.
         *
         * @return A {@link CopyOptions} that excludes properties with whitespace values from the operation.
         * @see CopyOptions#excludeWhitespace()
         */
        public static CopyOptions excludeWhitespace() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with whitespace around keys and values
            value = "  key1  =  value1  \n  key2=value2\n";
            paramMap = ParameterUtil.parse(value);
            assertEquals(2, paramMap.size());
            assertEquals("value1", paramMap.get("key1"));
            assertEquals("value2", paramMap.get("key2"));
    
            // Test with empty lines and mixed whitespace
            value = "key1=value1\n\n\t\nkey2=value2\n \n";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

    import static com.google.common.base.CharMatcher.is;
    import static com.google.common.base.CharMatcher.isNot;
    import static com.google.common.base.CharMatcher.noneOf;
    import static com.google.common.base.CharMatcher.whitespace;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Sets;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/SplitterTest.java

            .inOrder();
      }
    
      public void testCharacterSplitWithMatcherDelimiter() {
        Iterable<String> testCharacteringMotto =
            Splitter.on(CharMatcher.whitespace()).split("Testing\nrocks\tDebugging sucks");
        assertThat(testCharacteringMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withWhitespaceType() {
            // Test constructor with whitespace in type
            String type = "  Bearer Token  ";
            String message = "Whitespace in token type";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals("  Bearer Token  ", exception.getType());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            tags = PrunedTag.parse(null);
            assertEquals(0, tags.length);
    
            // Test whitespace only
            tags = PrunedTag.parse("   ");
            assertEquals(0, tags.length);
    
            // Test commas only
            tags = PrunedTag.parse(",,,");
            assertEquals(0, tags.length);
    
            // Test mixed whitespace and commas
            tags = PrunedTag.parse(" , , , ");
            assertEquals(0, tags.length);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top