- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 425 for dst3 (0.02 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/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testWriteSetupWireFormat() { byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 for writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() { byte[] dst = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Override 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/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static void writeInt8(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); dst[++dstIndex] = (byte) (val >>= 8); 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: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0xABCD, dst, 4); assertEquals((byte) 0xFF, dst[2]); // Should be unchanged assertEquals((byte) 0xFF, dst[3]); // Should be unchanged assertEquals((byte) 0xAB, dst[4]); assertEquals((byte) 0xCD, dst[5]); } @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
@Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result, "writeSetupWireFormat should always return 0."); } /** * Tests the writeParametersWireFormat method. */ @Test void testWriteParametersWireFormat() { byte[] dst = new byte[10];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
* @param i the integer value to encode * @param dst the destination byte array * @param di the starting index in the destination array * @return the number of bytes written (4) */ public static int enc_uint32be(final int i, final byte[] dst, int di) { dst[di] = (byte) (i >> 24 & 0xFF); di++; dst[di++] = (byte) (i >> 16 & 0xFF); dst[di++] = (byte) (i >> 8 & 0xFF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0)