Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for whitespace (0.2 sec)

  1. guava/src/com/google/common/io/CharStreams.java

        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>RelativePath Resolution</strong>: Resolves parent POMs via relativePath for artifactId inference</li>
     * </ul>
     *
     * <h3>Format Preservation</h3>
     * <ul>
     *   <li><strong>Whitespace Preservation</strong>: Maintains original formatting when removing elements</li>
     *   <li><strong>Comment Preservation</strong>: Preserves XML comments and processing instructions</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithWhitespaceOnly() {
            // Test analyze with whitespace only
            String text = "   ";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         */
        doExtensiveTest("testdata/simplifypathnoprefixtests.txt");
      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals("rule-id_with.special@chars#123", testRule.getRuleId());
    
            // Unicode characters
            testRule.setRuleId("ルール日本語");
            assertEquals("ルール日本語", testRule.getRuleId());
    
            // Whitespace
            testRule.setRuleId("  rule with spaces  ");
            assertEquals("  rule with spaces  ", testRule.getRuleId());
        }
    
        /**
         * Test multiple registrations of same rule
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("2025-01-01", sitemaps[0].getLastmod());
        }
    
        public void test_parseXmlSitemaps_withExtraWhitespace() {
            // Sitemap with extra whitespace should be trimmed
            final String xml =
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(lmhosts.getByName("HOST4", mockContext));
        }
    
        @Test
        void testPopulateWithWhitespace() throws Exception {
            // Create a temporary lmhosts file with various whitespace
            File lmhostsFile = tempDir.resolve("lmhosts_whitespace").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100    HOST1    \n");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            ContentTransformer transformer = new ContentTransformer("workflowTransformer");
            transformer.addTransformationRule("<[^>]+>", ""); // Remove HTML tags
            transformer.addTransformationRule("\\s+", " "); // Normalize whitespace
    
            // Simulate crawling response
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com/page.html");
            responseData.setParentUrl("http://example.com/");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top