Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 967 for new (0.15 sec)

  1. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent);
        assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {}))
            .containsExactly(new File("/a"), grandParent, new File("/b"), parent);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1});
    
        testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "3" }, new Object[] { "2", "3", "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "2" }), is(not(true)));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] {}), is(not(true)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        testSortDescending(new byte[] {}, 0, 0, new byte[] {});
        testSortDescending(new byte[] {1}, 0, 1, new byte[] {1});
        testSortDescending(new byte[] {1, 2}, 0, 2, new byte[] {2, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 2, new byte[] {3, 1, 1});
        testSortDescending(new byte[] {1, 3, 1}, 0, 1, new byte[] {1, 3, 1});
        testSortDescending(
            new byte[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top