- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 97 for recovery (3.2 sec)
-
src/bufio/scan_test.go
} return 0, data, nil } func TestDontLoopForever(t *testing.T) { s := NewScanner(strings.NewReader("abc")) s.Split(loopAtEOFSplit) // Expect a panic defer func() { err := recover() if err == nil { t.Fatal("should have panicked") } if msg, ok := err.(string); !ok || !strings.Contains(msg, "empty tokens") { panic(err) } }() for count := 0; s.Scan(); count++ {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
Eles pegam um `set` de `str` com o nome dos atributos para incluir (omitindo o resto) ou para excluir (incluindo o resto). Isso pode ser usado como um atalho rápido se você tiver apenas um modelo Pydantic e quiser remover alguns dados da saída. /// tip | Dica Mas ainda é recomendado usar as ideias acima, usando várias classes, em vez desses parâmetros.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
src/bufio/scan.go
} s.scanCalled = true // Loop until we have a token. for { // See if we can get a token with what we already have. // If we've run out of data but have an error, give the split function // a chance to recover any remaining, possibly empty token. if s.end > s.start || s.err != nil { advance, token, err := s.split(s.buf[s.start:s.end], s.err != nil) if err != nil { if err == ErrFinalToken { s.token = tokenRegistered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/pt/docs/advanced/generate-clients.md
Poderíamos baixar o JSON do OpenAPI para um arquivo `openapi.json` e então poderíamos **remover essa tag prefixada** com um script como este: {* ../../docs_src/generate_clients/tutorial004_py39.py *} //// tab | Node.js ```Javascript {!> ../../docs_src/generate_clients/tutorial004.js!} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/pt/docs/_llm-test.md
//// //// tab | Informações Os atributos "title" dos elementos "abbr" são traduzidos seguindo algumas instruções específicas. As traduções podem adicionar seus próprios elementos "abbr" que o LLM não deve remover. Por exemplo, para explicar palavras em inglês. Veja a seção `### HTML abbr elements` no prompt geral em `scripts/translate.py`. //// ## Títulos { #headings } //// tab | Teste
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:17:03 UTC 2025 - 12.4K bytes - Viewed (0) -
cmd/generic-handlers.go
// // It should be always the first / highest HTTP handler. func setCriticalErrorHandler(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { defer func() { if rec := recover(); rec == logger.ErrCritical { // handle stack := debug.Stack() logger.Error("critical: \"%s %s\": %v\n%s", r.Method, r.URL, rec, string(stack))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* exception} and/or execute other desired logic. * * <p>Note that the method will be called even upon an invocation of {@code tryLock()}. Although * {@code tryLock()} technically recovers from deadlock by eventually timing out, this behavior * is chosen based on the assumption that it is the application's wish to prohibit any cyclical * lock acquisitions. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Decrypt and verify byte[] decrypted = ccmContext.decryptMessage(encrypted); assertArrayEquals(plaintext, decrypted, "CCM decryption should recover original plaintext"); } @Test @DisplayName("Should integrate with SecureKeyManager") void testSecureKeyManagerIntegration() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* exception} and/or execute other desired logic. * * <p>Note that the method will be called even upon an invocation of {@code tryLock()}. Although * {@code tryLock()} technically recovers from deadlock by eventually timing out, this behavior * is chosen based on the assumption that it is the application's wish to prohibit any cyclical * lock acquisitions. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
doc/go_spec.html
</p> <p> The return value of <code>recover</code> is <code>nil</code> when the goroutine is not panicking or <code>recover</code> was not called directly by a deferred function. Conversely, if a goroutine is panicking and <code>recover</code> was called directly by a deferred function, the return value of <code>recover</code> is guaranteed not to be <code>nil</code>.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 02 23:07:19 UTC 2025 - 286.5K bytes - Viewed (1)