- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for ArrayCopy (0.22 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/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-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) -
android/guava/src/com/google/common/collect/ObjectArrays.java
public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) { T[] result = newArray(type, first.length + second.length); System.arraycopy(first, 0, result, 0, first.length); System.arraycopy(second, 0, result, first.length, second.length); return result; } /** * Returns a new array that prepends {@code element} to {@code array}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 12 15:59:22 UTC 2023 - 9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
public static <T extends @Nullable Object> T[] concat( T[] first, T[] second, Class<@NonNull T> type) { T[] result = newArray(type, first.length + second.length); System.arraycopy(first, 0, result, 0, first.length); System.arraycopy(second, 0, result, first.length, second.length); return result; } /** * Returns a new array that prepends {@code element} to {@code array}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 12 15:59:22 UTC 2023 - 9K bytes - Viewed (0)