Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for Whitespace (0.08 sec)

  1. .pre-commit-config.yaml

        rev: v6.0.0
        hooks:
        -   id: check-added-large-files
        -   id: check-toml
        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    -   repo: https://github.com/astral-sh/ruff-pre-commit
        rev: v0.12.10
        hooks:
        -   id: ruff
            args:
            - --fix
        -   id: ruff-format
    ci:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 25 20:03:02 UTC 2025
    - 735 bytes
    - Viewed (1)
  2. 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)
  3. 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)
  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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40: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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/asm/internal/lex/tokenizer.go

    }
    
    func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer {
    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top