Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for curry (0.18 sec)

  1. cmd/bucket-stats.go

    		lpeak = math.Max(math.Max(v[Large].Peak, lpeak), v[Large].Curr)
    		speak = math.Max(math.Max(v[Small].Peak, speak), v[Small].Curr)
    		if lpeak > 0 || speak > 0 {
    			count++
    		}
    	}
    	if count > 0 {
    		lrg := XferStats{
    			Avg:  lavg / float64(count),
    			Curr: lcurr / float64(count),
    			Peak: lpeak,
    		}
    		sml := XferStats{
    			Avg:  savg / float64(count),
    			Curr: scurr / float64(count),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    func (rx *XferStats) Clone() *XferStats {
    	curr := rx.curr()
    	peak := rx.Peak
    	if curr > peak {
    		peak = curr
    	}
    	return &XferStats{
    		Curr:    curr,
    		Avg:     rx.Avg,
    		Peak:    peak,
    		N:       rx.N,
    		measure: rx.measure,
    	}
    }
    
    func newXferStats() *XferStats {
    	return &XferStats{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-metrics_gen.go

    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    			for zb0002 > 0 {
    				zb0002--
    				field, err = dc.ReadMapKeyPtr()
    				if err != nil {
    					err = msgp.WrapError(err, "Curr")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    				case "Count":
    					z.Curr.Count, err = dc.ReadFloat64()
    					if err != nil {
    						err = msgp.WrapError(err, "Curr", "Count")
    						return
    					}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  4. CREDITS

    produce it from the Program, in the form of source code under the
    terms of section 4, provided that you also meet all of these conditions:
    
        a) The work must carry prominent notices stating that you modified
        it, and giving a relevant date.
    
        b) The work must carry prominent notices stating that it is
        released under this License and any conditions added under section
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  5. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. LICENSE

    produce it from the Program, in the form of source code under the
    terms of section 4, provided that you also meet all of these conditions:
    
        a) The work must carry prominent notices stating that you modified
        it, and giving a relevant date.
    
        b) The work must carry prominent notices stating that it is
        released under this License and any conditions added under section
        7.  This requirement modifies the requirement in section 4 to
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Viewed (0)
  7. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top