- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for mypanic (0.23 sec)
-
src/net/http/server.go
// that the effect of the panic was isolated to the active request. // It recovers the panic, logs a stack trace to the server error log, // and either closes the network connection or sends an HTTP/2 // RST_STREAM, depending on the HTTP protocol. To abort a handler so // the client sees an interrupted response but the server doesn't log // an error, panic with the value [ErrAbortHandler]. type Handler interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
IPAddresses: []string{"6.6.6.6"}, Locality: c.locality, DNSDomain: "default.example.org", Metadata: c.meta, IstioVersion: c.istioVersion, } default: panic(fmt.Sprintf("unsupported node type: %v", c.nodeType)) } clusters := cg.Clusters(cg.SetupProxy(proxy)) xdstest.ValidateClusters(c.t, clusters) if len(cg.PushContext().ProxyStatus[model.DuplicatedClusters.Name()]) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
func (t *testRESTStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) { metaObj, err := meta.Accessor(obj) if err != nil { panic(err.Error()) } labels := metaObj.GetLabels() if labels == nil { labels = map[string]string{} } labels["prepare_create"] = "true" metaObj.SetLabels(labels) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
name: "preCheck isn't called if the event is not interested by any plugins", podInfos: podInfos, event: PvAdd, // No plugin is interested in this event. preEnqueueCheck: func(pod *v1.Pod) bool { panic("preCheck shouldn't be called") }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { logger, ctx := ktesting.NewTestContext(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
buf := make([]byte, size) buf = buf[:runtime.Stack(buf, false)] err = fmt.Errorf("%q stack:\n%s", err, buf) t.Errorf("Expected no panic, but got: %v", err) } }() // should not panic rows[0].DeepCopy() }() }) } } func TestPrintIPAddress(t *testing.T) { ip := networking.IPAddress{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// part of a test's identifier must match the corresponding element in // the sequence, if any. // // -timeout d // If a test binary runs longer than duration d, panic. // If d is 0, the timeout is disabled. // The default is 10 minutes (10m). // // -v // Verbose output: log all tests as they are run. Also print all
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0)