- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 179 for wipe (0.77 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); } @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
} catch (final SmbException se) { fp = 0L; } } if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) { file.unc = file.unc.substring(5); file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse()); } file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test PIPE share type setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PIPE); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PIPE, response.getShareType(), "Should handle PIPE share type"); // Test PRINT share typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Tests for {@link SmbComLockingAndX}. The source class exposes * its wire-format helpers as protected methods and its internal state * is stored in private fields; tests make use of the same package to * access those members directly. */ @ExtendWith(MockitoExtension.class)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testIsForceUnicodeMultipleCalls() { for (int i = 0; i < 5; i++) { assertTrue(response.isForceUnicode()); } } } @Nested @DisplayName("Wire Format Write Tests") class WireFormatWriteTests { @Test @DisplayName("Should return 0 for writeSetupWireFormat") void testWriteSetupWireFormat() { byte[] dst = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} } @BeforeEach void setUp() { transaction = new TestSmbComTransaction(); transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION; transaction.name = "\\PIPE\\test"; transaction.txn_buf = new byte[1024]; transaction.maxBufferSize = 1024; } @Test @DisplayName("Test reset() method resets transaction state") void testReset() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
// Only compare the first 6 bytes that were actually written byte[] actualWritten = new byte[6]; System.arraycopy(buffer, 0, actualWritten, 0, 6); assertArrayEquals(expected, actualWritten, "wire format should match expectation"); } static Stream<Arguments> validParams() { // fid 0x1234, lastWriteTime 0 -> UTime all 0xFFRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]); // Test parameter words wire format int paramWords = transaction.writeParameterWordsWireFormat(dst, 0); assertTrue(paramWords >= 0); // Test bytes wire format int bytes = transaction.writeBytesWireFormat(dst, 0); assertTrue(bytes >= 0); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
} return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format. * * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return written bytes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0)