- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 302 for arraycopy (0.14 seconds)
-
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
if (buffer.length < bufferIndex + 16 + 4 + 4 + 4 + 4) { throw new SMBProtocolDecodingException("Buffer too small for server GUID and capabilities section"); } System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
byte[] filenameBytes = filename.getBytes(StandardCharsets.UTF_8); writeInt4(filenameBytes.length, buffer, bufferIndex + 60); // fileNameLength // Copy filename into buffer at offset 94 System.arraycopy(filenameBytes, 0, buffer, 94, filenameBytes.length); response.dataCount = 120; int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
void testConstructor_ByteArray_InvalidMessageType() { // Given byte[] invalidType = new byte[100]; System.arraycopy(Type2Message.NTLMSSP_SIGNATURE, 0, invalidType, 0, Type2Message.NTLMSSP_SIGNATURE.length); // Set message type to something other than NTLMSSP_TYPE2
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test decode operation") void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4); buffer[4] = 1; // wordCount buffer[7] = 0; // byteCount low buffer[8] = 0; // byteCount highCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
loc.dfsReferral = this.dfsReferral; loc.unc = this.unc; if (this.addresses != null) { loc.addresses = new UniAddress[this.addresses.length]; System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length); } loc.addressIndex = this.addressIndex; loc.type = this.type; return loc; } /** * @param contextCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
// Verify query flags assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84)); // Verify file ID byte[] actualFileId = new byte[16]; System.arraycopy(buffer, 88, actualFileId, 0, 16); assertArrayEquals(testFileId, actualFileId); // Verify total bytes written assertEquals(40, bytesWritten); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
*/ protected Entry<K, V> removeList(final int index) { final Entry<K, V> e = listTable[index]; final int numMoved = size - index - 1; if (numMoved > 0) { System.arraycopy(listTable, index + 1, listTable, index, numMoved); } listTable[--size] = null; return e; } /** * Ensures capacity when the size exceeds the threshold. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
dst[dstIndex] = (byte) 0x00; return 1; } // copy new scope in dst[dstIndex] = (byte) '.'; dstIndex++; try { System.arraycopy(scope.getBytes(Name.OEM_ENCODING), 0, dst, dstIndex, scope.length()); } catch (final UnsupportedEncodingException uee) {} dstIndex += scope.length(); dst[dstIndex++] = (byte) 0x00;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
final int start = dstIndex; SMBUtil.writeInt2(57, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.controlCode, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; final int inputOffsetOffset = dstIndex; dstIndex += 4; final int inputLengthOffset = dstIndex; dstIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0)