- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 367 for typeOf (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
// NewFunc is a function that creates new empty object storing a object of type Type. NewFunc func() runtime.Object // NewList is a function that creates new empty object storing a list of // objects of type Type. NewListFunc func() runtime.Object Codec runtime.Codec Clock clock.WithTicker } type watchersMap map[int]*cacheWatcher
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
pkg/zdsapi/zds.pb.go
return x.SnapshotSent } return nil } type isWorkloadRequest_Payload interface { isWorkloadRequest_Payload() } type WorkloadRequest_Add struct { Add *AddWorkload `protobuf:"bytes,1,opt,name=add,proto3,oneof"` } type WorkloadRequest_Keep struct { Keep *KeepWorkload `protobuf:"bytes,5,opt,name=keep,proto3,oneof"` } type WorkloadRequest_Del struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
b, err := hex.DecodeString(h) if err != nil { t.Fatal(err) } return b } type test struct { name string modes []cbor.DecMode // most tests should run for all modes in []byte into interface{} // prototype for concrete destination type. if nil, decode into empty interface value. want interface{} assertOnError func(t *testing.T, e error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
err := Read(bytes.NewReader([]byte{1, 2, 3, 4, 5, 6, 7, 8}), order, dst) want := fmt.Sprintf("binary.Read: invalid type %T", dst) if err == nil || err.Error() != want { t.Fatalf("for type %T: got %q; want %q", dst, err, want) } } } func TestNoFixedSize(t *testing.T) { type Person struct { Age int Weight float64 Height float64 } person := Person{ Age: 27,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
pkg/workloadapi/security/authorization.pb.go
} return nil } type isStringMatch_MatchType interface { isStringMatch_MatchType() } type StringMatch_Exact struct { // exact string match Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"` } type StringMatch_Prefix struct { // prefix-based match Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"` } type StringMatch_Suffix struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 29.7K bytes - Viewed (0) -
src/encoding/xml/read_test.go
Summary Text `xml:"summary"` } type Link struct { Rel string `xml:"rel,attr,omitempty"` Href string `xml:"href,attr"` } type Person struct { Name string `xml:"name"` URI string `xml:"uri"` Email string `xml:"email"` InnerXML string `xml:",innerxml"` } type Text struct { Type string `xml:"type,attr,omitempty"` Body string `xml:",chardata"` }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/encoding/json/decode_test.go
"strings" "testing" "time" ) type T struct { X string Y int Z int `json:"-"` } type U struct { Alphabet string `json:"alpha"` } type V struct { F1 any F2 int32 F3 Number F4 *VOuter } type VOuter struct { V V } type W struct { S SS } type P struct { PP PP } type PP struct { T T Ts []T } type SS string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} // Failed as expected, but does it fail for the expected reason. if actualErr != nil && !testCase.shouldPass { if reflect.TypeOf(actualErr) != reflect.TypeOf(testCase.expectedErr) { t.Errorf("%s: Expected to fail with error \"%s\", but instead failed with error \"%s\"", instanceType, testCase.expectedErr, actualErr) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0) -
src/encoding/json/encode_test.go
} }) } } // byte slices are special even if they're renamed types. type renamedByte byte type renamedByteSlice []byte type renamedRenamedByteSlice []renamedByte func TestEncodeRenamedByteSlice(t *testing.T) { s := renamedByteSlice("abc") got, err := Marshal(s) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
pkg/volume/util/util.go
windowsPath = "c:" + windowsPath } return windowsPath } // GetUniquePodName returns a unique identifier to reference a pod by func GetUniquePodName(pod *v1.Pod) types.UniquePodName { return types.UniquePodName(pod.UID) } // GetUniqueVolumeName returns a unique name representing the volume/plugin. // Caller should ensure that volumeName is a name/ID uniquely identifying the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0)