Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for brand_string (0.17 sec)

  1. src/internal/sysinfo/cpuinfo_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || freebsd || netbsd || openbsd
    
    package sysinfo
    
    import "syscall"
    
    func osCPUInfoName() string {
    	cpu, _ := syscall.Sysctl("machdep.cpu.brand_string")
    	return cpu
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 344 bytes
    - Viewed (0)
  2. pkg/controller/apis/config/fuzzer/fuzzer.go

    			obj.Generic.ClientConnection.ContentType = fmt.Sprintf("%s/%s.%s.%s", c.RandString(), c.RandString(), c.RandString(), c.RandString())
    			if obj.Generic.LeaderElection.ResourceLock == "" {
    				obj.Generic.LeaderElection.ResourceLock = "endpoints"
    			}
    			obj.Generic.Controllers = []string{fmt.Sprintf("%s", c.RandString())}
    			if obj.KubeCloudShared.ClusterName == "" {
    				obj.KubeCloudShared.ClusterName = "kubernetes"
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 25 09:31:47 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/fuzzer/fuzzer.go

    			obj.ClientConnection.ContentType = c.RandString()
    			obj.Conntrack.MaxPerCore = ptr.To(c.Int31())
    			obj.Conntrack.Min = ptr.To(c.Int31())
    			obj.Conntrack.TCPCloseWaitTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    			obj.Conntrack.TCPEstablishedTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    			obj.FeatureGates = map[string]bool{c.RandString(): true}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/erasure-sets_test.go

    func BenchmarkCrcHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. pkg/apis/batch/fuzzer/fuzzer.go

    		},
    		func(sj *batch.CronJobSpec, c fuzz.Continue) {
    			c.FuzzNoCustom(sj)
    			suspend := c.RandBool()
    			sj.Suspend = &suspend
    			sds := int64(c.RandUint64())
    			sj.StartingDeadlineSeconds = &sds
    			sj.Schedule = c.RandString()
    			successfulJobsHistoryLimit := int32(c.Rand.Int31())
    			sj.SuccessfulJobsHistoryLimit = &successfulJobsHistoryLimit
    			failedJobsHistoryLimit := int32(c.Rand.Int31())
    			sj.FailedJobsHistoryLimit = &failedJobsHistoryLimit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/fuzzer/fuzzer.go

    			s.CurrentMetrics = []autoscaling.MetricStatus{
    				{
    					Type: autoscaling.PodsMetricSourceType,
    					Pods: &autoscaling.PodsMetricStatus{
    						Metric: autoscaling.MetricIdentifier{
    							Name: c.RandString(),
    						},
    						Current: autoscaling.MetricValueStatus{
    							AverageValue: &averageValue,
    						},
    					},
    				},
    				{
    					Type: autoscaling.ResourceMetricSourceType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go

    			}
    			if c.RandBool() {
    				validJSON := apiextensions.JSON(`{"some": {"json": "test"}, "string": 42}`)
    				obj.Default = &validJSON
    			}
    			if c.RandBool() {
    				obj.Enum = []apiextensions.JSON{c.Float64(), c.RandString(), c.RandBool()}
    			}
    			if c.RandBool() {
    				validJSON := apiextensions.JSON(`"foobarbaz"`)
    				obj.Example = &validJSON
    			}
    			if c.RandBool() {
    				validRef := "validRef"
    				obj.Ref = &validRef
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top