- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for arrayCopy (0.34 sec)
-
src/main/java/org/codelibs/core/collection/ArrayUtil.java
return a; } @SuppressWarnings("unchecked") final T[] array = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length); System.arraycopy(a, 0, array, 0, a.length); System.arraycopy(b, 0, array, a.length, b.length); return array; } /** * Returns an array that is the concatenation of two arrays. * <p>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
Object[] array = new Object[paramCount + others.length]; arrayCopy(array, 0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12); arrayCopy(array, paramCount, others); return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array)); } private static void arrayCopy(Object[] dest, int pos, Object... source) { System.arraycopy(source, 0, dest, pos, source.length); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 11.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
bytesToRecover -= toEvict.hpackSize dynamicTableByteCount -= toEvict.hpackSize headerCount-- entriesToEvict++ j-- } System.arraycopy( dynamicTable, nextHeaderIndex + 1, dynamicTable, nextHeaderIndex + 1 + entriesToEvict, headerCount, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
if (initialBytes == null) { return checkNotNull(bytes); } else { byte[] result = new byte[initialBytes.length + bytes.length]; System.arraycopy(initialBytes, 0, result, 0, initialBytes.length); System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length); return result; } } @Override public byte[] getSinkContents() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
if (charsSkipped > 0) { s.getChars(unescapedChunkStart, index, dest, destIndex); destIndex += charsSkipped; } if (escaped.length > 0) { System.arraycopy(escaped, 0, dest, destIndex, escaped.length); destIndex += escaped.length; } // If we dealt with an escaped character, reset the unescaped range. unescapedChunkStart = nextIndex;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
if (charsSkipped > 0) { s.getChars(unescapedChunkStart, index, dest, destIndex); destIndex += charsSkipped; } if (escaped.length > 0) { System.arraycopy(escaped, 0, dest, destIndex, escaped.length); destIndex += escaped.length; } // If we dealt with an escaped character, reset the unescaped range. unescapedChunkStart = nextIndex;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
checkArgument( rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int"); long[] array = new long[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableLongArray(array); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableLongArray copyOf(long[] values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
checkArgument( rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int"); int[] array = new int[rest.length + 1]; array[0] = first; System.arraycopy(rest, 0, array, 1, rest.length); return new ImmutableIntArray(array); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableIntArray copyOf(int[] values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
*/ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.copyToList; import static com.google.common.collect.testing.Helpers.copyToSet; import static java.lang.System.arraycopy; import static java.util.Arrays.asList; import static java.util.Collections.frequency; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0)