- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 59 for effects (1.61 sec)
-
src/main/java/jcifs/smb1/smb1/Dfs.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertNotNull(serverData.guid); assertArrayEquals(guid, serverData.guid); assertEquals(16, serverData.guid.length); } /** * Test that modifying the original array affects the field (reference test) */ @Test @DisplayName("Test byte array reference behavior") public void testByteArrayReference() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
// For BUFFER_OVERFLOW with FSCTL_PIPE_PEEK, isErrorResponseStatus() should be false and decoding proceeds. byte[] header = buildHeader(NtStatus.NT_STATUS_BUFFER_OVERFLOW); // SrvPipePeekResponse expects at least 16 bytes (4 ints) output byte[] out = new byte[16]; // leave all fields zero for simplicity
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
// When pointer is 0, the string should be null PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0); // check() expects null when pointer is 0 but doesn't accept empty string assertThrows(PACDecodingException.class, () -> { unicodeString.check(""); });Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Ensure arrays are independent: mutate clone's buffer via getter copy.get()[1] = 77; assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original"); } // Uses reflection to set internal array to null to exercise defensive branch in length() @Test @DisplayName("length(): handles internal null defensively")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, c::release); assertTrue(ex.getMessage().toLowerCase().contains("usage count")); } @Test @DisplayName("isConnected reflects underlying tree state") void isConnected_usesTree() { SmbTreeConnection c = newConn(); // No tree -> false assertFalse(c.isConnected());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> notifications = response.getNotifyInformation(); // Verify initial state assertEquals(2, notifications.size()); // Modify input list - should not affect returned list inputList.clear(); assertEquals(2, notifications.size()); // Try to modify returned list - behavior depends on implementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(0x3333, desc3.fid); assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation); // Verify writing doesn't affect other instances byte[] dst1 = new byte[8]; byte[] dst2 = new byte[8]; byte[] dst3 = new byte[8]; desc1.writeParametersWireFormat(dst1, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
closeFlagsField.setAccessible(true); int finalFlags = (int) closeFlagsField.get(request); assertEquals(0x0000, finalFlags); // Verify wire format reflects final state byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0); assertEquals(0x0000, SMBUtil.readInt2(buffer, 2)); byte[] wireFileId = new byte[16];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
* <a href="../../resolver.html">Setting Name Resolution Properties</a> * and the <code>jcifs.smb1.resolveOrder</code> property. Changing * jCIFS name resolution properties can greatly affect the behavior of * the client and may be necessary for proper operation. * <p> * This class should be used in favor of {@code InetAddress} to resolve * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0)