- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 302 for arraycopy (0.07 seconds)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len); } // Read reserved field (should be all zeros but we don't validate) System.arraycopy(buffer, bufferIndex, reserved, 0, 8); return 8; } /** * Get the context name as string * @return the context name */ public String getContextName() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
} catch (final UnsupportedEncodingException uee) { return 0; } SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
byte[] dialects; try { dialects = DIALECTS.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } System.arraycopy(dialects, 0, dst, dstIndex, dialects.length); return dialects.length; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2K bytes - Click Count (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; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (3) -
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.");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
void testReadAtDifferentOffsets(int offset) throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; byte[] responseData = createValidWriteResponse(2048, 1024); System.arraycopy(responseData, 0, buffer, offset, responseData.length); int bytesRead = response.readBytesWireFormat(buffer, offset); assertEquals(16, bytesRead);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
SMBUtil.writeInt2(4, buffer, 2); SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, buffer, 4); byte[] salt = { 0x01, 0x02, 0x03, 0x04 }; System.arraycopy(salt, 0, buffer, 6, 4); PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(); int bytesRead = context.decode(buffer, 0, 10);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
// Flags (4 bytes) this.flags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseKey (16 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; // LeaseState (4 bytes) this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0)