- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for typeOf (0.14 sec)
-
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) -
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) -
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) -
src/unique/handle.go
func (h Handle[T]) Value() T { return *h.value } // Make returns a globally unique handle for a value of type T. Handles // are equal if and only if the values used to produce them are equal. func Make[T comparable](value T) Handle[T] { // Find the map for type T. typ := abi.TypeOf(value) ma, ok := uniqueMaps.Load(typ) if !ok { // This is a good time to initialize cleanup, since we must go through
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/go/internal/base/base.go
// other kinds of structured errors that are logically one unit and that // add other context: only handling the wrapped errors would lose // that context. if err != nil && reflect.TypeOf(err).String() == "*errors.joinError" { for _, e := range err.(interface{ Unwrap() []error }).Unwrap() { Error(e) } return } Errorf("go: %v", err) } func Fatal(err error) { Error(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/documentation/docs/src/main/resources/footer.html
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 09:28:20 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/kubeadm/app/apis/output/types.go
// BootstrapToken represents information for the bootstrap token output produced by kubeadm type BootstrapToken struct { metav1.TypeMeta bootstraptokenv1.BootstrapToken } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // Images represents information for the output produced by 'kubeadm config images list' type Images struct { metav1.TypeMeta Images []string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 07:01:20 UTC 2024 - 4.2K bytes - Viewed (0) -
src/os/types.go
func Getpagesize() int { return syscall.Getpagesize() } // File represents an open file descriptor. // // The methods of File are safe for concurrent use. type File struct { *file // os specific } // A FileInfo describes a file and is returned by [Stat] and [Lstat]. type FileInfo = fs.FileInfo // A FileMode represents a file's mode and permission bits. // The bits have the same definition on all systems, so that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/api/node/v1/types.go
// responsible for resolving the RuntimeClassName reference before running the // pod. For more details, see // https://kubernetes.io/docs/concepts/containers/runtime-class/ type RuntimeClass struct { metav1.TypeMeta `json:",inline"` // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 4.7K bytes - Viewed (0)