- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 286 for arrayCopy (0.06 sec)
-
guava/src/com/google/common/collect/RegularImmutableSet.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.lang.System.arraycopy; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
byte[] buffer = new byte[256]; System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4); SMBUtil.writeInt4(128, buffer, 20); // next command offset return buffer; } private byte[] createMisalignedCompoundMessage() { byte[] buffer = new byte[256]; System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Verify path length assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, bodyOffset + 6)); // Verify path content byte[] actualPath = new byte[pathBytes.length]; System.arraycopy(buffer, bodyOffset + 8, actualPath, 0, pathBytes.length); assertArrayEquals(pathBytes, actualPath); } @Test @DisplayName("Should handle chain operation correctly") void testChain() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length); } return setupWireFormatReturn; } @Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) { if (parametersBuffer != null && parametersBuffer.length > 0) { System.arraycopy(parametersBuffer, 0, dst, dstIndex, parametersBuffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0); assertEquals(expected.length, len); byte[] result = new byte[len]; System.arraycopy(dst, 0, result, 0, len);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0)