- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 284 for arrayCopy (0.04 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
// Check if BSRSPYL signature is written byte[] expectedSignature = "BSRSPYL ".getBytes(); byte[] actualSignature = new byte[8]; System.arraycopy(data, SmbConstants.SIGNATURE_OFFSET, actualSignature, 0, 8); assertArrayEquals(expectedSignature, actualSignature); } @Test @DisplayName("Test sign method with SmbComNtCancel request")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (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; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
} @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; if (this.isExtendedSecurity()) { System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length); bufferIndex += this.blob.length; } this.nativeOs = readString(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
idx += 4; return data; } @Override public int encode(byte[] dst, int dstIndex) { byte[] data = getData(); System.arraycopy(data, 0, dst, dstIndex, data.length); return data.length; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len < 20) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
@Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0)