- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 395 for typeOf (0.21 sec)
-
src/internal/reflectlite/export_test.go
return Value{typ, ptr, fl} } func TField(typ Type, i int) Type { t := typ.(rtype) if t.Kind() != Struct { panic("reflect: Field of non-struct type") } tt := (*structType)(unsafe.Pointer(t.Type)) return StructFieldType(tt, i) } // Field returns the i'th struct field. func StructFieldType(t *structType, i int) Type { if i < 0 || i >= len(t.Fields) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java
return name; } @Override public TypeOf<?> getPublicType() { return TypeOf.typeOf(getType()); } }; } }); } }; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 16:54:51 UTC 2024 - 35.6K bytes - Viewed (0) -
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)