Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 231 for Flush (0.02 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          return chunk!!.size * 8L
        }
    
        override fun writeTo(sink: BufferedSink) {
          try {
            var i = 0
            while (i < contentLength()) {
              sink.write(chunk!!)
              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * @return the resolveSids
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

       */
      private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
    
      private ByteStreams() {}
    
      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
       * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
       * equivalent {@link InputStream#transferTo} method instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        options,
                        HelpFormatter.DEFAULT_LEFT_PAD,
                        HelpFormatter.DEFAULT_DESC_PAD,
                        System.lineSeparator(),
                        false);
                pw2.flush();
                for (String s : sw.toString().split(System.lineSeparator())) {
                    pw.accept(s);
                }
            }
    
            protected String commandLineSyntax(String command) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/CopyUtil.java

                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
                }
                out.flush();
                return amount;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * ファイル入力ストリームの内容を出力ストリームにコピーします。
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    options,
                    HelpFormatter.DEFAULT_LEFT_PAD,
                    HelpFormatter.DEFAULT_DESC_PAD,
                    System.lineSeparator(),
                    false);
    
            pw.flush();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. api/go1.4.txt

    # CL 134210043 archive/zip: add Writer.Flush, Brad Fitzpatrick <******@****.***>
    pkg archive/zip, method (*Writer) Flush() error
    
    # CL 97140043 compress/flate: add Reset() to allow reusing large buffers to compress multiple buffers, James Robinson <******@****.***>
    pkg compress/flate, type Resetter interface { Reset }
    pkg compress/flate, type Resetter interface, Reset(io.Reader, []uint8) error
    pkg compress/zlib, type Resetter interface { Reset }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(dfos, enc));
                out.accept(writer);
                writer.flush();
    
                if (!dfos.isInMemory()) {
                    tempFile = dfos.getFile();
                }
    
                try (Reader reader = new InputStreamReader(getContentStream(dfos), enc)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after halfway to make result more predictable
              Thread.sleep(100)
            }
          } catch (e: IOException) {
            break
          }
          i++
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        connection.connect()
        val out = connection.outputStream
        val data = ByteArray(1024 * 1024)
        var i = 0
        while (i < 1024) {
          try {
            out!!.write(data)
            out.flush()
            if (i == 513) {
              // pause slightly after half way to make result more predictable
              Thread.sleep(100)
            }
          } catch (e: IOException) {
            break
          }
          i++
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top