- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Recover (0.12 sec)
-
docs/changelogs/changelog_3x.md
routes were omitted for eagerly-closed connections. ## Version 3.9.1 _2017-11-18_ * New: Recover gracefully when Android's DNS crashes with an unexpected `NullPointerException`. * New: Recover gracefully when Android's socket connections crash with an unexpected `ClassCastException`. * Fix: Don't include the URL's fragment in `encodedQuery()` when the query
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } } func TestBufferGrowNegative(t *testing.T) { defer func() { if err := recover(); err == nil { t.Fatal("Grow(-1) should have panicked") } }() var b Buffer b.Grow(-1) } func TestBufferTruncateNegative(t *testing.T) { defer func() { if err := recover(); err == nil { t.Fatal("Truncate(-1) should have panicked") } }() var b Buffer
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
src/bufio/bufio_test.go
// should panic with a description pointing at the reader, not at itself. // (should NOT panic with slice index error, for example.) b := NewReader(new(negativeReader)) defer func() { switch err := recover().(type) { case nil: t.Fatal("read did not panic") case error: if !strings.Contains(err.Error(), "reader returned negative count from Read") { t.Fatalf("wrong panic: %v", err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
cmd/erasure-object.go
} else { err = errFileNotFound } } } // when we have insufficient read quorum and inconsistent metadata return // file not found, since we can't possibly have a way to recover this object // anyway. if v, ok := err.(InsufficientReadQuorum); ok && v.Type == RQInconsistentMeta { if opts.VersionID != "" { err = errFileVersionNotFound } else { err = errFileNotFound }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
src/archive/zip/reader_test.go
0x4b, 0x05, 0x06, 0x20, 0x20, 0x20, 0x20, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x20, 0x00, } defer func() { if r := recover(); r != nil { t.Fatalf("NewReader panicked: %s", r) } }() // Previously, this would trigger a panic as we attempt to read from // an io.SectionReader which would access a slice at a negative offset
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
tests/test_generate_unique_id_function.py
@app.post("/") def post_root(item1: Item): return item1 # pragma: nocover @app.post("/second") def post_second(item1: Item): return item1 # pragma: nocover @app.post("/third") def post_third(item1: Item): return item1 # pragma: nocover client = TestClient(app) with warnings.catch_warnings(record=True) as w:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 13 15:10:26 UTC 2024 - 66.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
this.eventListenerFactory = eventListenerFactory } /** * Configure this client to retry or not when a connectivity problem is encountered. By default, * this client silently recovers from the following problems: * * * **Unreachable IP addresses.** If the URL's host has multiple IP addresses, * failure to reach any individual IP address doesn't fail the overall request. This can
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm.s
// the old assembler's (5a's) grammar and hand-writing complete // instructions for each rule, to guarantee we cover the same space. #include "../../../../../runtime/textflag.h" TEXT foo(SB), DUPOK|NOSPLIT, $0 // ADD // // LTYPE1 cond imsr ',' spreg ',' reg // { // outcode($1, $2, &$3, $5, &$7); // } // Cover some operand space here too. ADD $1, R2, R3 ADD R1<<R2, R3, R4 ADD R1>>R2, R3, R4 ADD R1@>R2, R3, R4
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 15 20:51:01 UTC 2023 - 69K bytes - Viewed (0) -
cmd/test-utils_test.go
t.Fatalf("Unexpected err: %#v", err) } rec := httptest.NewRecorder() apiRouter.ServeHTTP(rec, reqI) checkRespErr(rec, http.StatusOK) decoder := xml.NewDecoder(rec.Body) multipartResponse := &InitiateMultipartUploadResponse{} err = decoder.Decode(multipartResponse) if err != nil { t.Fatalf("Error decoding the recorded response Body") } upID := multipartResponse.UploadID
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
} if fi.Deleted { err = x.addVersion(ventry) return "", err } return "", errFileVersionNotFound } // xlMetaDataDirDecoder is a shallow decoder for decoding object datadir only. type xlMetaDataDirDecoder struct { ObjectV2 *struct { DataDir [16]byte `msg:"DDir"` // Data dir ID } `msg:"V2Obj,omitempty"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (0)