Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for doneSz (0.08 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.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	for i := 0; i < resyncParallelRoutines; i++ {
    		wg.Add(1)
    		workers[i] = make(chan ReplicateObjectInfo, 100)
    		i := i
    		go func(ctx context.Context, idx int) {
    			defer wg.Done()
    			for roi := range workers[idx] {
    				select {
    				case <-ctx.Done():
    					return
    				case <-s.resyncCancelCh:
    				default:
    				}
    				traceFn := s.trace(tgt.ResetID, fmt.Sprintf("%s/%s (%s)", opts.bucket, roi.Name, roi.VersionID))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    repeated in a wondering tone.
    
      `Why, what are YOUR shoes done with?' said the Gryphon.  `I
    mean, what makes them so shiny?'
    
      Alice looked down at them, and considered a little before she
    gave her answer.  `They're done with blacking, I believe.'
    
      `Boots and shoes under the sea,' the Gryphon went on in a deep
    voice, `are done with a whiting.  Now you know.'
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K 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
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, SECONDS);
        if (!done) {
          StringBuilder builder = new StringBuilder();
          for (StackTraceElement trace : thread.getStackTrace()) {
            builder.append("\tat ").append(trace).append('\n');
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top