Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,148 for Handler (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertNotNull(outputStream);
            assertTrue(outputStream instanceof ByteArrayOutputStream);
        }
    
        public void test_getXContentString_success() {
            // Test that getXContentString method exists and handles exceptions properly
            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

            try {
                // Create RPC handle to witness service
                this.handle = DcerpcHandle.getHandle(
                    "ncacn_ip_tcp:" + serverAddress.getHostAddress() + "[135]",
                    WITNESS_INTERFACE_UUID,
                    WITNESS_INTERFACE_VERSION,
                    context
                );
                
                // Bind to witness interface
                handle.bind();
                
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        }
    
        /**
         * Add a durable handle V1 context to this request
         */
        public void addDurableHandleV1Context() {
            addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest());
        }
    
        /**
         * Add a durable handle V2 context to this request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                try {
                    digest.sign(data, 0, data.length, request, response);
                    // If no exception is thrown, the operation should have been no-op or handled gracefully
                    assertTrue(true, "Sign operation after close should either throw exception or handle gracefully");
                } catch (RuntimeException e) {
                    // Accept runtime exceptions that might be thrown due to closed state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

        }
    
        public void test_getAccountId_smb1_basic() throws SmbException {
            // Note: SMB1 SID testing is limited due to interface constraints
            // This test verifies the method exists and handles the SMB1 SID parameter type
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getSmbAvailableSidTypes() {
                    return "1,2,4:2,5:1";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryProcessor.java

    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * Query processor component that handles query filters and commands.
     * This class provides a pipeline for processing Lucene queries by applying
     * a chain of filters and executing registered query commands.
     *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        public void setUp() throws IOException {
            MockitoAnnotations.openMocks(this);
    
            // Create temporary directory for test state
            tempDir = Files.createTempDirectory("jcifs-test-handles");
    
            // Set system property for handle state directory
            System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString());
    
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("close(): clears cache and closes handle; does not close shared SmbFile")
        void close_sharedFile_closesHandle_only() throws Exception {
            SmbRandomAccessFile raf = newInstance("rw", false, true, false);
            SmbFile file = (SmbFile) getField(raf, "file");
            SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle");
    
            // Act
            raf.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                ProtwordsFile errorFile = new ProtwordsFile("test_id", nonExistentFile.getAbsolutePath(), new Date());
                errorFile.reload(null);
                // If no exception, the file might have been handled gracefully
                assertTrue(true);
            } catch (Exception e) {
                // Expected for missing file
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        }
    
        @Test
        @DisplayName("run method handles null URL gracefully")
        void testRunWithNullUrl() {
            TestLocking t = new TestLocking();
            t.url = null; // Null URL
            t.numIter = 0; // No iterations to avoid NPE
    
            // Should not throw exception
            assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top