- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 367 for typeOf (0.3 sec)
-
pkg/config/model.go
gogotypes "github.com/gogo/protobuf/types" // nolint: depguard "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/types/known/anypb" "google.golang.org/protobuf/types/known/structpb" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime/schema" kubetypes "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/yaml" "istio.io/api/label"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 12.6K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
func TestTypeToPtrType(t *testing.T) { // Encode a T, decode a *T type Type0 struct { A int } t0 := Type0{7} t0p := new(Type0) if err := encAndDec(t0, t0p); err != nil { t.Error(err) } } func TestPtrTypeToType(t *testing.T) { // Encode a *T, decode a T type Type1 struct { A uint } t1p := &Type1{17} var t1 Type1 if err := encAndDec(t1, t1p); err != nil { t.Error(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/defaults_test.go
Template: templateNoLabel, UpdateStrategy: appsv1beta2.DaemonSetUpdateStrategy{ Type: appsv1beta2.OnDeleteDaemonSetStrategyType, }, }, }, expected: &appsv1beta2.DaemonSet{ Spec: appsv1beta2.DaemonSetSpec{ Template: templateNoLabel, UpdateStrategy: appsv1beta2.DaemonSetUpdateStrategy{ Type: appsv1beta2.OnDeleteDaemonSetStrategyType, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 23.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
return c.obj, c.err } type notRegisteredTyper struct{} func (notRegisteredTyper) ObjectKinds(obj runtime.Object) ([]schema.GroupVersionKind, bool, error) { return nil, false, runtime.NewNotRegisteredErrForType("test", reflect.TypeOf(obj)) } func (notRegisteredTyper) Recognizes(schema.GroupVersionKind) bool { return false } type stubMetaFactory struct { gvk *schema.GroupVersionKind
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
shared data structures referenced by multiple facts is preserved. The Pass type has functions to import and export facts, associated either with an object or with a package: type Pass struct { ... ExportObjectFact func(types.Object, Fact) ImportObjectFact func(types.Object, Fact) bool ExportPackageFact func(fact Fact) ImportPackageFact func(*types.Package, Fact) bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/apis/apps/v1/defaults_test.go
Template: templateNoLabel, UpdateStrategy: appsv1.DaemonSetUpdateStrategy{ Type: appsv1.OnDeleteDaemonSetStrategyType, }, }, }, expected: &appsv1.DaemonSet{ Spec: appsv1.DaemonSetSpec{ Template: templateNoLabel, UpdateStrategy: appsv1.DaemonSetUpdateStrategy{ Type: appsv1.OnDeleteDaemonSetStrategyType, }, RevisionHistoryLimit: ptr.To[int32](10), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.1K bytes - Viewed (0) -
src/internal/fuzz/fuzz.go
} if err = CheckCorpus(vals, types); err != nil { return nil, err } return vals, nil } // CheckCorpus verifies that the types in vals match the expected types // provided. func CheckCorpus(vals []any, types []reflect.Type) error { if len(vals) != len(types) { return fmt.Errorf("wrong number of values in corpus entry: %d, want %d", len(vals), len(types)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
src/syscall/js/js.go
case TypeFunction: return "function" default: panic("bad type") } } func (t Type) isObject() bool { return t == TypeObject || t == TypeFunction } // Type returns the JavaScript type of the value v. It is similar to JavaScript's typeof operator, // except that it returns TypeNull instead of TypeObject for null. func (v Value) Type() Type { switch v.ref { case valueUndefined.ref: return TypeUndefined
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
cmd/test-utils_test.go
} // isSameType - compares two object types via reflect.TypeOf func isSameType(obj1, obj2 interface{}) bool { return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend. // Example usage: // // s := StartTestServer(t,"Erasure") // defer s.Stop() type TestServer struct { Root string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)