- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 102 for Whitespace (0.35 seconds)
-
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); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; import static com.google.common.base.CharMatcher.whitespace; import static com.google.common.truth.Truth.assertThat; import static java.nio.charset.StandardCharsets.US_ASCII; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertThrows;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/core/text/Tokenizer.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 8.8K bytes - Click Count (0) -
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) -
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) -
CONTRIBUTING.md
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted, create a separate PR for this change. + Check for unnecessary whitespace with `git diff --check` before committing. + Make sure you have added the necessary tests (JUnit/[Core IT tests][core-it]) for your changes.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 09:55:33 GMT 2025 - 4.2K bytes - Click Count (0) -
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)