- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 288 for arraycopy (0.05 sec)
-
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertArrayEquals("RqLs".getBytes(), nameBytes); // Verify lease key is encoded at offset 24 (after header + name + padding) byte[] encodedKey = new byte[16]; System.arraycopy(buffer, 24, encodedKey, 0, 16); assertArrayEquals(testKey.getKey(), encodedKey);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K 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/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/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify context name byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertEquals("DLse", new String(nameBytes)); // Verify lease key (first 16 bytes of data) byte[] leaseKeyBytes = new byte[16]; System.arraycopy(buffer, 24, leaseKeyBytes, 0, 16); assertArrayEquals(key.getKey(), leaseKeyBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
writeInt4(buffer, offset + 12, 16); // DataLength // Name System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, nameLen); // Data (16-byte file ID) int dataOffset = offset + 16 + nameLen; dataOffset = (dataOffset + 7) & ~7; // 8-byte alignment System.arraycopy(fileId, 0, buffer, dataOffset, 16); } } ``` ### 4.5 Persistent Handle Manager
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
srcIndex++; // gotta read the mac first so we can populate addressArray with it System.arraycopy(src, srcIndex + namesLength, macAddress, 0, 6); srcIndex += readNodeNameArray(src, srcIndex); stats = new byte[statsLength]; System.arraycopy(src, srcIndex, stats, 0, statsLength); srcIndex += statsLength; return srcIndex - start; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
} } private static Short[] concat(Short[] left, Short[] right) { Short[] result = new Short[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length); return result; } public abstract static class TestShortListGenerator implements TestListGenerator<Short> { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
} } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length); return result; } public abstract static class TestLongListGenerator implements TestListGenerator<Long> { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0)