Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for transferTo (2.25 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

      ) {
        if (byteCount < 0L) {
          throw IndexOutOfBoundsException()
        }
        var mutablePos = pos
        var mutableByteCount = byteCount
    
        while (mutableByteCount > 0L) {
          val bytesRead = fileChannel.transferTo(mutablePos, mutableByteCount, sink)
          mutablePos += bytesRead
          mutableByteCount -= bytesRead
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

    # RDMA (SMB Direct) Feature - Detailed Design Document
    
    ## 1. Overview
    
    SMB Direct enables high-performance data transfer using Remote Direct Memory Access (RDMA) technology. This provides ultra-low latency and high bandwidth data transfer by bypassing the traditional TCP/IP stack and allowing direct memory-to-memory transfers between client and server.
    
    ## 2. Protocol Specification Reference
    
    - **MS-SMBD**: SMB2 Remote Direct Memory Access (RDMA) Transport Protocol
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            this.transfers = new IdentityHashMap<>();
        }
    
        @Override
        public void debug(String message) {}
    
        @Override
        public void transferCompleted(TransferEvent transferEvent) {
            ArtifactTransferEvent event = wrap(transferEvent);
    
            Long transferred;
            synchronized (transfers) {
                transferred = transfers.remove(transferEvent.getResource());
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestTransferListener.java

    public class TestTransferListener extends AbstractTransferListener {
    
        private final List<String> transfers = new ArrayList<>();
    
        public List<String> getTransfers() {
            return transfers;
        }
    
        public void addTransfer(String name) {
            transfers.add(name);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

         * A transfer is completed.
         */
        public static final int TRANSFER_COMPLETED = 2;
    
        /**
         * A transfer is in progress.
         */
        public static final int TRANSFER_PROGRESS = 3;
    
        /**
         * An error occurred during transfer
         */
        public static final int TRANSFER_ERROR = 4;
    
        /**
         * Indicates GET transfer  (from the repository)
         */
        public static final int REQUEST_GET = 5;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

        val headers1 =
          Headers
            .Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        val headers2 =
          Headers
            .Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isEqualTo(headers1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
         * Gets the timestamp when the transfer of this artifact was started.
         *
         * @return The timestamp when the transfer of this artifact was started.
         */
        long getTransferStartTime();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top