Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for donec (0.16 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * done.
       */
      public static final class DeferredCloser {
        @RetainedWith private final CloseableList list;
    
        DeferredCloser(CloseableList list) {
          this.list = list;
        }
    
        /**
         * Captures an object to be closed when a {@link ClosingFuture} pipeline is done.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	}
    	go func() {
    		<-p.ctx.Done()
    		for i := 0; i < LargeWorkerCount; i++ {
    			xioutil.SafeClose(p.lrgworkers[i])
    		}
    	}()
    }
    
    // AddLargeWorker adds a replication worker to the static pool for large uploads.
    func (p *ReplicationPool) AddLargeWorker(input <-chan ReplicationWorkerOperation) {
    	for {
    		select {
    		case <-p.ctx.Done():
    			return
    		case oi, ok := <-input:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/admin-handlers.go

    		hostMap = make(map[string]struct{}, len(hosts))
    		for _, k := range hosts {
    			if k != "" {
    				hostMap[k] = struct{}{}
    			}
    		}
    	}
    	dID := r.Form.Get("by-depID")
    	done := ctx.Done()
    	ticker := time.NewTicker(interval)
    	defer ticker.Stop()
    	w.Header().Set(xhttp.ContentType, string(mimeJSON))
    
    	enc := json.NewEncoder(w)
    	for n > 0 {
    		var m madmin.RealtimeMetrics
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
        // Create input and output
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    	bytesData := []struct {
    		byteData []byte
    	}{
    		{generateBytesData(6 * humanize.MiByte)},
    	}
    	// set of inputs for uploading the objects before tests for downloading is done.
    	putObjectInputs := []struct {
    		bucketName    string
    		objectName    string
    		contentLength int64
    		textData      []byte
    		metaData      map[string]string
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		wg.Add(1)
    		if v.DeploymentID == globalDeploymentID() {
    			go func() {
    				defer wg.Done()
    				err := c.RemoveRemoteTargetsForEndpoint(ctx, objectAPI, rmvEndpoints, false)
    				errs[globalDeploymentID()] = err
    			}()
    			continue
    		}
    		go func(pi madmin.PeerInfo) {
    			defer wg.Done()
    			admClient, err := c.getAdminClient(ctx, pi.DeploymentID)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
        // Create input and output
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    }
    
    // TestContentTypePersists - Object upload with different Content-type is first done.
    // And then a HEAD and GET request on these objects are done to validate if the same Content-Type set during upload persists.
    func (s *TestSuiteCommon) TestContentTypePersists(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioBucketCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    			labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    			collectMetric(metric, labels, values, "bucket", out)
    		}
    	}
    
    	// Call peer api to fetch metrics
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    consumeLine(String); } org/codehaus/plexus/util/cli/StreamFeeder.class package org.codehaus.plexus.util.cli; public synchronized class StreamFeeder extends Thread { private java.io.InputStream input; private java.io.OutputStream output; private boolean done; public void StreamFeeder(java.io.InputStream, java.io.OutputStream); public void run(); public void close(); public boolean isDone(); private void feed() throws java.io.IOException; } org/codehaus/plexus/util/cli/StreamPumper.class package org.co...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 164.6K bytes
    - Viewed (0)
Back to top