- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 286 for arrayCopy (0.04 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// Copy data to the buffer that was passed in the response constructor byte[] testData = new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }; System.arraycopy(testData, 0, response.b, response.off, testData.length); return null; } }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
bufferIndex += 8; bufferIndex += 8; final int nameLen = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; final byte[] nameBytes = new byte[nameLen]; System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length); bufferIndex += nameLen; this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE); return bufferIndex - start; } /**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/smb1/smb1/ServerMessageBlock.java
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/smb/NtlmContext.java
mac.update(seqBytes); // sequence mac.update(data); // data final byte[] dgst = mac.digest(); byte[] trunc = new byte[8]; System.arraycopy(dgst, 0, trunc, 0, 8); if (log.isDebugEnabled()) { log.debug("Digest " + Hexdump.toHexString(dgst)); log.debug("Truncated " + Hexdump.toHexString(trunc)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(0, SMBUtil.readInt4(buffer, offset + 4)); // Verify file ID is copied correctly (16 bytes starting at offset+8) byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16); assertArrayEquals(testFileId, copiedFileId); } @Test @DisplayName("writeBytesWireFormat with close flags should write flags correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(0x0, buffer[12]); // Check padding assertEquals(0x0, buffer[13]); // Check name bytes byte[] encodedName = new byte[nameBytes.length]; System.arraycopy(buffer, 14, encodedName, 0, nameBytes.length); assertArrayEquals(nameBytes, encodedName); } @Test @DisplayName("Test encode with name and timeout") void testEncodeWithNameAndTimeout() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)