- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for recovered (0.42 sec)
-
src/reflect/all_test.go
// Issue 8917. func TestLargeGCProg(t *testing.T) { fv := ValueOf(func([256]*byte) {}) fv.Call([]Value{ValueOf([256]*byte{})}) } func fieldIndexRecover(t Type, i int) (recovered any) { defer func() { recovered = recover() }() t.Field(i) return } // Issue 15046. func TestTypeFieldOutOfRangePanic(t *testing.T) { typ := TypeOf(struct{ X int }{10})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// has failed. // // In package list mode only, go test caches successful package test // results to avoid unnecessary repeated running of tests. When the // result of a test can be recovered from the cache, go test will // redisplay the previous output instead of running the test binary // again. When this happens, go test prints '(cached)' in place of the // elapsed time in the summary line. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
if includeMain && p.Name == "main" && !haveMatch { haveMatch = true cmode = "regonly" } // Mark package for instrumentation. p.Internal.Cover.Mode = cmode covered = append(covered, p) // Force import of sync/atomic into package if atomic mode. if cfg.BuildCoverMode == "atomic" { EnsureImport(p, "sync/atomic") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0) -
doc/go1.17_spec.html
</pre> <h3 id="Handling_panics">Handling panics</h3> <p> Two built-in functions, <code>panic</code> and <code>recover</code>, assist in reporting and handling <a href="#Run_time_panics">run-time panics</a> and program-defined error conditions. </p> <pre class="grammar"> func panic(interface{}) func recover() interface{} </pre> <p> While executing a function <code>F</code>,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/database/sql/sql_test.go
db, err := Open("test", fakeDBName) if err != nil { t.Fatalf("Open: %v", err) } expectPanic := func(name string, f func()) { defer func() { err := recover() if err == nil { t.Fatalf("%s did not panic", name) } }() f() } expectPanic("Exec Exec", func() { db.Exec("PANIC|Exec|WIPE") }) exec(t, db, "WIPE") // check not deadlocked
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator.go
} } else { // Get attacher plugin and the volumeName by splitting the volume unique name in case // there's no VolumeSpec: this happens only on attach/detach controller crash recovery // when a pod has been deleted during the controller downtime pluginName, volumeName, err = util.SplitUniqueName(volumeToDetach.VolumeName) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 101.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
_, err = registry.Get(testContext, podA.Name, &metav1.GetOptions{}) if !errors.IsNotFound(err) { t.Errorf("Unexpected error: %v", err) } } // TestGracefulStoreCanDeleteIfExistingGracePeriodZero tests recovery from // race condition where the graceful delete is unable to complete // in prior operation, but the pod remains with deletion timestamp // and grace period set to 0.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/net/http/server.go
// provided Request. // // If ServeHTTP panics, the server (the caller of ServeHTTP) assumes // 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
// Wait until sync discovers the change time.Sleep(1 * time.Second) assertMonitors(t, gc, "pods", "secrets") // Put the resources back to normal and ensure garbage collector sync recovers fakeDiscoveryClient.setPreferredResources(serverResources, nil) err = expectSyncNotBlocked(fakeDiscoveryClient, &gc.workerLock) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0)