Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,092 for handle (0.06 sec)

  1. docs/en/docs/advanced/middleware.md

    If an incoming request does not validate correctly then a `400` response will be sent.
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    
    The middleware will handle both standard and streaming responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *}
    
    The following arguments are supported:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readParametersWireFormat(buffer, 0, 100));
            assertEquals(0, response.readDataWireFormat(buffer, 0, 100));
        }
    
        @Test
        @DisplayName("Methods should handle null buffer without validation")
        void testMethodsWithNullBuffer() {
            // The implementation doesn't validate null buffers
            // These methods simply return 0 without accessing the buffer
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Mock Postbox - no need to mock, the framework will handle it
    
            // Register components
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
            ComponentUtil.register(notificationHelper, "notificationHelper");
            // Postbox is handled by the framework
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        // Handle nested properties
                        if (key.contains(".")) {
                            // Simple nested property handling for testing
                            result = result.replace("${" + key + "}", String.valueOf(value));
                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtStatus.java

        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
        int NT_STATUS_INVALID_PARAMETER = 0xC000000d;
        /** The system cannot find the device specified */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

    import jcifs.internal.smb2.create.CreateContextRequest;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle Reconnect Create Context (DHnC)
     *
     * MS-SMB2 Section 2.2.13.2.5
     */
    public class DurableHandleReconnect implements CreateContextRequest {
    
        /**
         * Context name for durable handle reconnect
         */
        public static final String CONTEXT_NAME = "DHnC";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // Lease completely broken - invalidate cache
                entry.invalidate();
            }
    
            if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) {
                // Lost handle cache - may need to close directory handle
                changeNotifier.stopWatching(directoryPath);
            }
    
            // Forward to base lease manager
            baseLeaseManager.handleLeaseBreak(leaseKey, newState);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/StringsTest.java

        private static final String ASCII_STRING = "ASCII Test";
    
        @Nested
        @DisplayName("Basic Encoding Methods")
        class BasicEncodingTests {
    
            @Test
            @DisplayName("getBytes should handle null string")
            void testGetBytesWithNull() {
                // When
                byte[] result = Strings.getBytes(null, StandardCharsets.UTF_8);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                        // Handle operation failure appropriately
                        notifyOperationFailure(op, e);
                    }
                }
            }
        }
    
        private void notifyOperationFailure(CommonServerMessageBlock op, Exception error) {
            // This would need to be implemented based on how the SMB operations
            // handle asynchronous failures in the actual transport implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos());
                assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt());
            }
    
            @Test
            @DisplayName("Should handle empty arrays in decode")
            void testDecodeEmptyArrays() throws SMBProtocolDecodingException {
                // Arrange
                context = new PreauthIntegrityNegotiateContext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top