- Sort Score
- Num 10 results
- Language All
Results 2381 - 2390 of 2,793 for errPos (0.12 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
} @Test fun cancelAllWhenEmptyDoesNotStartWorkerThread() { redQueue.execute("red task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) blueQueue.execute("task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) redQueue.cancelAll()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
FastAPI will use this return type to: * **Validate** the returned data. * If the data is invalid (e.g. you are missing a field), it means that *your* app code is broken, not returning what it should, and it will return a server error instead of returning incorrect data. This way you and your clients can be certain that they will receive the data and the data shape expected. * Add a **JSON Schema** for the response, in the OpenAPI *path operation*.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/es/docs/tutorial/response-model.md
* **Validar** los datos devueltos. * Si los datos son inválidos (por ejemplo, falta un campo), significa que el código de *tu* aplicación está defectuoso, no devolviendo lo que debería, y retornará un error del servidor en lugar de devolver datos incorrectos. De esta manera, tú y tus clientes pueden estar seguros de que recibirán los datos y la forma de los datos esperada.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.1K bytes - Click Count (0) -
cmd/erasure-decode_test.go
"io" "math/rand" "testing" "github.com/dustin/go-humanize" ) func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) { return 0, errFaultyDisk } var erasureDecodeTests = []struct { dataBlocks int onDisks, offDisks int blocksize, data int64 offset int64
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/http-basic-auth.md
但在我們的程式碼中實際使用的是 `secrets.compare_digest()`。 簡而言之,將 `stanleyjobsox` 與 `stanleyjobson` 比較所花的時間,會與將 `johndoe` 與 `stanleyjobson` 比較所花的時間相同;密碼也一樣。 如此一來,在應用程式程式碼中使用 `secrets.compare_digest()`,就能安全地防禦這整類的安全攻擊。 ### 回傳錯誤 { #return-the-error } 在偵測到憑證不正確之後,回傳一個狀態碼為 401 的 `HTTPException`(與未提供憑證時相同),並加上 `WWW-Authenticate` 標頭,讓瀏覽器再次顯示登入提示:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
.Output("out: string") .Doc(R"doc(Test non-communication op throwing Unavailable error.)doc"); REGISTER_OP("TestCommUnavailable") .Output("out: string") .SetIsDistributedCommunication() .Doc(R"doc(Test communication op throwing Unavailable error.)doc"); // Kernel that throws an Unavailable error. class TestUnavailableErrorOp : public tensorflow::OpKernel { public:
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* Creates a Type-1 message using the given raw Type-1 material. * * @param material * The raw Type-1 material used to construct this message. * @throws IOException * If an error occurs while parsing the material. */ public Type1Message(final byte[] material) throws IOException { parse(material); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0) -
src/arena/arena.go
limits the impact of these use-after-free bugs by preventing reuse of freed memory regions until the garbage collector is able to determine that it is safe. Typically, a use-after-free bug will result in a fault and a helpful error message, but this package reserves the right to not force a fault on freed memory. That means a valid implementation of this package is to just allocate all memory the way the runtime normally would, and in fact, it
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
if (channel.getTransport() != null) { channel.getTransport().disconnect(true); } } catch (Exception e) { log.warn("Error closing channel {}: {}", channel.getChannelId(), e.getMessage()); } } log.info("Removed {} channels for session {}", channelGroup.getChannelCount(), sessionId); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
SMB1SigningDigest digest = new SMB1SigningDigest(mockTransport, mockAuth); assertNotNull(digest); } @Test @DisplayName("Test constructor with transport throws SmbException on error") void testConstructorWithTransportThrowsException() throws Exception { when(mockTransport.getContext()).thenReturn(mockContext); when(mockContext.getConfig()).thenReturn(mockConfig);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0)