- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 764 for new (0.13 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testRotate() { testRotate(new boolean[] {}, -1, new boolean[] {}); testRotate(new boolean[] {}, 0, new boolean[] {}); testRotate(new boolean[] {}, 1, new boolean[] {}); testRotate(new boolean[] {true}, -2, new boolean[] {true}); testRotate(new boolean[] {true}, -1, new boolean[] {true}); testRotate(new boolean[] {true}, 0, new boolean[] {true}); testRotate(new boolean[] {true}, 1, new boolean[] {true});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testRotate() { testRotate(new boolean[] {}, -1, new boolean[] {}); testRotate(new boolean[] {}, 0, new boolean[] {}); testRotate(new boolean[] {}, 1, new boolean[] {}); testRotate(new boolean[] {true}, -2, new boolean[] {true}); testRotate(new boolean[] {true}, -1, new boolean[] {true}); testRotate(new boolean[] {true}, 0, new boolean[] {true}); testRotate(new boolean[] {true}, 1, new boolean[] {true});
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
testRotate(new short[] {1, 2}, -3, new short[] {2, 1}); testRotate(new short[] {1, 2}, -1, new short[] {2, 1}); testRotate(new short[] {1, 2}, -2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 0, new short[] {1, 2}); testRotate(new short[] {1, 2}, 1, new short[] {2, 1}); testRotate(new short[] {1, 2}, 2, new short[] {1, 2}); testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
testRotate(new float[] {1, 2}, -3, new float[] {2, 1}); testRotate(new float[] {1, 2}, -1, new float[] {2, 1}); testRotate(new float[] {1, 2}, -2, new float[] {1, 2}); testRotate(new float[] {1, 2}, 0, new float[] {1, 2}); testRotate(new float[] {1, 2}, 1, new float[] {2, 1}); testRotate(new float[] {1, 2}, 2, new float[] {1, 2}); testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
testSort(new int[] {}, 0, 0, new int[] {}); testSort(new int[] {2}, 0, 1, new int[] {2}); testSort(new int[] {2, 1, 0}, 0, 2, new int[] {1, 2, 0}); testSort(new int[] {2, GREATEST, 1, LEAST}, 1, 4, new int[] {2, LEAST, 1, GREATEST}); } public void testSortDescending() { testSortDescending(new int[] {}, new int[] {}); testSortDescending(new int[] {1}, new int[] {1});
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ToStringHelperTest.java
Object unused1 = new Object() {}; Object unused2 = new Object() {}; Object unused3 = new Object() {}; Object unused4 = new Object() {}; Object unused5 = new Object() {}; Object unused6 = new Object() {}; Object unused7 = new Object() {}; Object unused8 = new Object() {}; Object unused9 = new Object() {}; Object o10 = new Object() {};
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:24:55 GMT 2024 - 15.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
AtomicDoubleArray aa = new AtomicDoubleArray(VALUES); assertEquals(Arrays.toString(VALUES), aa.toString()); assertEquals("[]", new AtomicDoubleArray(0).toString()); assertEquals("[]", new AtomicDoubleArray(new double[0]).toString()); } /** compareAndSet treats +0.0 and -0.0 as distinct values */ public void testDistinctZeros() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
class BadRunnableException extends RuntimeException {} CountingRunnable before = new CountingRunnable(); Runnable bad = new Runnable() { @Override public void run() { throw new BadRunnableException(); } }; CountingRunnable after = new CountingRunnable(); future.addListener(before, directExecutor());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( NavigableMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { SafeTreeMap<String, String> map = new SafeTreeMap<>(); putEntries(map, entries);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); final CountDownLatch enterLatch = new CountDownLatch(1); final CountDownLatch exitLatch = new CountDownLatch(1); final TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0)