Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Haines (0.24 sec)

  1. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("no newlines at all", "no newlines at all");
        bufferHelper("two lines\nbut no newline at end", "two lines\n", "but no newline at end");
        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharStreams.java

        if (r instanceof Reader) {
          copyReaderToBuilder((Reader) r, sb);
        } else {
          copy(r, sb);
        }
        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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the {@link LineProcessor} to use to handle the lines
       * @return the output of processing the lines
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator.
       * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string
       * into lines whether it uses DOS-style or UNIX-style line terminators.
       *
       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
       *     pattern may not match the empty string.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
         * --- cat testcases | while read L; do
         *       X=($L)
         *       A=$( cd /b/c && sudo mkdir -p ${X[0]} && cd ${X[0]} && pwd |
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         * --- System.out.println(input + " " + simplifyPath(input));
         * --- fail(). (If the test were to pass, its output would be hidden.)
         * - Run the test.
         * - Pull the relevant lines of output from the test into a testcases file.
         * - Test the output:
         * --- cat testcases | while read L; do
         *       X=($L)
         *       A=$( cd /b/c && sudo mkdir -p ${X[0]} && cd ${X[0]} && pwd |
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTester.java

        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testLines() throws IOException {
        try (Stream<String> lines = source.lines()) {
          assertExpectedLines(lines.collect(toImmutableList()));
        }
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

        PlexusContainer container;
    
        @Test
        void testAptConsistency() throws Exception {
            File apt = getTestFile("src/site/apt/artifact-handlers.apt");
    
            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineProcessor.java

       */
      @CanIgnoreReturnValue // some uses know that their processor never returns false
      boolean processLine(String line) throws IOException;
    
      /** Return the result of processing all the lines. */
      @ParametricNullness
      T getResult();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
                    String[] inputs;
                    String[] outputs;
    
                    final List<String> sides = split(line, "=>");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top