- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 398 for dst3 (0.02 sec)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
@Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(25, dst, dstIndex); dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0); dst[dstIndex + 3] = (byte) this.securityMode; dstIndex += 4; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4;
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/TransWaitNamedPipeTest.java
byte[] dst = new byte[10]; // writeSetupWireFormat writes 4 bytes: // - subCommand byte // - 3 zero bytes (padding and no FID) int written = pipe.writeSetupWireFormat(dst, 0); assertEquals(4, written, "Setup should write 4 bytes"); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
} @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(33, dst, dstIndex); dst[dstIndex + 2] = this.fileInformationClass; dst[dstIndex + 3] = this.queryFlags; dstIndex += 4; SMBUtil.writeInt4(this.fileIndex, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16;
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/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
byte[] dst = new byte[10]; int dstIndex = 0; // Act int bytesWritten = trans.writeSetupWireFormat(dst, dstIndex); // Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]); assertEquals(0x00, dst[1]); // Verify FID is written correctly (little-endian)
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/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
// Test the writing of parameter words to a byte array byte[] dst = new byte[2]; int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0); assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength); dstIndex += this.passwordLength; } } else { // no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(this.path, dst, dstIndex); try { System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (log.isDebugEnabled()) { log.debug("Opening " + this.name); log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4)); } SMBUtil.writeInt2(57, dst, dstIndex); dst[dstIndex + 2] = this.securityFlags; dst[dstIndex + 3] = this.requestedOplockLevel;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
return Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Write the lease key to a buffer * * @param dst destination buffer * @param dstIndex starting index in destination buffer */ public void encode(byte[] dst, int dstIndex) { System.arraycopy(key, 0, dst, dstIndex, LEASE_KEY_SIZE); } /** * Check if this is a zero key (all bytes are zero) *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
new TestNetbiosName(callingName, callingType, null)); byte[] dst = new byte[256]; int bytesWritten = packet.writeTrailerWireFormat(dst, 0); assertTrue(bytesWritten > 0); assertNotEquals(0, dst[0]); // First byte should be written } private static Stream<Arguments> provideNamesForWriteTest() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)