- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,626 for lengths (0.08 sec)
-
guava/src/com/google/common/primitives/Chars.java
*/ public static char[] concat(char[]... arrays) { long length = 0; for (char[] array : arrays) { length += array.length; } char[] result = new char[checkNoOverflow(length)]; int pos = 0; for (char[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 23.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
/** * @param bufSize * @param length * @param is * @throws IOException */ static void verifyRandom ( int bufSize, long length, SmbRandomAccess is ) throws IOException { long start = System.currentTimeMillis(); byte buffer[] = new byte[bufSize]; long p = 0; Random r = ReadWriteTest.getRandom(); while ( p < length ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 11.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
} @Override public K[] createKeyArray(int length) { return ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()) .createKeyArray(length); } @SuppressWarnings("unchecked") @Override public Collection<V>[] createValueArray(int length) { return (Collection<V>[]) new Collection<?>[length]; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
*/ public static boolean equalsIgnoreCase(CharSequence s1, CharSequence s2) { // Calling length() is the null pointer check (so do it before we can exit early). int length = s1.length(); if (s1 == s2) { return true; } if (length != s2.length()) { return false; } for (int i = 0; i < length; i++) { char c1 = s1.charAt(i); char c2 = s2.charAt(i); if (c1 == c2) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 21.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
@Override public InputStream openStream() { return new In(); } public void append(byte[] b) { byte[] newBytes = Arrays.copyOf(bytes, bytes.length + b.length); System.arraycopy(b, 0, newBytes, bytes.length, b.length); bytes = newBytes; } private class In extends InputStream { private int pos; @Override public int read() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
for (int i = 0; i < reps; i++) { for (int n = 0; n < chars.length; n++) { dummy ^= Ascii.isUpperCase(chars[n]); } } return dummy; } static String charSequenceToUpperCase(CharSequence chars) { char[] newChars = new char[chars.length()]; for (int i = 0; i < newChars.length; i++) { newChars[i] = Ascii.toUpperCase(chars.charAt(i)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
*/ public static float[] concat(float[]... arrays) { long length = 0; for (float[] array : arrays) { length += array.length; } float[] result = new float[checkNoOverflow(length)]; int pos = 0; for (float[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
*/ public static double[] concat(double[]... arrays) { long length = 0; for (double[] array : arrays) { length += array.length; } double[] result = new double[checkNoOverflow(length)]; int pos = 0; for (double[] array : arrays) { System.arraycopy(array, 0, result, pos, array.length); pos += array.length; } return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 27.9K bytes - Viewed (0)