- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 963 for handle (0.55 sec)
-
src/main/java/jcifs/smb/SmbSessionImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
assertEquals(SMB_COM_NT_CANCEL, commandField.getByte(cancel)); } @ParameterizedTest @ValueSource(ints = { 0, 1, 100, 255, 65535 }) @DisplayName("Should handle different MID values") void testConstructorWithVariousMids(int mid) throws Exception { // Given Configuration config = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Expected to catch exception silently } } }; FwAssistantDirector assistantDirector = createMockAssistantDirector(); // Should handle ClassNotFoundException gracefully customHook.hook(assistantDirector); // Verify no exception is thrown to the caller assertTrue(true); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K 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) -
src/main/java/jcifs/smb/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K 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/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) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
leaseManager.updateLease(key, grantedState); LeaseEntry entry = leaseManager.getLease(key); assertEquals(grantedState, entry.getLeaseState()); } @Test @DisplayName("Should handle lease break") void testHandleLeaseBreak() { String path = "/share/file.txt"; int initialState = Smb2LeaseState.SMB2_LEASE_FULL; int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
} else { throw new IOException("Simulated reconnection failure"); } } public void testCreateReconnectionRequest(HandleInfo handle) { createReconnectionRequest(handle); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0)