- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 332 for DST (1.41 sec)
-
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
currentIndex += 2; // Verify serverTypes assertEquals(testServerTypes, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8) | ((dst[currentIndex + 2] & 0xFF) << 16) | ((dst[currentIndex + 3] & 0xFF) << 24)); currentIndex += 4; // Verify domainRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
byte[] dst = new byte[8]; // Exact size needed int bytesWritten = notifyChange.writeSetupWireFormat(dst, 0); assertEquals(8, bytesWritten); assertEquals(0xFFFFFFFF, SMBUtil.readInt4(dst, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(dst, 4)); assertEquals(0x01, dst[6]); assertEquals(0x00, dst[7]); } @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Given byte[] dst = new byte[100]; // When & Then assertEquals(0, response.writeBytesWireFormat(dst, 0)); assertEquals(0, response.writeBytesWireFormat(dst, 25)); assertEquals(0, response.writeBytesWireFormat(dst, 50)); assertEquals(0, response.writeBytesWireFormat(dst, 75));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
byte[] dst = new byte[6]; // When int result = trans2SetFileInformation.writeParametersWireFormat(dst, 0); // Then assertEquals(6, result); assertEquals(fid, (dst[1] << 8) | (dst[0] & 0xFF)); assertEquals(Trans2SetFileInformation.SMB_FILE_BASIC_INFO, (dst[3] << 8) | (dst[2] & 0xFF)); assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K 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); return dstIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt4(long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dstIndex++; dst[dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >>= 8); dst[++dstIndex] = (byte) (val >> 8); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
this.setupCount = 2; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon SMBUtil.writeInt2(this.fid, dst, dstIndex); return 4; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeParametersWireFormat(dst, 0), "writeParametersWireFormat should return 0."); } /** * Test for the writeDataWireFormat method. * It should always return 0. */ @Test void testWriteDataWireFormat() { byte[] dst = new byte[10];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
SMBUtil.writeInt2(this.credit, dst, dstIndex + 14); SMBUtil.writeInt4(this.flags, dst, dstIndex + 16); SMBUtil.writeInt4(this.nextCommand, dst, dstIndex + 20); SMBUtil.writeInt8(this.mid, dst, dstIndex + 24); if (this.async) { SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32); } else { // 4 reserved
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
// Arrange byte[] dst = new byte[100]; int dstIndex = 50; // Act int result = response.writeSetupWireFormat(dst, dstIndex); // Assert assertEquals(0, result); } @Test @DisplayName("writeParametersWireFormat should return 0") void testWriteParametersWireFormat() { // Arrange byte[] dst = new byte[100]; int dstIndex = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)