- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 128 for ArrayCopy (0.12 sec)
-
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]; System.arraycopy(prefix, 0, all, 0, 2); System.arraycopy(elements, 0, all, 2, elements.length); System.arraycopy(suffix, 0, all, 2 + elements.length, 2); return ImmutableList.copyOf(all).subList(2, elements.length + 2); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5K 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]; System.arraycopy(prefix, 0, all, 0, 2); System.arraycopy(elements, 0, all, 2, elements.length); System.arraycopy(suffix, 0, all, 2 + elements.length, 2); return ImmutableList.copyOf(all).subList(2, elements.length + 2); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
android/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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
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; } /** * 二つの配列を連結した配列を返します。 * <p>
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 42.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH); int index = offset + SIGNATURE_OFFSET; for ( int i = 0; i < SIGNATURE_LENGTH; i++ ) data[ index + i ] = 0; this.digest.update(data, offset, length); byte[] cmp = new byte[SIGNATURE_LENGTH]; System.arraycopy(this.digest.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Aug 17 17:34:29 UTC 2021 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java
return this; } String[] descendantComponents = new String[components.length + path.components.length]; arraycopy(components, 0, descendantComponents, 0, components.length); arraycopy(path.components, 0, descendantComponents, components.length, path.components.length); return path(this.path + "." + path.getPath(), descendantComponents); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/OrSpec.java
return new OrSpec<T>(specs); } Spec<? super T>[] combinedSpecs = uncheckedCast(ObjectArrays.newArray(Spec.class, thisLength + specs.length)); System.arraycopy(thisSpecs, 0, combinedSpecs, 0, thisLength); System.arraycopy(specs, 0, combinedSpecs, thisLength, specs.length); return new OrSpec<T>(combinedSpecs); } public static <T> OrSpec<T> empty() { return uncheckedCast(EMPTY);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.2K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/testing/internal/util/GradlewRunner.java
combinedArgs[3] = new File("gradlew").getAbsolutePath(); System.arraycopy(args, 0, combinedArgs, 4, args.length); } else { combinedArgs = new String[1 + args.length]; File gradlew = new File("gradlew"); combinedArgs[0] = gradlew.getAbsolutePath(); System.arraycopy(args, 0, combinedArgs, 1, args.length); } try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 3.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/buildsrc/BuildSrcDetector.java
String[] buildFileNames = getValidBuildFileNames(); GRADLE_BUILD_FILES = new String[settingsFileNames.length + buildFileNames.length]; System.arraycopy(settingsFileNames, 0, GRADLE_BUILD_FILES, 0, settingsFileNames.length); System.arraycopy(buildFileNames, 0, GRADLE_BUILD_FILES, settingsFileNames.length, buildFileNames.length); } public static boolean isValidBuildSrcBuild(File buildSrcDir) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 2.8K bytes - Viewed (0)