- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 288 for arraycopy (0.05 sec)
-
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
if (this.parameterCount > 0) { System.arraycopy(this.txn_buf, this.bufParameterOffset, dst, this.headerStart + this.parameterOffset, this.parameterCount); end = Math.max(end, this.headerStart + this.parameterOffset + this.parameterCount + this.pad2); } if (this.dataCount > 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[di] = sid.revision; di++; dst[di++] = sid.sub_authority_count; System.arraycopy(sid.identifier_authority, 0, dst, di, 6); di += 6; for (int ii = 0; ii < sid.sub_authority_count; ii++) { jcifs.util.Encdec.enc_uint32le(sid.sub_authority[ii], dst, di); di += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArrayOutOfBound() throws Exception { byte[] buf = new byte[100]; byte[] expectedBytes = buf.clone(); System.arraycopy(testBytes, 0, expectedBytes, 0, testBytes.length); HashingInputStream in = new HashingInputStream(hashFunction, buffer); int numOfByteRead = in.read(buf, 0, 100); assertEquals(4, numOfByteRead);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K 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) -
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) -
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/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) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { T[] result = newArray(arrayOfType, to - from); System.arraycopy(source, from, result, 0, to - from); return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); writeInt4(buffer, offset + 24, 0); // Scope ID } else { // IPv4 sockaddr_in structure writeInt2(buffer, offset, 2); // AF_INET writeInt2(buffer, offset + 2, 445); // Port System.arraycopy(address.getAddress(), 0, buffer, offset + 4, 4); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)