Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for 2M (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				`isQuantity("20Mi")`:    1,
    				`quantity("200M") == quantity("0.2G") && quantity("0.2G") == quantity("200M")`:                                           6,
    				`quantity("2M") == quantity("0.002G") && quantity("2000k") == quantity("2M") && quantity("0.002G") == quantity("2000k")`: 9,
    				`quantity(self.val1).isLessThan(quantity(self.val2))`:                                                                    7,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expectRuntimeCost:   6,
    		},
    		{
    			name:                "equality_transitivity",
    			expr:                `quantity("2M") == quantity("0.002G") && quantity("2000k") == quantity("2M") && quantity("0.002G") == quantity("2000k")`,
    			expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 5534023222112865798},
    			expectRuntimeCost:   9,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    	}
    	if f.Timeout != nil {
    		flags.StringVar(f.Timeout, flagTimeout, *f.Timeout, "The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.")
    	}
    	if f.DisableCompression != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.unsortedDurations.isSorted() == false",
    				"self.durations.indexOf(duration('1m')) == 1",
    				"self.durations.lastIndexOf(duration('1m')) == 2",
    				"self.durations.indexOf(duration('2m')) == -1",
    				"self.durations.lastIndexOf(duration('2m')) == -1",
    
    				"self.strings.min() == 'a'",
    				"self.strings.max() == 'c'",
    				"self.strings.isSorted()",
    				"self.emptyStrings.isSorted()",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/options/options_test.go

    	"--concurrent_rc_syncs=10",
    	"--concurrent-validating-admission-policy-status-syncs=9",
    	"--configure-cloud-routes=false",
    	"--contention-profiling=true",
    	"--controller-start-interval=2m",
    	"--controllers=foo,bar",
    	"--disable-attach-detach-reconcile-sync=true",
    	"--enable-dynamic-provisioning=false",
    	"--enable-garbage-collector=false",
    	"--enable-hostpath-provisioner=true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/crypto/internal/bigmod/nat.go

    func (out *Nat) resetFor(m *Modulus) *Nat {
    	return out.reset(len(m.nat.limbs))
    }
    
    // maybeSubtractModulus computes x -= m if and only if x >= m or if "always" is yes.
    //
    // It can be used to reduce modulo m a value up to 2m - 1, which is a common
    // range for results computed by higher level operations.
    //
    // always is usually a carry that indicates that the operation that produced x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top