Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for transferTo (0.05 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/ftp/README.md

    - Secure File Transfer Protocol (SFTP) – Defined by the Internet Engineering Task Force (IETF) as an
      extended version of SSH 2.0, allowing file transfer over SSH and for use with Transport Layer
      Security (TLS) and VPN applications.
    
    - File Transfer Protocol over SSL/TLS (FTPS) – Encrypted FTP communication via TLS certificates.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. LICENSES/third_party/forked/libcontainer/NOTICE

    This product includes software developed at Docker, Inc. (http://www.docker.com).
    
    The following is courtesy of our legal counsel:
    
    
    Use and transfer of Docker may be subject to certain restrictions by the
    United States and other governments.  
    It is your responsibility to ensure that your use and/or transfer does not
    violate applicable laws. 
    
    For more information, please see http://www.bis.doc.gov
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Oct 22 13:56:22 UTC 2024
    - 518 bytes
    - Viewed (0)
  9. 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)
  10. cmd/metrics-v3-replication.go

    		"Average replication data transfer rate in bytes/sec")
    	replicationCurrentActiveWorkersMD = NewGaugeMD(replicationCurrentActiveWorkers,
    		"Total number of active replication workers")
    	replicationCurrentDataTransferRateMD = NewGaugeMD(replicationCurrentDataTransferRate,
    		"Current replication data transfer rate in bytes/sec")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top