Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Transfer (0.26 sec)

  1. maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

    import org.eclipse.aether.spi.connector.MetadataUpload;
    import org.eclipse.aether.spi.connector.RepositoryConnector;
    import org.eclipse.aether.transfer.ArtifactNotFoundException;
    import org.eclipse.aether.transfer.ArtifactTransferException;
    import org.eclipse.aether.transfer.MetadataNotFoundException;
    import org.eclipse.aether.transfer.MetadataTransferException;
    
    /**
     */
    public class TestRepositoryConnector implements RepositoryConnector {
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        /**
         * Check that transfer listeners are properly removed after getArtifact and putArtifact
         */
        @Test
        void testWagonTransferListenerRemovedAfterGetArtifactAndPutArtifact() throws Exception {
            Artifact artifact = createTestArtifact("target/test-data/transfer-listener", "jar");
            ArtifactRepository repo = createStringRepo();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HeadersTest.kt

      }
    
      @Test fun headersEquals() {
        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)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/FileBackedOutputStream.java

            // this is insurance.
            temp.deleteOnExit();
          }
          try {
            FileOutputStream transfer = new FileOutputStream(temp);
            transfer.write(memory.getBuffer(), 0, memory.getCount());
            transfer.flush();
            // We've successfully transferred the data; switch to writing to file
            out = transfer;
          } catch (IOException e) {
            temp.delete();
            throw e;
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        private const val CONNECTION = "connection"
        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"
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          val contentLength = body.contentLength()
          if (contentLength != -1L) {
            requestBuilder.header("Content-Length", contentLength.toString())
            requestBuilder.removeHeader("Transfer-Encoding")
          } else {
            requestBuilder.header("Transfer-Encoding", "chunked")
            requestBuilder.removeHeader("Content-Length")
          }
        }
    
        if (userRequest.header("Host") == null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (2)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

        responseCode != HTTP_NOT_MODIFIED
      ) {
        return true
      }
    
      // If the Content-Length or Transfer-Encoding headers disagree with the response code, the
      // response is malformed. For best compatibility, we honor the headers.
      if (headersContentLength() != -1L ||
        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    @Deprecated(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocksProxy.kt

            val toSink = toSocket.sink().buffer()
            openSockets.add(toSocket)
            transfer(fromAddress, toAddress, fromSource, toSink)
            transfer(fromAddress, toAddress, toSource, fromSink)
          }
    
          else -> throw ProtocolException("unexpected command: $command")
        }
      }
    
      private fun transfer(
        fromAddress: InetAddress,
        toAddress: InetAddress,
        source: BufferedSource,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      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)
    
      /**
       * Received trailers. Null unless the response body uses chunked transfer-encoding and includes
       * trailers. Undefined until the end of the response body.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. cmd/bucket-stats.go

    	BandWidthLimitInBytesPerSecond int64 `json:"limitInBits"`
    	// current bandwidth reported
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"-" msg:"lt"`
    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"-" msg:"st"`
    
    	// Deprecated fields
    	// Pending size in bytes
    	PendingSize int64 `json:"pendingReplicationSize"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
Back to top