Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for whitespace (0.06 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. .golangci.yml

    version: "2"
    
    linters:
      default: standard
      enable:
        - cyclop
        - gocritic
        - gosec
        - ineffassign
        - misspell
        - prealloc
        - unconvert
        - unparam
        - whitespace
    
    formatters:
      enable:
        - gofumpt
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Apr 17 03:55:13 UTC 2025
    - 241 bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

        @DisplayName("Edge Cases")
        class EdgeCases {
    
            @Test
            @DisplayName("should handle POM with only whitespace elements")
            void shouldHandlePOMWithWhitespaceElements() throws Exception {
                String pomXml = PomBuilder.create()
                        .groupId("   ") // whitespace-only groupId
                        .artifactId("test-project")
                        .version("1.0.0")
                        .build();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. 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;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

     * </p>
     * <p>
     * The class supports various XPath result types, including BOOLEAN, NUMBER, STRING, NODESET, and NODE.
     * It also provides options to trim whitespace from extracted values and to specify the character encoding for the output.
     * </p>
     * <p>
     * The {@link #getData(AccessResultData)} method allows retrieving the transformed data as a String (XML content),
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. .pre-commit-config.yaml

        hooks:
          - id: check-added-large-files
            args: ['--maxkb=750']
          - id: check-toml
          - id: check-yaml
            args:
            - --unsafe
          - id: end-of-file-fixer
          - id: trailing-whitespace
    
      - repo: local
        hooks:
          - id: local-ruff-check
            name: ruff check
            entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
            require_serial: true
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  7. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. .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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top