- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 202 for intvar (0.38 sec)
-
docs/debugging/hash-set/main.go
flag.StringVar(&object, "object", "", "Select an object") flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'") flag.IntVar(&setCount, "set-count", 0, "Total set count") flag.IntVar(&shards, "shards", 0, "Total shards count") flag.BoolVar(&verbose, "v", false, "Display all objects") flag.Parse() if deploymentID == "" { log.Fatalln("deployment ID is mandatory")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
pkg/test/framework/logging.go
func(p *[]string, name string, value []string, usage string) { // TODO(ozben): Implement string array method for capturing the complete set of log settings. }, flag.StringVar, flag.IntVar, flag.BoolVar) } func configureLogging() error { o := *logOptionsFromCommandline // This is spammy at info level, even for tests, so set to warn level o.SetDefaultOutputLevel("installer", log.WarnLevel)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 1.2K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%x", &intVar, "PTR_x"}, {"%X", &intVar, "PTR_X"}, // %v on pointers {"%v", nil, "<nil>"}, {"%#v", nil, "<nil>"}, {"%v", (*int)(nil), "<nil>"}, {"%#v", (*int)(nil), "(*int)(nil)"}, {"%v", &intVar, "0xPTR"}, {"%#v", &intVar, "(*int)(0xPTR)"}, {"%8.2v", (*int)(nil), " <nil>"}, {"%-20.16v", &intVar, "0xPTR "}, // string method on pointer {"%s", &pValue, "String(p)"}, // String method...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
docs/auditlog/auditlog-echo.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/test/echo/cmd/client/main.go
if err := log.Configure(loggingOptions); err != nil { return err } return nil } func init() { rootCmd.PersistentFlags().IntVar(&count, "count", common.DefaultCount, "Number of times to make the request") rootCmd.PersistentFlags().IntVar(&qps, "qps", 0, "Queries per second") rootCmd.PersistentFlags().DurationVar(&timeout, "timeout", common.DefaultRequestTimeout, "Request timeout")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 8.9K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
"XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector") cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"), "Istiod pod port") cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30, "The duration to wait before failing")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 3.2K bytes - Viewed (0) -
pkg/cmd/flag_test.go
defaultString = "my default string" defaultBool = true defaultDuration = 24 * time.Hour ) func TestInitializeIntFlag(t *testing.T) { cmd := &cobra.Command{} var testInt int flag.IntVar(&testInt, "testint", defaultInt, "test int flag") AddFlags(cmd) testName := "Initialize int Flag" if !flag.Parsed() { t.Errorf("%s: flag.Parsed() returns false, should be true", testName) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
clusterConfigCmd.PersistentFlags().StringVar(&subset, "subset", "", "Filter clusters by substring of Subset field") clusterConfigCmd.PersistentFlags().IntVar(&port, "port", 0, "Filter clusters by Port field") clusterConfigCmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "", "Envoy config dump JSON file") return clusterConfigCmd }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 03:28:36 UTC 2024 - 48K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
"File name for Istio mesh configuration. If not specified, a default mesh will be used. This may be overridden by "+ "PROXY_CONFIG environment variable or proxy.istio.io/config annotation.") proxyCmd.PersistentFlags().IntVar(&proxyArgs.StsPort, "stsPort", 0, "HTTP Port on which to serve Security Token Service (STS). If zero, STS service will not be provided.") proxyCmd.PersistentFlags().StringVar(&proxyArgs.TokenManagerPlugin, "tokenManagerPlugin", "",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go
fs.StringVar(&s.ExternalHost, "external-hostname", s.ExternalHost, "The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery).") fs.IntVar(&s.MaxRequestsInFlight, "max-requests-inflight", s.MaxRequestsInFlight, ""+ "This and --max-mutating-requests-inflight are summed to determine the server's total concurrency limit "+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 21:53:51 UTC 2023 - 15.4K bytes - Viewed (0)