- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 301 for typeOf (0.23 sec)
-
pkg/scheduler/apis/config/validation/validation.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 11.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
attr := "__stdcall" if cdecl { attr = "__cdecl" } typename := "t" + funcname t := reflect.TypeOf(f.goFunc) cTypes := make([]string, t.NumIn()) cArgs := make([]string, t.NumIn()) for i := range cTypes { // We included stdint.h, so this works for all sized // integer types, and uint8Pair_t. cTypes[i] = t.In(i).Name() + "_t" if t.In(i).Name() == "uint8Pair" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/reflect/abi_test.go
// on the stack. type Struct9 struct { Struct1 Struct7 } // Struct10 is a struct type that is too large to be // passed in registers. type Struct10 struct { Struct5 Struct8 } // Struct11 is a struct type that has several reference // types in it. type Struct11 struct { X map[string]int } // Struct12 has Struct11 embedded into it to test more // paths. type Struct12 struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 26.4K bytes - Viewed (0) -
pkg/apis/apps/v1beta1/defaults_test.go
Strategy: appsv1beta1.DeploymentStrategy{ Type: appsv1beta1.RollingUpdateDeploymentStrategyType, RollingUpdate: nil, }, }, }, expected: &appsv1beta1.Deployment{ Spec: appsv1beta1.DeploymentSpec{ Replicas: ptr.To[int32](3), Strategy: appsv1beta1.DeploymentStrategy{ Type: appsv1beta1.RollingUpdateDeploymentStrategyType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.4K bytes - Viewed (0) -
src/math/rand/regress_test.go
} for i := 0; i < n; i++ { m := rv.Type().Method(i) mv := rv.Method(i) mt := mv.Type() if mt.NumOut() == 0 { continue } r.Seed(0) for repeat := 0; repeat < 20; repeat++ { var args []reflect.Value var argstr string if mt.NumIn() == 1 { var x any switch mt.In(0).Kind() { default: t.Fatalf("unexpected argument type for r.%s", m.Name) case reflect.Int:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 17.8K bytes - Viewed (0) -
pkg/api/v1/pod/util_test.go
{ status: &podStatus, conditions: v1.PodCondition{ Type: v1.PodScheduled, Status: v1.ConditionTrue, Reason: "successfully", Message: "sync pod successfully", LastProbeTime: time, LastTransitionTime: metav1.NewTime(time.Add(1000))}, expected: true, desc: "not equal Type, should get updated", }, { status: &podStatus,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 32.1K bytes - Viewed (0) -
internal/s3select/sql/value.go
return errors.New("value is not valid utf-8") } // Fallback to string v.setString(asString) return } // When numeric types are compared, type promotions could happen. If // values do not have types (e.g. when reading from CSV), for // comparison operations, automatic type conversion happens by trying // to check if the value is a number (first an integer, then a float), // and falling back to string.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_dns_proto_nds_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/api/v1/persistentvolume/util_test.go
"Spec.PersistentVolumeSource.CSI.ControllerExpandSecretRef", "Spec.PersistentVolumeSource.CSI.NodeExpandSecretRef", ) secretPaths := collectSecretPaths(t, nil, "", reflect.TypeOf(&api.PersistentVolume{})) secretPaths = secretPaths.Difference(excludedSecretPaths) if missingPaths := expectedSecretPaths.Difference(secretPaths); len(missingPaths) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 14.5K bytes - Viewed (0) -
operator/pkg/validate/common.go
if int64(v) < min || int64(v) > max { err = fmt.Errorf("value %s:%v falls out side range [%v, %v]", path, v, min, max) } default: err = fmt.Errorf("validateIntRange %s unexpected type %T, want int type", path, val) } logWithError(err, "validateIntRange %s:%v in [%d, %d]?: ", path, val, min, max) return util.NewErrs(err) } // validateCIDR checks whether val is a string with a valid CIDR.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0)