Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 63 for bufferedReader (0.11 seconds)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

        }
    
        /**
         * Wraps the reader with a {@link BufferedReader} if necessary.
         *
         * @param reader the reader
         * @return the wrapped reader
         */
        protected static Reader wrap(final Reader reader) {
            if (reader instanceof BufferedReader) {
                return reader;
            }
            if (reader instanceof StringReader) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * {@snippet :
       * ClosingFuture<BufferedReader> file1ReaderFuture = ...;
       * ClosingFuture<BufferedReader> file2ReaderFuture = ...;
       * ListenableFuture<Integer> numberOfDifferentLines =
       *     ClosingFuture.whenAllSucceed(file1ReaderFuture, file2ReaderFuture)
       *         .call(
       *             (closer, peeker) -> {
       *               BufferedReader file1Reader = peeker.getDone(file1ReaderFuture);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/LineReader.java

    import java.nio.CharBuffer;
    import java.util.ArrayDeque;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A class for reading lines of text. Provides the same functionality as {@link
     * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of
     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class LineReader {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

      }
    
      @Test
      fun urlConnection() {
        val conn = engine.openConnection(URL("https://google.com/robots.txt")) as HttpURLConnection
    
        val text =
          conn.inputStream.use {
            it.bufferedReader().readText()
          }
    
        assertEquals(200, conn.responseCode)
    
        assertTrue(text.contains("Disallow"))
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/LineBuffer.java

    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.
     *
     * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

                for (i in paths.indices) {
                    val path = paths[i]
                    val detailsFile = detailsFiles[i]
                    val buildFile = buildFiles[i]
    
                    val details = detailsFile.bufferedReader().use {
                        gson.fromJson(it, TargetRuntimeDetails::class.java)
                    }
                    projects[path] = ProjectInfo(details, buildFile)
                }
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

                return "localhost";
            }
    
            @Override
            public int getServerPort() {
                return 8080;
            }
    
            @Override
            public java.io.BufferedReader getReader() {
                return null;
            }
    
            @Override
            public String getRemoteAddr() {
                return "127.0.0.1";
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                    return null;
                }
    
                @Override
                public int getServerPort() {
                    return 0;
                }
    
                @Override
                public java.io.BufferedReader getReader() throws IOException {
                    return null;
                }
    
                @Override
                public String getRemoteAddr() {
                    return null;
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public int getServerPort() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public java.io.BufferedReader getReader() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getRemoteAddr() {
                throw new UnsupportedOperationException();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

                return "localhost";
            }
    
            @Override
            public int getServerPort() {
                return 8080;
            }
    
            @Override
            public java.io.BufferedReader getReader() {
                return null;
            }
    
            @Override
            public String getRemoteAddr() {
                return "127.0.0.1";
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top