Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for 2M (0.12 sec)

  1. cmd/kubeadm/app/cmd/options/token.go

    func (bto *BootstrapTokenOptions) AddTTLFlagWithName(fs *pflag.FlagSet, flagName string) {
    	fs.DurationVar(
    		&bto.TTL.Duration, flagName, bto.TTL.Duration,
    		"The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire",
    	)
    }
    
    // AddUsagesFlag adds the --usages flag to the given flagset
    func (bto *BootstrapTokenOptions) AddUsagesFlag(fs *pflag.FlagSet) {
    	fs.StringSliceVar(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/duration/duration_test.go

    		{d: -2*time.Second + 1, want: "0s"},
    		{d: 0, want: "0s"},
    		{d: time.Second - time.Millisecond, want: "0s"},
    		{d: 2*time.Minute - time.Millisecond, want: "119s"},
    		{d: 2 * time.Minute, want: "2m"},
    		{d: 2*time.Minute + time.Second, want: "2m1s"},
    		{d: 10*time.Minute - time.Millisecond, want: "9m59s"},
    		{d: 10 * time.Minute, want: "10m"},
    		{d: 10*time.Minute + time.Second, want: "10m"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 17 18:04:52 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. pkg/apis/core/helper/helpers_test.go

    		{resource.Quantity{}, resource.MustParse("1m"), false},
    		{
    			resource.NewQuantity(5, resource.BinarySI),
    			resource.NewQuantity(5, resource.DecimalSI),
    			true,
    		},
    		{resource.MustParse("2m"), resource.MustParse("1m"), false},
    	}
    
    	for index, item := range table {
    		if e, a := item.shouldEqual, Semantic.DeepEqual(item.a, item.b); e != a {
    			t.Errorf("case[%d], expected %v, got %v.", index, e, a)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/http2/hpack/tables.go

    	// practice, we will have one dynamic table per HTTP/2 connection. If we
    	// assume a very powerful server that handles 1M QPS per connection and each
    	// request adds (then evicts) 100 entries from the table, it would still take
    	// 2M years for evictCount to overflow.
    	ents       []HeaderField
    	evictCount uint64
    
    	// byName maps a HeaderField name to the unique id of the newest entry with
    	// the same name. See above for a definition of "unique id".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 22:32:44 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. istioctl/pkg/metrics/metrics.go

      istioctl experimental metrics productpage-v1
    
      # Retrieve workload metrics for various services with custom duration
      istioctl experimental metrics productpage-v1 -d 2m
    
      # Retrieve workload metrics for various services in the different namespaces
      istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz`,
    		// nolint: goimports
    		Aliases: []string{"m"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/crypto/tls/testdata/Server-TLSv12-RSA-AES256-GCM-SHA384

    000002d0  4d 5e f1 10 1f ed 70 d1  88 7a 22 79 6e 5c c9 4c  |M^....p..z"yn\.L|
    000002e0  e3 e7 a2 bd f4 3d f4 75  dc a3 85 5e f1 af 55 6f  |.....=.u...^..Uo|
    000002f0  e3 36 21 c6 8a 44 e9 58  29 89 32 4d 14 90 9d 1b  |.6!..D.X).2M....|
    00000300  bd 0e fa c3 eb 40 5d 05  5d ba 58 55 3e f9 30 b8  |.....@].].XU>.0.|
    00000310  8f 56 35 71 12 33 92 0e  14 f9 90 2c ee 36 03 50  |.V5q.3.....,.6.P|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:13:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options_test.go

    		"--tracing-config-file=/var/run/kubernetes/tracing_config.yaml",
    		"--proxy-client-cert-file=/var/run/kubernetes/proxy.crt",
    		"--proxy-client-key-file=/var/run/kubernetes/proxy.key",
    		"--request-timeout=2m",
    		"--storage-backend=etcd3",
    		"--lease-reuse-duration-seconds=100",
    	}
    	fs.Parse(args)
    
    	// This is a snapshot of expected options parsed by args.
    	expected := &Options{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/flag/flag_test.go

    	args := []string{
    		"-bool",
    		"-bool2=true",
    		"--int", "22",
    		"--int64", "0x23",
    		"-uint", "24",
    		"--uint64", "25",
    		"-string", "hello",
    		"-float64", "2718e28",
    		"-duration", "2m",
    		extra,
    	}
    	if err := f.Parse(args); err != nil {
    		t.Fatal(err)
    	}
    	if !f.Parsed() {
    		t.Error("f.Parse() = false after Parse")
    	}
    	if *boolFlag != true {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/options/options_test.go

    		"--tracing-config-file=/var/run/kubernetes/tracing_config.yaml",
    		"--proxy-client-cert-file=/var/run/kubernetes/proxy.crt",
    		"--proxy-client-key-file=/var/run/kubernetes/proxy.key",
    		"--request-timeout=2m",
    		"--storage-backend=etcd3",
    		"--service-cluster-ip-range=192.168.128.0/17",
    		"--lease-reuse-duration-seconds=100",
    	}
    	fs.Parse(args)
    
    	// This is a snapshot of expected options parsed by args.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pkg/log/config_test.go

    	}
    
    	// construct a log string that contains 128 characters
    	line := ""
    	for i := 0; i < 8; i++ {
    		line += "0123456789ABCDEF" // 16 characters
    	}
    
    	// make sure that all log outputs is much larger than 2M
    	wg := sync.WaitGroup{}
    	for i := 0; i < 4; i++ {
    		wg.Add(1)
    		go func() {
    			for ii := 0; ii < 1024; ii++ {
    				for j := 0; j < 8; j++ {
    					log.Println(line)
    				}
    			}
    			wg.Done()
    		}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top