Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for transferTo (0.05 sec)

  1. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            }
        }
    
        /**
         * Transfers the contents of the file channel {@literal from} to {@literal to}.
         *
         * @param from
         *            The source file channel. Must not be {@literal null}.
         * @param to
         *            The destination file channel. Must not be {@literal null}.
         * @return The number of bytes transferred.
         */
        public static long transfer(final FileChannel from, final FileChannel to) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteStreams.java

      /** Creates a new byte array for buffering reads or writes. */
      static byte[] createBuffer() {
        return new byte[BUFFER_SIZE];
      }
    
      /**
       * There are three methods to implement {@link FileChannel#transferTo(long, long,
       * WritableByteChannel)}:
       *
       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            } catch (final Exception e) {
                engineObj.status = "red";
                engineObj.exception = e.getMessage();
            }
            return engineObj;
        }
    
        /**
         * Data transfer object representing filesystem statistics.
         */
        public static class FsObj {
            /**
             * Default constructor.
             */
            public FsObj() {
                // Default constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private val headersReader = HeadersReader(socket.source)
    
      private val Response.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      private val Request.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      /**
       * Trailers received when the response body became exhausted.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogEqual("<-- END HTTP")
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1")
          .assertLogEqual("Content-Type: text/plain; charset=utf-8")
          .assertLogEqual("Transfer-Encoding: chunked")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/StartCrawlingForm.java

     *
     * This form is used to collect user input and parameters needed to initiate
     * crawling operations through the administrative interface wizard workflow.
     * It serves as a data transfer object between the web layer and the crawling
     * service components.
     */
    public class StartCrawlingForm {
    
        /**
         * Default constructor.
         */
        public StartCrawlingForm() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       * QUIC is not natively supported by OkHttp, but provided to allow a theoretical interceptor that
       * provides support.
       */
      QUIC("quic"),
    
      /**
       * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to
       * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.
       *
       * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor
       * that provides support.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        public fun status(status: String): Builder =
          apply {
            this.status = status
          }
    
        /**
         * Removes all HTTP headers including any "Content-Length" and "Transfer-encoding" headers that
         * were added by default.
         */
        public fun clearHeaders(): Builder =
          apply {
            headers_ = Headers.Builder()
          }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        private const val HOST = "host"
        private const val KEEP_ALIVE = "keep-alive"
        private const val PROXY_CONNECTION = "proxy-connection"
        private const val TRANSFER_ENCODING = "transfer-encoding"
        private const val TE = "te"
        private const val ENCODING = "encoding"
        private const val UPGRADE = "upgrade"
    
        /** See http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-8.1.3. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

                ${{ matrix.java }}
                24
              distribution: 'temurin'
              cache: 'maven'
          - name: 'Install'
            shell: bash
            run: ./mvnw -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dtoolchain.skip install -U -DskipTests=true -f $ROOT_POM
          - name: 'Test'
            shell: bash
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top