Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 303 for Run (0.15 sec)

  1. cmd/batchjobmetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[batchJobMetricReplication-0]
    	_ = x[batchJobMetricKeyRotation-1]
    	_ = x[batchJobMetricExpire-2]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 797 bytes
    - Viewed (0)
  2. docs/debugging/pprofgoparser/main.go

    					save(line)
    					record = true
    				} else {
    					skip = true
    				}
    			}
    		}
    	}
    
    	return ret, nil
    }
    
    const helpUsage = `
    
    At least one argument is required to run this tool.
    
    EXAMPLE:
         ./pprofgoparser --time 50m --margin 1m /path/to/*-goroutines-before,debug=2.txt
    `
    
    func main() {
    	flag.Parse()
    
    	if len(flag.Args()) == 0 {
    		log.Fatal(helpUsage)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-common.go

    	r := helm.NewHelmRenderer(ocArgs.manifestsPath, "istio-operator", string(name.IstioOperatorComponentName), ocArgs.operatorNamespace, nil)
    
    	if err := r.Run(); err != nil {
    		return "", "", err
    	}
    
    	tmpl := `
    istioNamespace: {{.IstioNamespace}}
    watchedNamespaces: {{.WatchedNamespaces}}
    hub: {{.Hub}}
    tag: {{.Tag}}
    {{- if .ImagePullSecrets }}
    imagePullSecrets:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  4. internal/s3select/json/reader_test.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestNewReader(t *testing.T) {
    	files, err := os.ReadDir("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Run(file.Name(), func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    			r := NewReader(f, &ReaderArgs{})
    			var record sql.Record
    			for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. cmd/rebalstatus_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 795 bytes
    - Viewed (0)
  6. istioctl/pkg/install/k8sversion/version_test.go

    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    			got, err := extractKubernetesVersion(c.version)
    			if c.errMsg != err && c.isValid {
    				t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest_shared_test.go

    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    	goldenFileSuffixShowChangesInReview = ".golden-show-in-gh-pull-request.yaml"
    )
    
    var (
    	// By default, tests only run with manifest generate, since it doesn't require any external fake test environment.
    	testedManifestCmds = []cmdType{cmdGenerate}
    	// Only used if kubebuilder is installed.
    	testenv    *envtest.Environment
    	testClient client.Client
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  8. src/cmd/cgo/internal/test/cgo_thread_lock.go

    }
    
    func init() {
    	testThreadLockFunc = testThreadLock
    }
    
    func testThreadLock(t *testing.T) {
    	stop := make(chan int)
    	go func() {
    		// We need the G continue running,
    		// so the M has a chance to run this G.
    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_test.go

    			name:           "Invalid-Orderchange-Decom",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    	}
    
    	t.Parallel()
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.name, func(t *testing.T) {
    			update, err := testCase.meta.validate(testCase.pools)
    			if testCase.expectedErr {
    				t.Log(err)
    			}
    			if err != nil && !testCase.expectedErr {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. internal/config/constants.go

    	// Set all config environment variables from 'config.env'
    	// if necessary. Overrides all previous settings and also
    	// overrides all environment values passed from
    	// 'podman run -e ENV=value'
    	EnvConfigEnvFile = "MINIO_CONFIG_ENV_FILE"
    
    	EnvBrowser    = "MINIO_BROWSER"
    	EnvDomain     = "MINIO_DOMAIN"
    	EnvPublicIPs  = "MINIO_PUBLIC_IPS"
    	EnvFSOSync    = "MINIO_FS_OSYNC"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
Back to top