Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,040 for handler3 (0.06 sec)

  1. src/main/java/jcifs/CIFSContext.java

         * Get the credentials associated with this context
         *
         * @return the used credentials
         */
        Credentials getCredentials();
    
        /**
         * Get a URL stream handler for SMB URLs
         *
         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler();
    
        /**
         * Check if default credentials are configured
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should handle null delimiter by inserting 'null' string")
        void testJoinWithNullDelimiter() {
            String result = StringUtil.join(null, "first", "second", "third");
            assertEquals("firstnullsecondnullthird", result);
        }
    
        @Test
        @DisplayName("Should handle null elements in array")
        void testJoinWithNullElements() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            final AtomicBoolean handlerCalled = new AtomicBoolean(false);
            final Thread.UncaughtExceptionHandler handler = (t, e) -> handlerCalled.set(true);
    
            indexUpdater.setUncaughtExceptionHandler(handler);
            assertSame(handler, indexUpdater.getUncaughtExceptionHandler());
        }
    
        // Test setDefaultUncaughtExceptionHandler
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                RenderDataUtil.register(data, "notification", fessConfig.getNotificationLogin());
                saveToken();
            });
        }
    
        /**
         * Handles user login with the provided credentials.
         *
         * @param form the login form containing username and password
         * @return the HTML response after login attempt
         */
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.hasCapability(anyInt())).thenReturn(false);
            return new SmbPipeInputStream(handle, tree);
        }
    
        private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

    import jcifs.smb1.dcerpc.rpc;
    import jcifs.smb1.smb1.SmbException;
    
    /**
     * LSA policy handle for Local Security Authority operations.
     */
    public class LsaPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Constructs an LSA policy handle.
         *
         * @param handle the DCERPC handle
         * @param server the server name
         * @param access the access rights
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            assertNotNull(capturedRpc);
            assertEquals(mockPolicyHandle, capturedRpc.handle);
            assertEquals(access, capturedRpc.access_mask);
            assertEquals(mockSid, capturedRpc.sid);
            assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(handle.getServerWithDfs()).thenCallRealMethod();
            lenient().when(handle.getSessionKey()).thenCallRealMethod();
            lenient().when(handle.getBinding()).thenReturn(mockDcerpcBinding);
            lenient().doCallRealMethod().when(handle).doSendReceiveFragment(any(byte[].class), anyInt(), anyInt(), any(byte[].class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. src/bufio/scan_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter handles a final line without a newline.
    func TestScanLineNoNewline(t *testing.T) {
    	const text = "abcdefghijklmn\nopqrstuvwxyz"
    	lines := []string{
    		"abcdefghijklmn",
    		"opqrstuvwxyz",
    	}
    	testNoNewline(text, lines, t)
    }
    
    // Test that the line splitter handles a final line with a carriage return but no newline.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     *   <li>Handle timeouts during SMB operations.</li>
     * </ul>
     *
     * <p>
     * The client uses a {@link SmbAuthenticationHolder} to manage SMB authentication credentials.
     * It also integrates with other Fess Crawler components, such as {@link ContentLengthHelper} and
     * {@link MimeTypeHelper}, to handle content length checks and MIME type detection.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top