- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 284 for arraycopy (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Verify correct portion of data is copied byte[] expectedData = new byte[partialLength]; System.arraycopy(TEST_DATA, partialOffset, expectedData, 0, partialLength); byte[] copiedData = new byte[partialLength]; System.arraycopy(dst, dstIndex, copiedData, 0, partialLength); assertArrayEquals(expectedData, copiedData); } @TestRegistered: 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/smb/MIENameTest.java
// MECH_OID System.arraycopy(oidDer, 0, buf, i, oidLen); i += oidLen; // NAME_LEN (4 bytes big-endian) buf[i++] = (byte) ((nameLen >>> 24) & 0xFF); buf[i++] = (byte) ((nameLen >>> 16) & 0xFF); buf[i++] = (byte) ((nameLen >>> 8) & 0xFF); buf[i++] = (byte) (nameLen & 0xFF); // NAME System.arraycopy(nameBytes, 0, buf, i, nameLen); return buf;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
final int length = readUShort(src, index); final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
System.arraycopy(password, 0, dst, dstIndex, passwordLength); dstIndex += passwordLength; } else { // no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(path, dst, dstIndex); try { System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
Object[] array = new Object[paramCount + others.length]; arrayCopy(array, 0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12); arrayCopy(array, paramCount, others); return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array)); } private static void arrayCopy(Object[] dest, int pos, Object... source) { System.arraycopy(source, 0, dest, pos, source.length); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} else { 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 {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/ntlmssp/Type1Message.java
flags &= NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED ^ 0xffffffff; } final byte[] type1 = new byte[size]; int pos = 0; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, NTLMSSP_SIGNATURE.length); pos += NTLMSSP_SIGNATURE.length; writeULong(type1, pos, NTLMSSP_TYPE1); pos += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* @param i the starting index in the array * @param l the number of bytes to write */ public void writeOctetArray(final byte[] b, final int i, final int l) { System.arraycopy(b, i, buf, index, l); advance(l); } /** * Reads an octet array from the buffer. * * @param b the byte array to read into * @param i the starting index in the arrayRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0)