Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 430 for transfers (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

     */
    package org.apache.maven.cli.transfer;
    
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.api.services.MessageBuilderFactory;
    import org.eclipse.aether.transfer.TransferCancelledException;
    import org.eclipse.aether.transfer.TransferEvent;
    import org.eclipse.aether.transfer.TransferResource;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            this.artifacts = new IdentityHashMap<>();
            this.transfers = new IdentityHashMap<>();
        }
    
        public void debug(String message) {}
    
        public void transferCompleted(TransferEvent transferEvent) {
            ArtifactTransferEvent event = wrap(transferEvent);
    
            Long transferred;
            synchronized (transfers) {
                transferred = transfers.remove(transferEvent.getResource());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    	if !ok {
    		return qs
    	}
    	for arn := range brs.Stats {
    		qs.TgtXferStats[arn] = make(map[RMetricName]XferStats)
    	}
    	count := 0
    	var totPeak float64
    	// calculate large, small transfers and total transfer rates per replication target at bucket level
    	for arn, v := range brs.Stats {
    		lcurrTgt := v.XferRateLrg.curr()
    		scurrTgt := v.XferRateSml.curr()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        ArtifactResolutionResult resolve(ArtifactResolutionRequest request);
    
        // Install
    
        // Deploy
    
        // Map types of artifacts
    
        //
        // Raw file transfers
        //
        void publish(
                ArtifactRepository repository, File source, String remotePath, ArtifactTransferListener transferListener)
                throws ArtifactTransferFailedException;
    
        void retrieve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. internal/config/api/api.go

    	if err != nil {
    		return cfg, err
    	}
    	if replicationMaxLWorkers <= 0 || replicationMaxLWorkers > 10 {
    		return cfg, config.ErrInvalidReplicationWorkersValue(nil).Msg("Number of replication workers for transfers >=128MiB should be between 1 and 10 per node")
    	}
    
    	cfg.ReplicationMaxLWorkers = replicationMaxLWorkers
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`).
    
        So, it is a generator function that transfers the "generating" work to something else internally.
    
        By doing it this way, we can put it in a `with` block, and that way, ensure that the file-like object is closed after finishing.
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    				}
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown replication type: %T", oi), "unknown-replicate-type")
    			}
    		}
    	}
    }
    
    // ResizeLrgWorkers sets replication workers pool for large transfers(>=128MiB) to new size.
    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeLrgWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    			if data == endOfRow {
    				continue RowLoop
    			}
    			row[x] = data + bias(x, y)
    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.transforms
    
    import groovy.transform.CompileStatic
    import org.gradle.api.artifacts.transform.InputArtifact
    import org.gradle.api.artifacts.transform.TransformAction
    import org.gradle.api.artifacts.transform.TransformOutputs
    import org.gradle.api.artifacts.transform.TransformParameters
    import org.gradle.api.file.FileSystemLocation
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top