- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for writeParameterWordsWireFormat (0.22 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0); // Verify setup count is written correctly assertEquals(3, dst[35]); // Verify the total bytes written accounts for setup words assertTrue(bytesWritten >= 38 + 6); // Base structure + setup words } @Test @DisplayName("Test writeParameterWordsWireFormat returns correct byte count")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
} @Test @DisplayName("writeParameterWordsWireFormat should return 0") void testWriteParameterWordsReturnsZero() throws Exception { // Given byte[] dst = new byte[100]; int dstIndex = 10; // When Method method = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
assertEquals(expectedAttributes, searchAttributesField.get(smbComRename)); } /** * Test writeParameterWordsWireFormat method */ @Test @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly") public void testWriteParameterWordsWireFormat() { // Given byte[] dst = new byte[10];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
public SmbComTransactionResponse nextElement() { if (this.isPrimary) { this.isPrimary = false; } return this; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
* * @return the server */ public ServerData getServerData() { return this.server; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
} @Test void testWriteParameterWordsWireFormat() { // Test writeParameterWordsWireFormat - should always return 0 response = new SmbComQueryInformationResponse(mockConfig, 0L); byte[] buffer = new byte[256]; int bytesWritten = response.writeParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesWritten); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
* @return the number of bytes written */ protected int writeAndXWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; this.wordCount = writeParameterWordsWireFormat(dst, start + ANDX_OFFSET_OFFSET + 2); this.wordCount += 4; // for command, reserved, and offset dstIndex += this.wordCount + 1; this.wordCount /= 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
super(config, command); } public TestAndXServerMessageBlock(Configuration config) { super(config); } @Override protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { paramWordsWritten = 10; // Simulate writing parameter words return paramWordsWritten; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} public TestServerMessageBlock(Configuration config, byte command, String path) { super(config, command, path); } @Override protected int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { paramWordsWritten = 10; return paramWordsWritten; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0)