Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Chan (0.21 sec)

  1. cmd/bucket-replication.go

    	mrfMU      sync.Mutex
    	resyncer   *replicationResyncer
    
    	// workers:
    	workers    []chan ReplicationWorkerOperation
    	lrgworkers []chan ReplicationWorkerOperation
    
    	// mrf:
    	mrfWorkerKillCh chan struct{}
    	mrfReplicaCh    chan ReplicationWorkerOperation
    	mrfSaveCh       chan MRFReplicateEntry
    	mrfStopCh       chan struct{}
    	mrfWorkerSize   int
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. doc/go1.17_spec.html

    <-chan <-chan int  // same as <-chan (<-chan int)
    chan (<-chan int)
    </pre>
    
    <p>
    A new, initialized channel
    value can be made using the built-in function
    <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the channel type and an optional <i>capacity</i> as arguments:
    </p>
    
    <pre>
    make(chan int, 100)
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    func (c *minioBucketCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		// Part with size larger than 5 MiB.
    		{bucketName, objectName, uploadIDs[0], 5, string(validPart), validPartMD5, int64(len(validPart))},
    		{bucketName, objectName, uploadIDs[0], 6, string(validPart), validPartMD5, int64(len(validPart))},
    
    		// Part with size larger than 5 MiB.
    		// Parts uploaded for anonymous/unsigned API handler test.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    		// be cleaned to recover.
    		partial := madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: peerAddErr.Error(),
    		}
    
    		return partial, nil
    	}
    
    	// Other than handling existing buckets, we can now save the cluster
    	// replication configuration state.
    	state := srState{
    		Name:                    sites[selfIdx].Name,
    		Peers:                   joinReq.Peers,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/collect/Maps.java

        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
          return expectedSize + 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    			if !srcTimestamp.IsZero() {
    				ondiskTimestamp, err := time.Parse(time.RFC3339Nano, lastTaggingTimestamp)
    				// update tagging metadata only if replica  timestamp is newer than what's on disk
    				if err != nil || (err == nil && ondiskTimestamp.Before(srcTimestamp)) {
    					srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    ### API Change
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

                                         " but actual rank is ", rank);
        return;
      }
    
      if (num_dims == 0) {
        // Output shape is a scalar.
        return;
      }
    
      // Rank is greater than 0, so fill in the values, if known, and
      // -1 for unknown values.
      for (int i = 0; i < num_dims; ++i) {
        auto dim = ic->Dim(shape, i);
        int64_t value = -1;
        if (ic->ValueKnown(dim)) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

                project. This directory is meant to be different from the sourceDirectory, in that its
                contents will be copied to the output directory in most cases (since scripts are
                interpreted rather than compiled).
                The default value is {@code src/main/scripts}.
              </description>
              <type>String</type>
            </field>
            <field>
              <name>testSourceDirectory</name>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top