Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,166 for handle2 (0.17 sec)

  1. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            operation -->> dep: Raise other exception
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

            this.retryDelayMs = retryDelayMs;
        }
    
        /**
         * Create error handler with default settings
         *
         * @param statistics statistics tracker
         */
        public RdmaErrorHandler(RdmaStatistics statistics) {
            this(statistics, 3, 1000); // 3 retries with 1 second delay
        }
    
        /**
         * Handle RDMA connection error and attempt recovery
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/WinErrorTest.java

            }
        }
    
        // Simple collaborator to demonstrate interaction verification with Mockito
        interface Handler {
            void handle(int code, String message);
        }
    
        @Mock
        Handler handler;
    
        @Test
        @DisplayName("Interaction: handler called with each code/message pair")
        void interaction_with_mock_handler_is_as_expected() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Next call should handle CIFSException and close iterator
            assertFalse(it.hasNext()); // After error, hasNext should return false
    
            // Assert
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("close() closes when there is a next element and releases handle")
        void explicitClose() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			t.Fatalf("Test %d: %s: Failed to create HTTP request for Head Object: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler,`func (api objectAPIHandlers) GetObjectHandler`  handles the request.
    		apiRouter.ServeHTTP(rec, req)
    
    		// Assert the response code with the expected status.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  7. cmd/metrics-router.go

    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    	metricsRouter.Handle(prometheusMetricsV2ClusterPath, auth(metricsServerHandler()))
    	metricsRouter.Handle(prometheusMetricsV2BucketPath, auth(metricsBucketHandler()))
    	metricsRouter.Handle(prometheusMetricsV2NodePath, auth(metricsNodeHandler()))
    	metricsRouter.Handle(prometheusMetricsV2ResourcePath, auth(metricsResourceHandler()))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            // Clear the protocol handlers cache
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
            handlersField.setAccessible(true);
            @SuppressWarnings("unchecked")
            Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null);
            handlers.clear();
        }
    
        /**
         * Pre-populates the protocol handlers cache with mock handlers for testing.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. docs/SMB3_IMPLEMENTATION_PLAN.md

    ├── DurableHandleV2Request.java      - Durable handle v2 with timeout
    └── HandleReconnector.java           - Automatic handle reconnection
    ```
    
    #### 2.2 Implementation Tasks
    - [ ] Implement persistent/durable handle contexts
    - [ ] Add handle GUID generation and tracking
    - [ ] Implement handle state serialization
    - [ ] Create reconnection logic with handle replay
    - [ ] Add timeout management for durable handles
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/HandlerTest.java

    /**
     * Unit tests for {@link Handler}.
     *
     * Tests the SMB URL handler implementation including:
     * - Default port configuration
     * - URL connection opening
     * - URL creation and parsing
     */
    public class HandlerTest {
    
        private final Handler handler = new Handler();
    
        @BeforeAll
        static void setupProtocolHandler() {
            // Register the SMB protocol handler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top