- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,148 for Handler (0.06 sec)
-
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) -
src/test/java/jcifs/ACETest.java
@Test @DisplayName("Should handle empty or null ApplyToText") void shouldHandleEmptyApplyToText() { ACE ace1 = mock(ACE.class); ACE ace2 = mock(ACE.class); when(ace1.getApplyToText()).thenReturn(""); when(ace2.getApplyToText()).thenReturn(null); assertEquals("", ace1.getApplyToText(), "Should handle empty apply text");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
} catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); return; } // Should handle case sensitivity properly assertNotNull(functionBuilders); assertEquals(0, functionBuilders.size()); // No data loaded } public void test_load_emptyState() { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 10.1K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
} @Test void testConstructorWithSmbFileOnly() throws IOException, CIFSException { // Given // Mock the AutoCloseable tree handle behavior SmbTreeHandleImpl autoCloseableMockTreeHandle = mock(SmbTreeHandleImpl.class); when(mockFile.ensureTreeConnected()).thenReturn(autoCloseableMockTreeHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertEquals(2048L * 4 * 4096, fileFsSizeInfo.getCapacity()); assertEquals(1024L * 4 * 4096, fileFsSizeInfo.getFree()); } @Test @DisplayName("Should handle negative values in buffer") void shouldHandleNegativeValuesInBuffer() throws SMBProtocolDecodingException { // Given - negative values (treated as unsigned in protocol)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("FFFE80", Hexdump.toHexString(data2, 0, 6)); // 6 chars = 3 bytes assertEquals("FFFE807F", Hexdump.toHexString(data2, 0, 8)); // 8 chars = 4 bytes // Test odd size (should handle correctly) byte[] data3 = { 0x0A, 0x0B, 0x0C }; assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
CIFSException expectedException = new CIFSException("Failed to close handle"); doThrow(expectedException).when(watchHandle).close(); // Execute and verify CIFSException thrown = assertThrows(CIFSException.class, () -> { watchHandle.close(); }); assertEquals("Failed to close handle", thrown.getMessage()); verify(watchHandle, times(1)).close(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
.github/workflows/issue-manager.yml
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Oct 15 10:38:53 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
assertNotNull(request); } @Test @DisplayName("Constructor should handle null filename") void testConstructorWithNullFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, null)); } @Test @DisplayName("Constructor should handle empty filename") void testConstructorWithEmptyFilename() { // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0)