- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 912 for Array (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsInOrder(getOrderedElements(), array); } public void testToArray_rightSizedArrayOfObject() { Object[] array = new Object[getNumElements()]; assertSame( "toArray(sameSizeObject[]) should return the given array", array,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
swap(array, from, to); } return array[k]; } else { int midIndex = (from + to) >>> 1; // Choose the median of the elements at the from, to and mid indexes, // and rearrange so that array[from]<=array[from+1], and // array[to] => array[from + 1]. swap(array, midIndex, from + 1); if (array[from] > array[to]) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.addAll(emptyArray, array), is(sameInstance(array))); assertThat(ArrayUtil.addAll(array, emptyArray), is(sameInstance(array))); } /** * @throws Exception */ @Test public void testAdd_int() throws Exception { final int[] array = new int[] { 1 }; final int[] newArray = ArrayUtil.add(array, 2); assertThat(newArray.length, is(2));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
if (toLessThanMid == midLessThanFrom) { // Either array[to] < array[mid] < array[from] or array[from] <= array[mid] <= array[to]. swap(array, mid, from); } else if (toLessThanMid != toLessThanFrom) { // Either array[from] <= array[to] < array[mid] or array[mid] <= array[to] < array[from]. swap(array, from, to); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
array[i] = counter.getAndIncrement(); } builder.addAll(ImmutableDoubleArray.copyOf(array)); } }, ADD_LARGER_ARRAY { @Override void doIt(ImmutableDoubleArray.Builder builder, AtomicInteger counter) { double[] array = new double[RANDOM.nextInt(200) + 200]; for (int i = 0; i < array.length; i++) { array[i] = counter.getAndIncrement();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
T[] result = newArray(array, array.length + 1); result[0] = element; arraycopy(array, 0, result, 1, array.length); return result; } /** * Returns a new array that appends {@code element} to {@code array}. * * @param array the array of elements to prepend * @param element the element to append to the end
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers override fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, socket: Socket, ) { if (socket.peerName() !in insecureHosts) { delegate.checkServerTrusted(chain, authType, socket) } } override fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https.drawio
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 25.7K bytes - Viewed (1) -
guava/src/com/google/common/primitives/Bytes.java
* i, i + target.length)} contains exactly the same elements as {@code target}. * * @param array the array to search for the sequence {@code target} * @param target the array to search for as a sub-sequence of {@code array} */ public static int indexOf(byte[] array, byte[] target) { checkNotNull(array, "array"); checkNotNull(target, "target");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
docs/en/docs/img/deployment/https/https07.drawio
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 18.7K bytes - Viewed (0)