- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 107 for writeSetupWireFormat (0.09 sec)
-
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
*/ @Test void testWriteMethods() { NetShareEnumResponse response = new NetShareEnumResponse(); byte[] dst = new byte[10]; assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0."); assertEquals(0, response.writeParametersWireFormat(dst, 0), "writeParametersWireFormat should return 0.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
fail("Failed to access outputBuffer field: " + e.getMessage()); } } @Test void testWriteSetupWireFormat() { // Test that writeSetupWireFormat returns 0 byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 10); assertEquals(0, result); } @Test void testWriteParametersWireFormat() { // Test that writeParametersWireFormat returns 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ @Test public void testGetBuffersForTransaction() { // Given SmbComTransaction req = new SmbComTransaction() { @Override int writeSetupWireFormat(byte[] dst, int dstIndex) { return 0; } @Override int writeParametersWireFormat(byte[] dst, int dstIndex) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java
class Trans2SetFileInformationResponse extends SmbComTransactionResponse { Trans2SetFileInformationResponse() { subCommand = SmbComTransaction.TRANS2_SET_FILE_INFORMATION; } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
} @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() { netServerEnum2 = new NetServerEnum2(realConfig, "DOMAIN", NetServerEnum2.SV_TYPE_ALL); byte[] dst = new byte[100]; int result = netServerEnum2.writeSetupWireFormat(dst, 0); assertEquals(0, result); // Test with different offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
} @Test @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0") void testWriteSetupWireFormat() { Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5); byte[] buf = newBuffer(10); int written = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, written, "setup packet should write 2 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
} @Test @DisplayName("Test writeSetupWireFormat writes correct data") void testWriteSetupWireFormat() { // Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); byte[] dst = new byte[10]; int dstIndex = 0; // Act int bytesWritten = trans.writeSetupWireFormat(dst, dstIndex); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java
* * @param config the configuration to use */ public TransWaitNamedPipeResponse(final Configuration config) { super(config); } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(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 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
maxParameterCount = 0; maxDataCount = 0xFFFF; maxSetupCount = (byte) 0x00; setupCount = 2; name = "\\PIPE\\"; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(pipeFid, dst, dstIndex); dstIndex += 2; return 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
class NtTransQuerySecurityDescResponse extends SmbComNtTransactionResponse { SecurityDescriptor securityDescriptor; NtTransQuerySecurityDescResponse() { } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0)