Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,650 for new (0.21 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

          throws Throwable {
        final AtomicInteger count = new AtomicInteger(0);
        final AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        final int numThreads = 3;
        final Thread[] threads = new Thread[numThreads];
        final long timeout = TimeUnit.SECONDS.toNanos(60);
    
        final Supplier<Boolean> supplier =
            new Supplier<Boolean>() {
              boolean isWaiting(Thread thread) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testRotate() {
        testRotate(new char[] {}, -1, new char[] {});
        testRotate(new char[] {}, 0, new char[] {});
        testRotate(new char[] {}, 1, new char[] {});
    
        testRotate(new char[] {'1'}, -2, new char[] {'1'});
        testRotate(new char[] {'1'}, -1, new char[] {'1'});
        testRotate(new char[] {'1'}, 0, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, new char[] {'1'});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // ? extends T
        assertAssignable(new TypeToken<List<N11>>() {}, new TypeToken<List<? extends N1>>() {});
        assertNotAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends N11>>() {});
        assertNotAssignable(new TypeToken<List<Number>>() {}, new TypeToken<List<? extends N11>>() {});
    
        // ? extends Number
        assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

    @ElementTypesAreNonnullByDefault
    public class SetOperationsTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
            assertThat(it.hasNext(), is(true));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                } catch (final Exception e) {
                    throw new PluginException("Failed to install the artifact " + artifact.getName(), e);
                }
            } else {
                try (final InputStream in = new FileInputStream(url)) {
                    CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
                } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top