Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 498 for handleMsg (0.09 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

        class VersionComparisonTests {
    
            @Test
            @DisplayName("should compare versions correctly")
            void shouldCompareVersionsCorrectly() {
                // Based on the actual implementation, it only handles specific cases
                assertTrue(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.1.0"));
                assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.0.0", "4.1.0"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/custom-response.md

    ///
    
    /// tip
    
    Instead of returning a `StreamingResponse` directly, you should probably follow the style in [Stream Data](./stream-data.md), it's much more convenient and handles cancellation behind the scenes for you.
    
    If you are streaming JSON Lines, follow the [Stream JSON Lines](../tutorial/stream-json-lines.md) tutorial.
    
    ///
    
    ### `FileResponse` { #fileresponse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/archive/tar/common.go

    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    	TypeCont = '7'
    
    	// Type 'x' is used by the PAX format to store key-value records that
    	// are only relevant to the next file.
    	// This package transparently handles these types.
    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("q", inputs2[1]);
            assertEquals("r", inputs2[2]);
        }
    
        @Test
        public void test_defensiveCopy_nullArrays() {
            // Test that defensive copy handles null arrays correctly
            CharMappingItem item1 = new CharMappingItem(1L, new String[] { "a" }, "output");
    
            // Set to null
            item1.setNewInputs(null);
    
            // Should return null, not crash
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            assertEquals(4, attemptCount.get());
        }
    
        /**
         * Test: Null safety in connect() when targetIndices is null
         * Verifies that connect() handles null targetIndices gracefully
         */
        @Test
        public void testConnectWithNullTargetIndices() {
            final AdminClient mockAdminClient = mock(AdminClient.class);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    Si quieres capturar excepciones y crear un response personalizado en base a eso, crea un [Manejador de Excepciones Personalizado](../handling-errors.md#install-custom-exception-handlers).
    
    ## Dependencias con `yield` y `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/advanced-dependencies.md

    在 FastAPI 0.106.0 之前,`yield` 之后抛出异常是不可行的,因为带 `yield` 的依赖项中的退出代码会在响应发送之后才执行,此时[异常处理器](../tutorial/handling-errors.md#install-custom-exception-handlers)已经运行完毕。
    
    之所以这样设计,主要是为了允许在后台任务中继续使用依赖项通过 `yield`“产出”的对象,因为退出代码会在后台任务完成之后才执行。
    
    在 FastAPI 0.106.0 中,这一行为被修改,目的是避免在等待响应通过网络传输时一直占用资源。
    
    /// tip | 提示
    
    另外,后台任务通常是一段独立的逻辑,应该单独处理,并使用它自己的资源(例如它自己的数据库连接)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

     *   <li>MIME type detection</li>
     *   <li>Handling of large files through temporary file storage</li>
     *   <li>Object metadata retrieval</li>
     *   <li>Directory listing capabilities</li>
     * </ul>
     *
     * <p>The client handles timeout management for access operations and includes proper
     * resource cleanup mechanisms.
     */
    public class GcsClient extends AbstractCrawlerClient {
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Abstract base class for DCE/RPC communication handles.
     * This class provides the foundation for DCE/RPC client communication.
     */
    public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable {
    
        /*
         * Bindings are in the form:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/NotifyResponseTest.java

            inputList.clear();
            assertEquals(2, notifications.size());
    
            // Try to modify returned list - behavior depends on implementation
            // This tests that the implementation properly handles list modifications
            try {
                notifications.clear();
                // If this succeeds, the implementation allows modification
                assertTrue(notifications.isEmpty());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
Back to Top