- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for DST (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
byte[] dst = new byte[2]; // When int bytesWritten = trans.writeSetupWireFormat(dst, 0); // Then assertEquals(2, bytesWritten, "Should write 2 bytes."); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand."); assertEquals((byte) 0x00, dst[1], "The second byte should be 0."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
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 domain
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
dst[dstIndex] = (byte) (val >> 8 & 0xFF); dstIndex++; dst[dstIndex] = (byte) (val & 0xFF); } static void writeInt4(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 24 & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (val >> 16 & 0xFF); dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
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; } @Override
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/internal/smb1/com/SmbComOpenAndX.java
@Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.tflags, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.desiredAccess, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex); dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
@Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex; // Write context header SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last) dstIndex += 4; SMBUtil.writeInt2(4, dst, dstIndex); // NameOffset (from start of context) dstIndex += 2; SMBUtil.writeInt2(4, dst, dstIndex); // NameLength dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0)