- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 284 for arrayCopy (0.16 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
this.createContexts = new CreateContextRequest[] { context }; } else { CreateContextRequest[] newContexts = new CreateContextRequest[this.createContexts.length + 1]; System.arraycopy(this.createContexts, 0, newContexts, 0, this.createContexts.length); newContexts[this.createContexts.length] = context; this.createContexts = newContexts; } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key try { Mac m = Mac.getInstance("HmacSHA1"); m.init(new SecretKeySpec(dk, HMAC_KEY)); System.arraycopy(m.doFinal(input), 0, output, 0, 12); return output; } finally { Arrays.fill(dk, 0, dk.length, (byte) 0); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
@Test @DisplayName("Test compression with offset and length") public void testCompressionWithOffsetLength() throws CIFSException { byte[] paddedData = new byte[testData.length + 200]; System.arraycopy(testData, 0, paddedData, 100, testData.length); byte[] compressed = compressionService.compress(paddedData, 100, testData.length, CompressionService.COMPRESSION_LZ77);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
dst[dstIndex + 2] = this.fileInformationClass; dst[dstIndex + 3] = this.queryFlags; dstIndex += 4; SMBUtil.writeInt4(this.fileIndex, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; final int fnOffsetOffset = dstIndex; final int fnLengthOffset = dstIndex + 2; dstIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
dstIndex += 4; SMBUtil.writeInt4(this.dataLength, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt8(this.offset, dst, dstIndex); dstIndex += 8; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt4(this.channel, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.remainingBytes, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Verify token content at the security buffer offset int securityBufferOffset = SMBUtil.readInt2(buffer, bodyOffset + 12); byte[] actualToken = new byte[TEST_TOKEN.length]; System.arraycopy(buffer, headerStart + securityBufferOffset, actualToken, 0, TEST_TOKEN.length); assertArrayEquals(TEST_TOKEN, actualToken); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
} bufferIndex += 4; this.ctlCode = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.fileId = new byte[16]; System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16); bufferIndex += 16; final int inputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart(); bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
final int length = readUShort(src, index); final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
dstIndex += 2; SMBUtil.writeInt4(STRUCTURE_SIZE, dst, dstIndex); // DataLength dstIndex += 4; // Write context name System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4); dstIndex += 4; // Padding to align data to 8-byte boundary dstIndex += 4; // Write durable handle V2 request data (32 bytes total)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0)