- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 653 for HANDLE (3.04 sec)
-
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) -
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/dfs/DfsReferralDataImplTest.java
@NullAndEmptySource @DisplayName("Should handle null and empty domains") void testNullAndEmptyDomains(String domain) { referralData.setDomain(domain); assertEquals(domain, referralData.getDomain()); } @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty links") void testNullAndEmptyLinks(String link) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K 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) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
import jcifs.smb1.util.Encdec; /** * DCERPC handle implementation using SMB named pipes for transport */ public class DcerpcPipeHandle extends DcerpcHandle { SmbNamedPipe pipe; SmbFileInputStream in = null; SmbFileOutputStream out = null; boolean isStart = true; /** * Creates a DCERPC pipe handle with the specified URL and authentication
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
for (int _i = 0; _i < _nodes; _i++) { this.node[_i] = (byte) _src.dec_ndr_small(); } } } /** * Policy handle structure for DCE/RPC operations. * Represents an opaque handle used to reference server-side resources. */ public static class policy_handle extends NdrObject { /** * Default constructor for policy_handle. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
// Then assertTrue(testHandler instanceof jcifs.http.Handler); assertEquals(443, testHandler.getDefaultPort()); } @Test @DisplayName("Should handle multiple instances") void testMultipleInstances() { // When Handler handler1 = new Handler(null); Handler handler2 = new Handler(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
oplockLevelField.setAccessible(true); assertEquals(oplockLevel, oplockLevelField.get(notification)); } @Test @DisplayName("Should handle buffer with offset correctly") void testReadWithBufferOffset() throws Exception { int offset = 10; byte[] buffer = new byte[64]; byte[] fileId = createTestData(16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Should use caller available units, not actual free units assertEquals(500L * 8 * 512, fileFsFullSizeInfo.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 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(2048, response.getEndOfFile()); assertEquals(0x10, response.getFileAttributes()); } @Test @DisplayName("Should handle all zero values correctly") void testReadBytesWireFormatWithZeroValues() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[60];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)