Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,153 for _new (0.13 sec)

  1. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        skipHelper(0, 0, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new ByteArrayInputStream(bytes));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1));
        skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0));
        skipHelper(100, -1, new ByteArrayInputStream(bytes));
        assertThrows(EOFException.class, () -> skipHelper(101, 0, new ByteArrayInputStream(bytes)));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put(new LegacyComparable("foo"), new LegacyComparable("f"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("b"));
        multimap.put(new LegacyComparable("bar"), new LegacyComparable("a"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

      static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS);
      static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
      static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS);
      static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS);
    
      private static final ImmutableSet<CharSource> BROKEN_SOURCES =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2}, -1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, -2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 0, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, 2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 3, new long[] {2, 1});
    
        testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        testRotate(new long[] {1, 2}, -1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, -2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 0, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 1, new long[] {2, 1});
        testRotate(new long[] {1, 2}, 2, new long[] {1, 2});
        testRotate(new long[] {1, 2}, 3, new long[] {2, 1});
    
        testRotate(new long[] {1, 2, 3}, -5, new long[] {3, 1, 2});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedSortedMap());
        suite.addTest(testsForEmptyMap());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top