- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 284 for arrayCopy (0.59 sec)
-
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
} } private static Float[] concat(Float[] left, Float[] right) { Float[] result = new Float[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length); return result; } public abstract static class TestFloatListGenerator implements TestListGenerator<Float> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
} } private static Integer[] concat(Integer[] left, Integer[] right) { Integer[] result = new Integer[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length); return result; } public abstract static class TestIntegerListGenerator implements TestListGenerator<Integer> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java
* {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24); dstIndex += 24; SMBUtil.writeInt4(this.chunks.length, dst, dstIndex); dstIndex += 4; dstIndex += 4; // Reserved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
// Set error code to 0 setErrorCode(response, 0); // Copy valid descriptor data to the offset position byte[] validData = createValidSecurityDescriptorBuffer(); System.arraycopy(validData, 0, buffer, offset, validData.length); int result = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(result > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len; } @Override public String toString() { return ("TransCallNamedPipeResponse[" + super.toString() + "]"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0)