- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 302 for arraycopy (0.16 seconds)
-
src/test/java/jcifs/http/NtlmSspTest.java
*/ private static String createValidType3Message() { // Build a properly formatted Type 3 message byte[] message = new byte[200]; // NTLMSSP signature System.arraycopy("NTLMSSP\0".getBytes(), 0, message, 0, 8); // Type 3 indicator message[8] = 0x03; // LM Response (24 bytes at offset 64) message[12] = 24; // Length message[13] = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Signature (16 bytes) byte[] signature = new byte[16]; new SecureRandom().nextBytes(signature); System.arraycopy(signature, 0, buffer, index, 16); index += 16; // Nonce (16 bytes) System.arraycopy(testNonce, 0, buffer, index, 16); index += 16; // Original message size (4 bytes) - little-endian int messageSize = 1024;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
final int start = dstIndex; while (pad-- > 0) { dst[dstIndex] = (byte) 0xEE; dstIndex++; } System.arraycopy(b, off, dst, dstIndex, dataLength); dstIndex += dataLength; return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
if (dst.length - dstIndex < this.pipeDataLen) { log.debug("TransCallNamedPipe data too long for buffer"); return 0; } System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen); return this.pipeDataLen; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
if (dst.length - dstIndex < this.pipeDataLen) { log.debug("TransTransactNamedPipe data too long for buffer"); return 0; } System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen); return this.pipeDataLen; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
flags &= NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED ^ 0xffffffff; } final byte[] type1 = new byte[hostInfo ? 32 + domain.length + workstation.length : 16]; System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8); writeULong(type1, 8, 1); writeULong(type1, 12, flags); if (hostInfo) { writeSecurityBuffer(type1, 16, 32, domain);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
bufferIndex += 4; final int pad = bufferIndex - (getHeaderStart() + securityBufferOffset); this.blob = new byte[securityBufferLength]; System.arraycopy(buffer, getHeaderStart() + securityBufferOffset, this.blob, 0, securityBufferLength); bufferIndex += pad; bufferIndex += securityBufferLength; return bufferIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
dstIndex += 8; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset); dstIndex += pad8(dstIndex); if (this.token != null) { System.arraycopy(this.token, 0, dst, dstIndex, this.token.length); dstIndex += this.token.length; } return dstIndex - start; } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); writeInt4(buffer, offset + 24, 0); // Scope ID } else { // IPv4 sockaddr_in structure writeInt2(buffer, offset, 2); // AF_INET writeInt2(buffer, offset + 2, 445); // Port System.arraycopy(address.getAddress(), 0, buffer, offset + 4, 4); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)