- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 178 for writeBytesWireFormat (0.11 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
size += l.size(); } return size8(size); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(48, dst, dstIndex); SMBUtil.writeInt2(this.locks.length, dst, dstIndex + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
public FileEntry[] getResults() { return this.results; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
int result = smbComNegotiate.writeParameterWordsWireFormat(dst, dstIndex); assertEquals(0, result, "writeParameterWordsWireFormat should return 0."); } /** * Test the writeBytesWireFormat method. * It should write the dialect string to the destination array. */ @Test void testWriteBytesWireFormat() throws UnsupportedEncodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDelete.java
} @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(searchAttributes, dst, dstIndex); return 2; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
} @Test @DisplayName("Test writeBytesWireFormat writes correct bytes") void testWriteBytesWireFormat() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); byte[] buffer = new byte[100]; int offset = 10; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
} @Test @DisplayName("writeBytesWireFormat should return 0 for response class") void testWriteBytesWireFormatReturnsZero() throws Exception { Smb2SessionSetupResponse resp = newResponse(); byte[] dst = new byte[32]; int written = resp.writeBytesWireFormat(dst, 0); assertEquals(0, written); }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/com/SmbComRename.java
protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); return 2; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.oldFileName, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
} /** * Test of writeBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testWriteBytesWireFormat() { byte[] dst = new byte[10]; int dstIndex = 0; // This method does nothing and should return 0. assertEquals(0, response.writeBytesWireFormat(dst, dstIndex)); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
return size8(Smb2Constants.SMB2_HEADER_LENGTH + 32); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(32, dst, dstIndex); SMBUtil.writeInt2(this.notifyFlags, dst, dstIndex + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)