- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 387 for typeOf (0.11 sec)
-
src/cmd/vendor/rsc.io/markdown/parse.go
} b.printMarkdown(buf, s) prevEnd = b.Pos().EndLine s.prefix1 = "" // item prefix only for first block } } var ( blockType = reflect.TypeOf(new(Block)).Elem() blocksType = reflect.TypeOf(new([]Block)).Elem() inlinesType = reflect.TypeOf(new([]Inline)).Elem() ) func printb(buf *bytes.Buffer, b Block, prefix string) { fmt.Fprintf(buf, "(%T", b) v := reflect.ValueOf(b) v = reflect.Indirect(v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
return } data, err = json.Marshal(unstr) if err != nil { t.Errorf("Error when marshaling unstructured: %v", err) return } unmarshalledObj := reflect.New(reflect.TypeOf(item).Elem()).Interface() err = json.Unmarshal(data, &unmarshalledObj) if err != nil { t.Errorf("Error when unmarshaling to object: %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt
/** * Creates a [Task] with the given [name] and [type], configures it with the given [configuration] action, * and adds it to this project tasks container. */ inline fun <reified type : Task> Project.task(name: String, noinline configuration: type.() -> Unit) = task(name, type::class, configuration) /** * Creates a [Task] with the given [name] and [type], and adds it to this project tasks container. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 09:50:04 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/apis/storage/v1/defaults_test.go
return nil } obj2, err := runtime.Decode(codec, data) if err != nil { t.Errorf("%v\nData: %s\nSource: %#v", err, string(data), obj) return nil } obj3 := reflect.New(reflect.TypeOf(obj).Elem()).Interface().(runtime.Object) err = legacyscheme.Scheme.Convert(obj2, obj3, nil) if err != nil { t.Errorf("%v\nSource: %#v", err, obj2) return nil } return obj3 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.1K bytes - Viewed (0) -
src/html/template/exec_test.go
// Ideal constants. {"ideal int", "{{typeOf 3}}", "int", 0, true}, {"ideal float", "{{typeOf 1.0}}", "float64", 0, true}, {"ideal exp float", "{{typeOf 1e1}}", "float64", 0, true}, {"ideal complex", "{{typeOf 1i}}", "complex128", 0, true}, {"ideal int", "{{typeOf " + bigInt + "}}", "int", 0, true}, {"ideal too big", "{{typeOf " + bigUint + "}}", "", 0, false}, {"ideal nil without type", "{{nil}}", "", 0, false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
helm/minio/templates/deployment.yaml
{{- end }} {{- if .Values.additionalAnnotations }} annotations: {{- toYaml .Values.additionalAnnotations | nindent 4 }} {{- end }} spec: strategy: type: {{ .Values.deploymentUpdate.type }} {{- if eq .Values.deploymentUpdate.type "RollingUpdate" }} rollingUpdate: maxSurge: {{ .Values.deploymentUpdate.maxSurge }} maxUnavailable: {{ .Values.deploymentUpdate.maxUnavailable }} {{- end }}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 03 17:50:39 UTC 2024 - 8.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch.go
// Lists are always replaced in Json, no need to check each entry in the list. if !keepNull { filteredMap[key] = val } default: return nil, fmt.Errorf("unknown type: %v", reflect.TypeOf(typedVal)) } } } return filteredMap, nil } func meetPreconditions(patchObj map[string]interface{}, fns ...mergepatch.PreconditionFunc) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/apis/storage/v1beta1/defaults_test.go
return nil } obj2, err := runtime.Decode(codec, data) if err != nil { t.Errorf("%v\nData: %s\nSource: %#v", err, string(data), obj) return nil } obj3 := reflect.New(reflect.TypeOf(obj).Elem()).Interface().(runtime.Object) err = legacyscheme.Scheme.Convert(obj2, obj3, nil) if err != nil { t.Errorf("%v\nSource: %#v", err, obj2) return nil } return obj3 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_test.go
} if cfg == nil { t.Fatal("no config loaded where it should have been") } if kubeletCfg, ok := cfg.(*kubeletConfig); !ok { t.Fatalf("found different object type than expected: %s", reflect.TypeOf(cfg)) } else if kubeletCfg.config.ClusterDomain != clusterDomain { t.Fatalf("unexpected control value (clusterDomain):\n\tgot: %q\n\texpected: %q", kubeletCfg.config.ClusterDomain, clusterDomain) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 9.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
return // invalid type } var V0 types.Type // integral type in the type set of V for _, vt := range vtypes { u, _ := vt.Underlying().(*types.Basic) if u != nil && u.Info()&types.IsInteger != 0 { switch u.Kind() { case types.Byte, types.Rune, types.UntypedRune: continue } V0 = vt break } } if V0 == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0)