Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for LineReader (0.19 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();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. android/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;
      }
    
      /**
    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-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;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  4. 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;
      }
    
    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)
  5. 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.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  7. 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>() {
            Iterator<String> lines = LINE_SPLITTER.split(seq).iterator();
    
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. api/go1.14.txt

    pkg debug/dwarf, const TagImmutableType Tag
    pkg debug/dwarf, const TagSkeletonUnit = 74
    pkg debug/dwarf, const TagSkeletonUnit Tag
    pkg debug/dwarf, method (*Data) AddSection(string, []uint8) error
    pkg debug/dwarf, method (*LineReader) Files() []*LineFile
    pkg debug/dwarf, method (*Reader) ByteOrder() binary.ByteOrder
    pkg encoding/asn1, const TagBMPString = 30
    pkg encoding/asn1, const TagBMPString ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
Back to top