- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 334 for dst2 (0.48 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// Given byte[] dst = new byte[100]; smbComRename = new SmbComRename(config, "", ""); int dstIndex = 0; // When int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte assertEquals((byte) 0x00, dst[1]); // Null terminator for empty old file nameRegistered: 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/trans/nt/NtTransQuerySecurityDesc.java
protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++; dst[dstIndex++] = (byte) 0x00; // Reserved
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
return 0; } SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex); dstIndex += 2; return dstIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
dstIndex += 4; // LeaseKey (16 bytes) leaseKey.encode(dst, dstIndex); dstIndex += 16; // LeaseState (4 bytes) SMBUtil.writeInt4(leaseState, dst, dstIndex); dstIndex += 4; // LeaseDuration (8 bytes) - must be zero for acknowledgment SMBUtil.writeInt8(0, dst, dstIndex); dstIndex += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
} @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(informationLevel, dst, dstIndex); dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
*/ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0); dstIndex += 8; // 7 Reserved dstIndex += 8; // RootDirectory = 0 final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt4(nameBytes.length, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
return resp; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else { log.trace("SmbComClose without a digest"); } return 6;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
byte[] dst = new byte[10]; // Act int bytesWritten = write.writeBytesWireFormat(dst, 0); // Assert assertEquals(6, bytesWritten, "Should write 6 bytes (1 type + 2 length + 3 data)"); assertEquals(0x01, dst[0], "Data block type"); assertEquals(3, dst[1] & 0xFF, "Data length low byte"); assertEquals(0, dst[2] & 0xFF, "Data length high byte");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)