Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for WHITESPACE (0.18 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `skip whitespace after boundary`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      val result = copyOf(size + 1)
      result[result.lastIndex] = value
      return result as Array<String>
    }
    
    /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */
    internal fun String.indexOfFirstNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        when (this[i]) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNull(result);
        }
    
        public void test_evaluate_withWhitespaceModelName() {
            // Test when model name contains only whitespace
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getLtrModelName() {
                    return "   ";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/text/Tokenizer.java

         *            The character code.
         */
        protected static void wordChar(final byte[] ctype2, final int val) {
            ctype2[val] |= CT_ALPHA;
        }
    
        /**
         * Sets characters as whitespace.
         *
         * @param ctype2
         *            The array of character types.
         * @param low
         *            The minimum character code.
         * @param hi
         *            The maximum character code.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput(newSpecialInput);
            assertEquals(newSpecialInput, item.toLineString());
        }
    
        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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top