Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Whitespace (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          var whitespace = false
          afterBoundaryLoop@while (true) {
            when (source.select(afterBoundaryOptions)) {
              0 -> {
                // "\r\n": We've found a new part.
                partCount++
                break@afterBoundaryLoop
              }
    
              1 -> {
                // "--": No more parts.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

        val headers =
          Headers
            .Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.BitSet;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for the {@link CharMatcher#whitespace} implementation. */
    @NullUnmarked
    public class WhitespaceMatcherBenchmark {
      private static final int STRING_LENGTH = 10000;
    
      private static final String OLD_WHITESPACE_TABLE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test name with whitespace variations
         */
        public void test_name_whitespace() {
            // Leading whitespace
            testTransformer.setName("  leadingSpaces");
            assertEquals("  leadingSpaces", testTransformer.getName());
    
            // Trailing whitespace
            testTransformer.setName("trailingSpaces  ");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. .golangci.yml

    version: "2"
    
    linters:
      default: standard
      enable:
        - cyclop
        - gocritic
        - gosec
        - ineffassign
        - misspell
        - prealloc
        - unconvert
        - unparam
        - whitespace
    
    formatters:
      enable:
        - gofumpt
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 17 03:55:13 UTC 2025
    - 241 bytes
    - Viewed (0)
  8. .golangci.yml

        - forcetypeassert
        - gocritic
        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - unconvert
        - unused
        - usetesting
        - whitespace
      settings:
        misspell:
          locale: US
        staticcheck:
          checks:
            - all
            - -SA1008
            - -SA1019
            - -SA4000
            - -SA9004
            - -ST1000
            - -ST1005
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top