Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for Beta (0.18 sec)

  1. cmd/bucket-replication-metrics.go

    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(beta, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate.go

      # To override a setting that includes dots, escape them with a backslash (\).  Your shell may require enclosing quotes.
      istioctl manifest generate --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("generate accepts no positional arguments, got %#v", args)
    			}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/measurement.go

    	m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket in bytes
    func (m *bucketMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    package mesh
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"os"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/fatih/color"
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/controller-runtime/pkg/client"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	revtag "istio.io/istio/istioctl/pkg/tag"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    	{"hello\x01world", 1, []string{"hello\x01"}, nil},
    	{"foo\nbar", 0, []string{"foo\nbar"}, io.EOF},
    	{"alpha\nbeta\ngamma\n", '\n', []string{"alpha\n", "beta\n", "gamma\n"}, nil},
    	{"alpha\nbeta\ngamma", '\n', []string{"alpha\n", "beta\n", "gamma"}, io.EOF},
    }
    
    func TestReadBytes(t *testing.T) {
    	for _, test := range readBytesTests {
    		buf := NewBufferString(test.buffer)
    		var err error
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. src/cmd/api/main_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var nextFiles []string
    	if v := runtime.Version(); strings.Contains(v, "devel") || strings.Contains(v, "beta") {
    		next, err := filepath.Glob(filepath.Join(testenv.GOROOT(t), "api/next/*.txt"))
    		if err != nil {
    			t.Fatal(err)
    		}
    		nextFiles = next
    	}
    
    	for _, c := range contexts {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. cmd/format-meta.go

    Harshavardhana <******@****.***> 1618774873 -0700
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  8. cmd/rebalance-admin.go

    		diskStats[disk.PoolIndex].TotalSpace += disk.TotalSpace
    	}
    
    	stopTime := meta.StoppedAt
    	r = rebalanceAdminStatus{
    		ID:        meta.ID,
    		StoppedAt: meta.StoppedAt,
    		Pools:     make([]rebalancePoolStatus, len(meta.PoolStats)),
    	}
    	for i, ps := range meta.PoolStats {
    		r.Pools[i] = rebalancePoolStatus{
    			ID:     i,
    			Status: ps.Info.Status.String(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    			checksumInfo := meta.Erasure.GetChecksumInfo(meta.Parts[0].Number)
    			dataErrs[i] = bitrotVerify(bytes.NewReader(meta.Data),
    				int64(len(meta.Data)),
    				meta.Erasure.ShardFileSize(meta.Size),
    				checksumInfo.Algorithm,
    				checksumInfo.Hash, meta.Erasure.ShardSize())
    			if dataErrs[i] == nil {
    				// All parts verified, mark it as all data available.
    				availableDisks[i] = onlineDisk
    			} else {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle_test.go

    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	testCases := []struct {
    		meta   map[string]string
    		remote bool
    	}{
    		{
    			// restore in progress
    			meta: map[string]string{
    				xhttp.AmzRestore: ongoingRestoreObj().String(),
    			},
    			remote: true,
    		},
    		{
    			// restore completed
    			meta: map[string]string{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
Back to top