Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 516 for spaced (0.04 seconds)

  1. guava/src/com/google/common/base/Utf8.java

      /**
       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        }
    
        @Test
        public void test_getDetectText_whitespaceNormalization() {
            String text = "Text   with\tmultiple\n\r  spaces";
            String result = languageHelper.getDetectText(text);
            assertEquals("Text with multiple spaces", result);
        }
    
        @Test
        public void test_getSupportedLanguage_supported() {
            assertEquals("ja", 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)
  3. src/test/java/jcifs/smb/FileEntryTest.java

        }
    
        // Parameterized tests for String edge cases on getName
        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
            long expectedAllocationSize = 2048L;
            long expectedEndOfFile = 1536L;
            int expectedNumberOfLinks = 5;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

                        revision = readFirstLine(refFile);
                    } else if (Files.exists(gitDir.resolve("packed-refs"))) {
                        // Check packed references for commit ID
                        Pattern p = Pattern.compile("^([a-f0-9]{40}) " + refName + "$");
                        try (Stream<String> lines = Files.lines(gitDir.resolve("packed-refs"))) {
                            revision = lines.map(p::matcher)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

                flush();
                return;
            }
    
            if (end == buffer.length) {
                if (start != 0) {
                    // first try shifting the used buffer back to the beginning to make space
                    int len = end - start;
                    System.arraycopy(buffer, start, buffer, 0, len);
                    start = 0;
                    end = len;
                } else {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties

    maven.user.conf         = ${user.home}/.m2
    maven.project.conf      = ${session.rootDirectory}/.mvn
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-system.properties", \
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs

    org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
    org.eclipse.jdt.core.formatter.comment.line_length=140
    org.eclipse.jdt.core.formatter.lineSplit=140
    org.eclipse.jdt.core.formatter.tabulation.char=space
    org.eclipse.jdt.core.formatter.tabulation.size=4
    
    # Silence warnings about references to jdk internals. We intentionally use some
    # and have much tighter control of the warnings in the forbidden APIs gradle
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                    + "                        f\n"
                    + "g               g\n"
                    + "h\\u0020h\n"
                    + "\\   i=i\n"
                    + "j=\\   j\n"
                    + "space=\\   c\n"
                    + "\n"
                    + "dblbackslash=\\\\\n"
                    + "                        \n";
    
            java.util.Properties props1 = new java.util.Properties();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[20]; // Extra space to test offset
            int bufferIndex = 7; // Start at offset 7
            long expectedIndexNumber = 0xFEDCBA9876543210L;
    
            // Encode test data at offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top