- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 491 for 1003 (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(89, computeArrayListCapacity(77)); assertEquals(22000005, computeArrayListCapacity(20000000)); assertEquals(Integer.MAX_VALUE, computeArrayListCapacity(Integer.MAX_VALUE - 1000)); } public void testNewArrayListFromCollection() { ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
testRotate(new float[] {1, 2, 3, 4, 5}, 6, new float[] {5, 1, 2, 3, 4}); } public void testRotateIndexed() { testRotate(new float[] {}, 0, 0, 0, new float[] {}); testRotate(new float[] {1}, 0, 0, 1, new float[] {1}); testRotate(new float[] {1}, 1, 0, 1, new float[] {1}); testRotate(new float[] {1}, 1, 1, 1, new float[] {1}); // Rotate the central 5 elements, leaving the ends as-is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
testRotate(new int[] {1, 2, 3, 4, 5}, 6, new int[] {5, 1, 2, 3, 4}); } public void testRotateIndexed() { testRotate(new int[] {}, 0, 0, 0, new int[] {}); testRotate(new int[] {1}, 0, 0, 1, new int[] {1}); testRotate(new int[] {1}, 1, 0, 1, new int[] {1}); testRotate(new int[] {1}, 1, 1, 1, new int[] {1}); // Rotate the central 5 elements, leaving the ends as-is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
testRotate(new double[] {1, 2, 3, 4, 5}, 6, new double[] {5, 1, 2, 3, 4}); } public void testRotateIndexed() { testRotate(new double[] {}, 0, 0, 0, new double[] {}); testRotate(new double[] {1}, 0, 0, 1, new double[] {1}); testRotate(new double[] {1}, 1, 0, 1, new double[] {1}); testRotate(new double[] {1}, 1, 1, 1, new double[] {1}); // Rotate the central 5 elements, leaving the ends as-is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
testRotate(new float[] {1, 2, 3, 4, 5}, 6, new float[] {5, 1, 2, 3, 4}); } public void testRotateIndexed() { testRotate(new float[] {}, 0, 0, 0, new float[] {}); testRotate(new float[] {1}, 0, 0, 1, new float[] {1}); testRotate(new float[] {1}, 1, 0, 1, new float[] {1}); testRotate(new float[] {1}, 1, 1, 1, new float[] {1}); // Rotate the central 5 elements, leaving the ends as-is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(89, computeArrayListCapacity(77)); assertEquals(22000005, computeArrayListCapacity(20000000)); assertEquals(Integer.MAX_VALUE, computeArrayListCapacity(Integer.MAX_VALUE - 1000)); } public void testNewArrayListFromCollection() { ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
* mm = tf.MatMul(my_add1,my_add2) * return my_add1, my_add2, mm * * Now we will execute this function with an eager context: * * A =[[0, 1],[1, 0]] * B =[[1, 0],[0, 1]] * * output1, output2, output3 = two_adds_and_mm(A, B) * * We expect outputs: * * output1 = [[1, 1],[1, 1]] * output2 = [[2, 0],[0, 2]] * output3 = [[2, 2],[2, 2]]
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* creation time, the queue is unbounded. * * <p>Usage example: * * <pre>{@code * MinMaxPriorityQueue<User> users = MinMaxPriorityQueue.orderedBy(userComparator) * .maximumSize(1000) * .create(); * }</pre> * * <p>As a {@link Queue} it functions exactly as a {@link PriorityQueue}: its head element -- the * implicit target of the methods {@link #peek()}, {@link #poll()} and {@link #remove()} -- is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
ImmutableSortedSet.Builder<Integer> builder = new ImmutableSortedSet.Builder<Integer>(countingComparator, 10); for (int i = 0; i < 9; i++) { builder.add(i); } for (int j = 0; j < 1000; j++) { builder.add(9); } ImmutableSortedSet<Integer> unused = builder.build(); assertThat(compares[0]).isAtMost(10000); // hopefully something quadratic would have more digits }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
api/go1.10.txt
pkg syscall (windows-amd64), type SysProcAttr struct, Token Token pkg time, func LoadLocationFromTZData(string, []uint8) (*Location, error) pkg unicode, const Version = "10.0.0" pkg unicode, var Masaram_Gondi *RangeTable pkg unicode, var Nushu *RangeTable pkg unicode, var Regional_Indicator *RangeTable pkg unicode, var Soyombo *RangeTable
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0)