- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for arrayCopy (0.04 sec)
-
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
String[] prefix = {"f", "g"}; String[] suffix = {"h", "i"}; String[] all = new String[2 + elements.length + 2]; arraycopy(prefix, 0, all, 0, 2); arraycopy(elements, 0, all, 2, elements.length); arraycopy(suffix, 0, all, 2 + elements.length, 2); return ImmutableList.copyOf(all).subList(2, elements.length + 2); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] buffer2 = new byte[100]; System.arraycopy(firstData, 0, buffer1, 0, firstData.length); System.arraycopy(secondData, 0, buffer2, 0, secondData.length); // First read response.readDataWireFormat(buffer1, 0, firstData.length); byte[] firstResult = new byte[firstData.length]; System.arraycopy(outputBuffer, 0, firstResult, 0, firstData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Verify customData part byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(customData, actualCustomData); // Verify machineId part byte[] actualMachineId = new byte[32]; System.arraycopy(value, 16, actualMachineId, 0, 32); assertArrayEquals(machineId, actualMachineId); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
String[] prefix = {"f", "g"}; String[] suffix = {"h", "i"}; String[] all = new String[2 + elements.length + 2]; arraycopy(prefix, 0, all, 0, 2); arraycopy(elements, 0, all, 2, elements.length); arraycopy(suffix, 0, all, 2 + elements.length, 2); return ImmutableList.copyOf(all).subList(2, elements.length + 2); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
int strCopyLen = len; int pos = 0; while (count != 0) { if ((count & 1) != 0) { System.arraycopy(strCopy, 0, array, pos, strCopyLen); pos += strCopyLen; } count >>= 1; if (count != 0) { System.arraycopy(strCopy, 0, strCopy, strCopyLen, strCopyLen); strCopyLen <<= 1; } } return new String(array); } @Benchmark
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2 byte[] dest = new byte[5]; // Expect IndexOutOfBoundsException from System.arraycopy assertThrows(IndexOutOfBoundsException.class, () -> { encodable.encode(dest, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
void testReadDataWireFormatWithValidLength() throws SMBProtocolDecodingException { // Prepare test data byte[] sourceData = { 10, 20, 30, 40, 50 }; byte[] buffer = new byte[100]; System.arraycopy(sourceData, 0, buffer, 10, sourceData.length); // Execute int result = response.readDataWireFormat(buffer, 10, sourceData.length); // Verify assertEquals(sourceData.length, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)