Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for curry (0.92 sec)

  1. cmd/bucket-replication-stats.go

    	r.RUnlock()
    }
    
    // ActiveWorkers returns worker stats
    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arch.go

    	instructions["JB"] = x86.AJCS   /* alternate */
    	instructions["JBE"] = x86.AJLS  /* alternate */
    	instructions["JC"] = x86.AJCS   /* alternate */
    	instructions["JCC"] = x86.AJCC  /* carry clear (CF = 0) */
    	instructions["JCS"] = x86.AJCS  /* carry set (CF = 1) */
    	instructions["JE"] = x86.AJEQ   /* alternate */
    	instructions["JEQ"] = x86.AJEQ  /* equal (ZF = 1) */
    	instructions["JG"] = x86.AJGT   /* alternate */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		sm.ActiveWorkers.Curr += peer.ActiveWorkers.Curr
    		if peer.ActiveWorkers.Max > sm.ActiveWorkers.Max {
    			sm.ActiveWorkers.Max += peer.ActiveWorkers.Max
    		}
    		sm.Queued.Avg.Bytes += peer.Queued.Avg.Bytes
    		sm.Queued.Avg.Count += peer.Queued.Avg.Count
    		sm.Queued.Curr.Bytes += peer.Queued.Curr.Bytes
    		sm.Queued.Curr.Count += peer.Queued.Curr.Count
    		if peer.Queued.Max.Count > sm.Queued.Max.Count {
    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)
  4. cmd/site-replication-metrics.go

    			metric.TotalDowntime = epHealth.offlineDuration
    			metric.LastOnline = epHealth.lastOnline
    			metric.Online = epHealth.Online
    			metric.Latency = madmin.LatencyStat{
    				Curr: epHealth.latency.curr,
    				Avg:  epHealth.latency.avg,
    				Max:  epHealth.latency.peak,
    			}
    		}
    		m[dID] = metric
    	}
    	return m
    }
    
    func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/sts-errors.go

    func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		return e[ErrSTSInternalError]
    	}
    	return apiErr
    }
    
    // error code to STSError structure, these fields carry respective
    // descriptions for all the error responses.
    var stsErrCodes = stsErrorCodeMap{
    	ErrSTSAccessDenied: {
    		Code:           "AccessDenied",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/archive/tar/writer.go

    	/*
    		// Write the sparse map and setup the sparse writer if necessary.
    		if len(spd) > 0 {
    			// Use tw.curr since the sparse map is accounted for in hdr.Size.
    			if _, err := tw.curr.Write(spb); err != nil {
    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		case osIsPermission(err):
    			return VolInfo{}, errDiskAccessDenied
    		case isSysErrIO(err):
    			return VolInfo{}, errFaultyDisk
    		default:
    			return VolInfo{}, err
    		}
    	}
    	// As os.Lstat() doesn't carry other than ModTime(), use ModTime()
    	// as CreatedTime.
    	createdTime := st.ModTime()
    	return VolInfo{
    		Name:    volume,
    		Created: createdTime,
    	}, nil
    }
    
    // DeleteVol - delete a volume.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-meta-inline.go

    func xlMetaV2TrimData(buf []byte) []byte {
    	metaBuf, min, maj, err := checkXL2V1(buf)
    	if err != nil {
    		return buf
    	}
    	if maj == 1 && min < 1 {
    		// First version to carry data.
    		return buf
    	}
    	// Skip header
    	_, metaBuf, err = msgp.ReadBytesZC(metaBuf)
    	if err != nil {
    		storageLogIf(GlobalContext, err)
    		return buf
    	}
    	// Skip CRC
    	if maj > 1 || min >= 2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    			if qs.QStats.Avg.Count > 0 || qs.QStats.Curr.Count > 0 {
    				qt := qs.QStats
    				currInQueueBytes.Value = qt.Curr.Bytes
    				currInQueueCount.Value = qt.Curr.Count
    				avgQueueBytes.Value = qt.Avg.Bytes
    				avgQueueCount.Value = qt.Avg.Count
    				maxQueueBytes.Value = qt.Max.Bytes
    				maxQueueCount.Value = qt.Max.Count
    			}
    			activeWorkersCount.Value = float64(qs.ActiveWorkers.Curr)
    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)
Back to top