Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for LineReader (0.08 sec)

  1. android/guava/src/com/google/common/io/LineReader.java

     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class LineReader {
      private final Readable readable;
      @CheckForNull private final Reader reader;
      private final CharBuffer cbuf = createBuffer();
      private final char[] buf = cbuf.array();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharStreams.java

       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(Readable r) throws IOException {
        List<String> result = new ArrayList<>();
        LineReader lineReader = new LineReader(r);
        String line;
        while ((line = lineReader.readLine()) != null) {
          result.add(line);
        }
        return result;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

    import org.apache.maven.cli.CLIReportingUtils;
    import org.apache.maven.cling.invoker.LookupInvoker;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.jline.consoleui.prompt.ConsolePrompt;
    import org.jline.reader.LineReader;
    import org.jline.reader.LineReaderBuilder;
    import org.jline.reader.UserInterruptException;
    import org.jline.terminal.Terminal;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LineBufferTest.java

          throws IOException {
        Readable readable =
            asReader ? getChunkedReader(input, chunk) : getChunkedReadable(input, chunk);
        LineReader r = new LineReader(readable);
        List<String> lines = Lists.newArrayList();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        return lines;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LineBufferTest.java

          throws IOException {
        Readable readable =
            asReader ? getChunkedReader(input, chunk) : getChunkedReadable(input, chunk);
        LineReader r = new LineReader(readable);
        List<String> lines = Lists.newArrayList();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        return lines;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import org.jline.consoleui.prompt.builder.ListPromptBuilder;
    import org.jline.consoleui.prompt.builder.PromptBuilder;
    import org.jline.reader.Candidate;
    import org.jline.reader.Completer;
    import org.jline.reader.LineReader;
    import org.jline.reader.ParsedLine;
    import org.jline.utils.Colors;
    
    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.BAD_OPERATION;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineBuffer.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    
    /**
     * Package-protected abstract class that implements the line reading algorithm used by {@link
     * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return,
     * or carriage return followed immediately by a linefeed.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/LineBuffer.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    
    /**
     * Package-protected abstract class that implements the line reading algorithm used by {@link
     * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return,
     * or carriage return followed immediately by a linefeed.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg debug/dwarf, method (*Data) LineReader(*Entry) (*LineReader, error)
    pkg debug/dwarf, method (*Entry) AttrField(Attr) *Field
    pkg debug/dwarf, method (*LineReader) Next(*LineEntry) error
    pkg debug/dwarf, method (*LineReader) Reset()
    pkg debug/dwarf, method (*LineReader) Seek(LineReaderPos)
    pkg debug/dwarf, method (*LineReader) SeekPC(uint64, *LineEntry) error
    pkg debug/dwarf, method (*LineReader) Tell() LineReaderPos
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

        }
    
        /**
         * Returns an iterator over the lines in the string. If the string ends in a newline, a final
         * empty string is not included, to match the behavior of BufferedReader/LineReader.readLine().
         */
        private Iterator<String> linesIterator() {
          return new AbstractIterator<String>() {
            Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top