- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 288 for arraycopy (0.07 sec)
-
android/guava/src/com/google/common/collect/ArrayTable.java
import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkElementIndex; import static com.google.common.base.Preconditions.checkNotNull; import static java.lang.System.arraycopy; import static java.util.Collections.emptyMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
TypeVariable<?>[] result = new TypeVariable<?>[declaredByClass.length + declaredByConstructor.length]; System.arraycopy(declaredByClass, 0, result, 0, declaredByClass.length); System.arraycopy( declaredByConstructor, 0, result, declaredByClass.length, declaredByConstructor.length); return result; } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
import static com.google.common.collect.CollectPreconditions.checkRemove; import static java.lang.Math.max; import static java.lang.Math.min; import static java.lang.System.arraycopy; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; 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 18:35:44 UTC 2025 - 33.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
protected void haveResponse(final byte[] buffer, final int start, final int len) throws SMBProtocolDecodingException { if (isRetainPayload()) { final byte[] payload = new byte[len]; System.arraycopy(buffer, start, payload, 0, len); setRawPayload(payload); } if (!verifySignature(buffer, start, len)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
void testConstructor_ByteArray_InvalidMessageType() { // Given byte[] invalidType = new byte[100]; System.arraycopy(Type2Message.NTLMSSP_SIGNATURE, 0, invalidType, 0, Type2Message.NTLMSSP_SIGNATURE.length); // Set message type to something other than NTLMSSP_TYPE2
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
if (buffer.length < bufferIndex + 16 + 4 + 4 + 4 + 4) { throw new SMBProtocolDecodingException("Buffer too small for server GUID and capabilities section"); } System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16); bufferIndex += 16; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K 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/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
// Verify query flags assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84)); // Verify file ID byte[] actualFileId = new byte[16]; System.arraycopy(buffer, 88, actualFileId, 0, 16); assertArrayEquals(testFileId, actualFileId); // Verify total bytes written assertEquals(40, bytesWritten); } catch (Exception e) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertEquals(8, NtlmMessage.readULong(dest, 4), "Offset must point to payload start"); byte[] actualPayload = new byte[payload.length]; System.arraycopy(dest, 8, actualPayload, 0, payload.length); assertArrayEquals(payload, actualPayload, "Payload copy must match"); } @Test @DisplayName("getOEMEncoding returns configured OEM encoding")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
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.5K bytes - Viewed (0)