- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 286 for arrayCopy (0.03 sec)
-
src/main/java/jcifs/dcerpc/DcerpcHandle.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
String expectedDescr = "WrLehDO\u0000B16BBDz\u0000"; byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII"); byte[] actualDescrBytes = new byte[expectedDescrBytes.length]; System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length); assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
byte[] stringBytes = testString.getBytes(StandardCharsets.UTF_16LE); byte[] bufferWithTermination = new byte[stringBytes.length + 2]; // +2 for null termination System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length); bufferWithTermination[stringBytes.length] = 0x00; bufferWithTermination[stringBytes.length + 1] = 0x00; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
} final void addAll(@Nullable Object[] elements, int n) { checkElementsNotNull(elements, n); ensureRoomFor(n); /* * The following call is not statically checked, since arraycopy accepts plain Object for its * parameters. If it were statically checked, the checker would still be OK with it, since * we're copying into a `contents` array whose type allows it to contain nulls. Still, it'sRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"})
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
if (this.dataLength + this.outputBufferOffset > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Buffer to small for read response"); } System.arraycopy(buffer, dataStart, this.outputBuffer, this.outputBufferOffset, this.dataLength); bufferIndex = Math.max(bufferIndex, dataStart + this.dataLength); return bufferIndex - start; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2); dstIndex += str.length() * 2; dst[dstIndex] = (byte) '\0'; dstIndex++; dst[dstIndex++] = (byte) '\0'; } else { final byte[] b = Strings.getOEMBytes(str, this.getConfig()); System.arraycopy(b, 0, dst, dstIndex, b.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
final int start = dstIndex; while (pad-- > 0) { dst[dstIndex] = (byte) 0xEE; dstIndex++; } System.arraycopy(b, off, dst, dstIndex, dataLength); dstIndex += dataLength; return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
throw new PACDecodingException("Unaligned buffer " + bufferType); } byte[] bufferData = new byte[bufferSize]; System.arraycopy(data, (int) bufferOffset, bufferData, 0, bufferSize); switch (bufferType) { case PacConstants.LOGON_INFO: // PAC Credential Information
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)