Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for brand_string (0.33 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/apis/core/fuzzer/fuzzer.go

    			// APIVersion and Kind must remain blank in memory.
    			j.APIVersion = c.RandString()
    			j.Kind = c.RandString()
    			j.Namespace = c.RandString()
    			j.Name = c.RandString()
    			j.ResourceVersion = strconv.FormatUint(c.RandUint64(), 10)
    			j.FieldPath = c.RandString()
    		},
    		func(j *core.PodExecOptions, c fuzz.Continue) {
    			j.Stdout = true
    			j.Stderr = true
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    			for i := range r.Cells {
    				t := c.Intn(6)
    				switch t {
    				case 0:
    					r.Cells[i] = c.RandString()
    				case 1:
    					r.Cells[i] = c.Int63()
    				case 2:
    					r.Cells[i] = c.RandBool()
    				case 3:
    					x := map[string]interface{}{}
    					for j := c.Intn(10) + 1; j >= 0; j-- {
    						x[c.RandString()] = c.RandString()
    					}
    					r.Cells[i] = x
    				case 4:
    					x := make([]interface{}, c.Intn(10))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      // Checks for gradient attribute. If present converts the gradient function
      // and populates the GradientDef.
      auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName();
      if (auto attr =
              function->getAttrOfType<mlir::FlatSymbolRefAttr>(grad_string)) {
        auto grad_func = symbol_table.lookup<FuncOp>(attr.getValue());
        TF_RETURN_IF_ERROR(ConvertLibFunction(configs, tf_dialect, symbol_table,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top