- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,561 for Handle (0.07 seconds)
-
docs/en/docs/tutorial/background-tasks.md
Create a function to be run as the background task. It is just a standard function that can receive parameters. It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly. In this case, the task function will write to a file (simulating sending an email). And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
} /** * Test decode with truncated data */ @Test @DisplayName("Decode should handle truncated data") void testDecodeTruncatedData() { byte[] truncatedData = new byte[3]; // Less than 4 bytes CIFSException exception = assertThrows(CIFSException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
createDefaultReadingConverter(), createDefaultReadingConverter(), createDefaultNormalizer(), analyzer); assertNotNull(items); // Should handle large text by splitting into chunks assertTrue(items.size() > 0); } @Test public void test_analyzeText() throws Exception {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
``` Client #1596980209979 left the chat ``` /// tip The app above is a minimal and simple example to demonstrate how to handle and broadcast messages to several WebSocket connections. But keep in mind that, as everything is handled in memory, in a single list, it will only work while the process is running, and will only work with a single process.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.3K bytes - Click Count (0) -
cmd/crossdomain-xml-handler.go
// When clients request content hosted on a particular source domain and that content make requests // directed towards a domain other than its own, the remote domain needs to host a cross-domain // policy file that grants access to the source domain, allowing the client to continue the transaction. func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 18 06:42:40 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
private FileEntry next; private int ridx; private boolean closed = false; /** * Creates a directory entry enumeration iterator. * * @param th the SMB tree handle for the connection * @param parent the parent resource being enumerated * @param wildcard the wildcard pattern for filtering entries * @param filter additional resource name filter to applyCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
val proxies: MutableList<Proxy> = mutableListOf() fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS). return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY) } override fun connectFailed( uri: URI,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
for (int j = 0; j < input_shape.num_dims; ++j) { dims.push_back(c.MakeDim(input_shape.dims[j])); } c.SetInput(i, c.MakeShape(dims)); } // TODO(bgogul): Handle input_tensors_as_shapes. // TODO(bgogul): Handle input_resource_shapes_and_types. status->status = c.construction_status(); if (!status->status.ok()) return; if (op_reg_data->shape_inference_fn == nullptr) { status->status =
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SneakyThrows.java
/** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
/** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0)