- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for setPadding (0.58 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@Test @DisplayName("Should set padding correctly") void testSetPadding() { assertDoesNotThrow(() -> request.setPadding((byte) 0)); assertDoesNotThrow(() -> request.setPadding((byte) 1)); assertDoesNotThrow(() -> request.setPadding((byte) 0xFF)); } @Test @DisplayName("Should set read flags correctly") void testSetReadFlags() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
this.fileId = fileId; } /** * Sets the padding for the read request * * @param padding * the padding to set */ public void setPadding(final byte padding) { this.padding = padding; } /** * Sets the read flags for the read operation * * @param readFlags * the readFlags to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
this.setupCount = 0; this.totalDataCount = 0; this.maxParameterCount = 4; this.maxDataCount = 65536; this.maxSetupCount = (byte) 0x00; } @Override public int getPadding() { return 4; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertEquals(1, transaction.pad(3)); // Need 1 byte to align to 4 } @Test @DisplayName("Test getPadding method") void testGetPadding() { int padding = transaction.getPadding(); assertTrue(padding >= 0); } @Test @DisplayName("Test write operations") void testWriteOperations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
} @Test @DisplayName("Test getPadding returns correct value") void testGetPadding() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1000, DACL_SECURITY_INFORMATION); assertEquals(4, querySecurityDesc.getPadding()); } @Test @DisplayName("Test writeSetupWireFormat returns zero")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0)