- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 286 for arrayCopy (0.04 sec)
-
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
* @param i the starting index in the array * @param l the number of bytes to write */ public void writeOctetArray(final byte[] b, final int i, final int l) { System.arraycopy(b, i, this.buf, this.index, l); advance(l); } /** * Reads an octet array from the buffer. * * @param b the byte array to read intoRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
checkArgument( rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int"); int[] array = new int[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableIntArray(array); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(int[] values) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
checkArgument( rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int"); long[] array = new long[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableLongArray(array); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableLongArray copyOf(long[] values) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K 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); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K 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) -
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() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify context name byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertEquals("DLse", new String(nameBytes)); // Verify lease key (first 16 bytes of data) byte[] leaseKeyBytes = new byte[16]; System.arraycopy(buffer, 24, leaseKeyBytes, 0, 16); assertArrayEquals(key.getKey(), leaseKeyBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
setLMResponse(clientChallenge); setNTResponse(ntlm2Response); final byte[] sessionNonce = new byte[16]; System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8); System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8); final MessageDigest md4 = Crypto.getMD4(); md4.update(passwordHash);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0)