Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for LineReader (0.05 seconds)

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

     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class LineReader {
      private final Readable readable;
      private final @Nullable Reader reader;
      private final CharBuffer cbuf = createBuffer();
      private final char[] buf = cbuf.array();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                        .variable(LineReader.OTHERS_GROUP_NAME, "Others")
                        .variable(LineReader.COMPLETION_STYLE_GROUP, "fg:blue,bold")
                        .variable("HELP_COLORS", "ti=1;34:co=38:ar=3:op=33:de=90")
                        .option(LineReader.Option.GROUP_PERSIST, true)
                        .build();
                builtins.setLineReader(reader);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. 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;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptContext.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.mvnenc.EncryptOptions;
    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.reader.LineReader;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    
    @SuppressWarnings("VisibilityModifier")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. 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 = new ArrayList<>();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        return lines;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. 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 = new ArrayList<>();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        return lines;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.mvnup.UpgradeOptions;
    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.reader.LineReader;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Indentation;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. 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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  9. android/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>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (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>() {
            final Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top