- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for dstIndex (1.2 sec)
-
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); dstIndex += writeAndXWireFormat(dst, dstIndex); this.length = dstIndex - start; if (this.digest != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} @Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); this.byteCount = writeBytesWireFormat(dst, dstIndex); dstIndex += this.byteCount; dstIndex += pad8(dstIndex); this.length = dstIndex - start; int len = this.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("writeDataWireFormat should return 0") void testWriteDataWireFormat() { // Arrange byte[] dst = new byte[100]; int dstIndex = 0; // Act int result = response.writeDataWireFormat(dst, dstIndex); // Assert assertEquals(0, result); }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/internal/smb1/trans/SmbComTransaction.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
protected int writeSetupWireFormat(byte[] dst, int dstIndex) { if (setupBuffer != null && setupBuffer.length > 0) { System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length); } return setupWireFormatReturn; } @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
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/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
byte[] dst = new byte[100]; int dstIndex = 10; // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, dstIndex); // Then assertEquals(dataLength, bytesWritten); byte[] expectedData = Arrays.copyOfRange(TEST_DATA, dataOffset, dataOffset + dataLength); byte[] writtenData = Arrays.copyOfRange(dst, dstIndex, dstIndex + dataLength);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
smbComRename = new SmbComRename(config, oldFileName, newFileName); int dstIndex = 50; // Start at offset 50 // When int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[dstIndex]); // First buffer format byte at offset } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
@Override public int encode(final byte[] dst, int dstIndex) { final int start = this.headerStart = dstIndex; dstIndex += writeHeaderWireFormat(dst, dstIndex); this.wordCount = writeParameterWordsWireFormat(dst, dstIndex + 1); dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF); dstIndex++; dstIndex += this.wordCount; this.wordCount /= 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Override int writeParameterWordsWireFormat(byte[] dst, int dstIndex) { System.arraycopy(paramWords, 0, dst, dstIndex, paramWords.length); return paramWords.length; } @Override int writeBytesWireFormat(byte[] dst, int dstIndex) { System.arraycopy(bytes, 0, dst, dstIndex, bytes.length); return bytes.length; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
byte[] dst = new byte[256]; int dstIndex = 0; // When int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, dstIndex); // Then assertEquals(10, bytesWritten); verify(mockRequest, times(1)).encode(dst, dstIndex); } @Test @DisplayName("writeDataWireFormat should always return 0")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0)