Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for Float64s (0.09 sec)

  1. cmd/erasure.go

    	// This goroutine owns the cache.
    	var saverWg sync.WaitGroup
    	saverWg.Add(1)
    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    				if cache.Info.LastUpdate.Equal(lastSave) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. cmd/data-usage-utils.go

    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedBytesMD(),
    			Value:          float64(st.TotalSize),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedObjectsMD(),
    			Value:          float64(st.NumObjects),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/tier.go

    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsSuccessMD,
    			Value:          float64(stat.success),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsFailureMD,
    			Value:          float64(stat.failure),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    	}
    	return metrics
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    		totalFree += disk.AvailableSpace
    
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    		diskStats[disk.PoolIndex].TotalSpace += disk.TotalSpace
    	}
    	r.PercentFreeGoal = float64(totalFree) / float64(totalCap)
    
    	now := time.Now()
    	for idx := range z.serverPools {
    		r.PoolStats[idx] = &rebalanceStats{
    			Buckets:           make([]string, len(buckets)),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  5. cmd/site-replication-utils.go

    	// Run the site resync metrics load in a loop
    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Second*10)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. cmd/dynamic-timeouts.go

    	failures, maxDur := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    		} else if dur > maxDur {
    			maxDur = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    		// We are hitting the timeout too often, so increase the timeout by 25%
    		timeout := min(
    			// Set upper cap.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. api/go1.21.txt

    pkg log/slog, func ErrorContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, func Error(string, ...interface{}) #56345
    pkg log/slog, func Float64(string, float64) Attr #56345
    pkg log/slog, func Float64Value(float64) Value #56345
    pkg log/slog, func Group(string, ...interface{}) Attr #59204
    pkg log/slog, func GroupValue(...Attr) Value #56345
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg math, func Jn(int, float64) float64
    pkg math, func Ldexp(float64, int) float64
    pkg math, func Lgamma(float64) (float64, int)
    pkg math, func Log(float64) float64
    pkg math, func Log10(float64) float64
    pkg math, func Log1p(float64) float64
    pkg math, func Log2(float64) float64
    pkg math, func Logb(float64) float64
    pkg math, func Max(float64, float64) float64
    pkg math, func Min(float64, float64) float64
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  9. cmd/metrics-v3-types.go

    }
    
    // SetHistogramValues - sets values for the given MetricName using the provided map of
    // range to value.
    func SetHistogramValues[V uint64 | int64 | float64](m MetricValues, name MetricName, values map[string]V, labels ...string) {
    	for rng, val := range values {
    		m.Set(name, float64(val), append(labels, rangeL, rng)...)
    	}
    }
    
    // MetricsLoaderFn - represents a function to load metrics from the
    // metricsCache.
    //
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. api/go1.10.txt

    pkg flag, method (*FlagSet) Name() string
    pkg flag, method (*FlagSet) Output() io.Writer
    pkg html/template, type Srcset string
    pkg math, func Erfcinv(float64) float64
    pkg math, func Erfinv(float64) float64
    pkg math, func Round(float64) float64
    pkg math, func RoundToEven(float64) float64
    pkg math/big, const MaxBase = 62
    pkg math/big, method (*Float) Sqrt(*Float) *Float
    pkg math/big, method (*Int) CmpAbs(*Int) int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top