- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 288 for arraycopy (0.05 sec)
-
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length) buffer.putInt(4, 8); // Offset System.arraycopy(content, 0, data, 8, content.length); // Place content at offset 8 byte[] result = NtlmMessage.readSecurityBuffer(data, 0); assertArrayEquals(content, result, "Should read security buffer content correctly.");
Registered: 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/trans/nt/FileNotifyInformationImplTest.java
int offset = 50; byte[] smallBuffer = createValidNotificationBuffer(fileName, action); byte[] buffer = new byte[smallBuffer.length + offset + 50]; System.arraycopy(smallBuffer, 0, buffer, offset, smallBuffer.length); int bytesRead = notifyInfo.decode(buffer, offset, smallBuffer.length); assertTrue(bytesRead > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
readFully(bytes); final byte[] sidBytes = new byte[8 + bytes.length]; sidBytes[0] = 1; sidBytes[1] = (byte) (bytes.length / 4); System.arraycopy(new byte[] { 0, 0, 0, 0, 0, 5 }, 0, sidBytes, 2, 6); System.arraycopy(bytes, 0, sidBytes, 8, bytes.length); return new SID(sidBytes, 0); } /** * Reads a full Security Identifier (SID) structure.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
final int start = dstIndex; SMBUtil.writeInt2(24, dst, dstIndex); dstIndex += 2; dstIndex += 2; // Reserved1 dstIndex += 4; // Reserved2 System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; return dstIndex - start; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
} catch (final IOException e) { throw new RuntimeCIFSException(e); } bos.write(0x0); } System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size()); return bos.size(); } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (3) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
@Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
if (LogStream.level >= 3) { log.println("TransCallNamedPipe data too long for buffer"); } return 0; } System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen); return pipeDataLen; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testDecodeMethodIntegration() throws Exception { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Prepare SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, bufferIndex, 4); // Header length SMBUtil.writeInt2(64, buffer, bufferIndex + 4); // Credit charge
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0)