- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,729 for struct (0.15 sec)
-
src/go/types/object_test.go
{"type t[P any] struct{f P}", "t", "type p.t[P any] struct{f P}", false}, {"type t[P any] struct{f P}", "t.P", "type parameter P any", false}, {"type C interface{m()}; type t[P C] struct{}", "t.P", "type parameter P p.C", false}, {"type t = struct{f int}", "t", "type p.t = struct{f int}", false}, {"type t = func(int)", "t", "type p.t = func(int)", false}, {"type A = B; type B = int", "A", "type p.A = p.B", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
pkg/config/model_test.go
gateway := cfg.Spec.(*networking.Gateway) if gateway.Selector != nil { t.Errorf("Original gateway is mutated") } } type TestStruct struct { Name string `json:"name"` } func TestDeepCopyTypes(t *testing.T) { cases := []struct { input Spec modify func(c Spec) Spec option cmp.Option }{ // Istio type { &networking.VirtualService{Gateways: []string{"foo"}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
src/runtime/chanbarrier_test.go
package runtime_test import ( "runtime" "sync" "testing" ) type response struct { } type myError struct { } func (myError) Error() string { return "" } func doRequest(useSelect bool) (*response, error) { type async struct { resp *response err error } ch := make(chan *async, 0) done := make(chan struct{}, 0) if useSelect { go func() { select {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 1.4K bytes - Viewed (0) -
src/sync/atomic/type.go
// align64 may be added to structs that must be 64-bit aligned. // This struct is recognized by a special case in the compiler // and will not work if copied to any other package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/istio-agent/grpcxds/grpc_bootstrap.go
} type ChannelCreds struct { Type string `json:"type,omitempty"` Config any `json:"config,omitempty"` } type XdsServer struct { ServerURI string `json:"server_uri,omitempty"` ChannelCreds []ChannelCreds `json:"channel_creds,omitempty"` ServerFeatures []string `json:"server_features,omitempty"` } type CertificateProvider struct { PluginName string `json:"plugin_name,omitempty"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 7.1K bytes - Viewed (0) -
pkg/kubelet/images/puller.go
} var _, _ imagePuller = ¶llelImagePuller{}, &serialImagePuller{} type parallelImagePuller struct { imageService kubecontainer.ImageService tokens chan struct{} } func newParallelImagePuller(imageService kubecontainer.ImageService, maxParallelImagePulls *int32) imagePuller { if maxParallelImagePulls == nil || *maxParallelImagePulls < 1 { return ¶llelImagePuller{imageService, nil} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 08 00:30:31 UTC 2024 - 4K bytes - Viewed (0) -
src/runtime/pprof/protomem_test.go
const expectedLocation = "runtime/pprof.nonRecursiveGenericAllocFunction[go.shape.struct {},go.shape.struct { runtime/pprof.buf [128]uint8 }];runtime/pprof.nonRecursiveGenericAllocFunction[go.shape.struct...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 6.7K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue65711.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:05:08 UTC 2024 - 432 bytes - Viewed (0) -
src/internal/profilerecord/profilerecord.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 815 bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
// (padding:) // data: \0\0\0 // // struct nlattr{ // __u16 nla_len: 12 // __u16 nla_type: NFACCT_PKTS // __u64: data: 123 // } // // struct nlattr{ // __u16 nla_len: 12 // __u16 nla_type: NFACCT_BYTES // __u64: data: 54321 // } func decode(msg []byte, strict bool) (*Counter, error) { counter := &Counter{} reader := bytes.NewReader(msg)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0)