Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for 500 (0.24 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

          throws ExecutionException {
    
        repeatedlyInterruptTestThread(100, tearDownStack);
    
        assertThrows(
            TimeoutException.class,
            () -> getUninterruptibly(delayedFuture, 500, TimeUnit.MILLISECONDS));
        assertTrue(Thread.interrupted()); // clears the interrupt state, too
    
        assertFalse(sleeper.completed);
        assertTrue(getUninterruptibly(delayedFuture));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

              builder.put(element, element);
            }
            return builder.build();
          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                final Map<String, String> infoMap = crawlingInfoHelper.getInfoMap(options.sessionId);
    
                final StringBuilder buf = new StringBuilder(500);
                for (final Map.Entry<String, String> entry : infoMap.entrySet()) {
                    if (buf.length() != 0) {
                        buf.append(',');
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.1K bytes
    - Viewed (2)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return 200;
                }
            };
            indexingHelper.setMaxRetryCount(5);
            indexingHelper.setDefaultRowSize(100);
            indexingHelper.setRequestInterval(500);
            ComponentUtil.register(indexingHelper, "indexingHelper");
            ComponentUtil.register(new ThumbnailManager(), "thumbnailManager");
            final CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
        assertThat(map).hasSize(500);
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      // This method tests the int case.
      public void testBuildKeepingLast_bigTable() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
        unused = future.toString();
      }
    
      public void testToString_notDone() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCancellingAllDelegatesIsNotQuadratic() throws Exception {
        ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder();
        for (int i = 0; i < 500_000; i++) {
          builder.add(SettableFuture.<Long>create());
        }
        ImmutableList<SettableFuture<Long>> inputs = builder.build();
        ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ticker.advance(10, MILLISECONDS); // so that the next call will trigger refresh
          assertThat(cache.getOrLoad("test")).isEqualTo("testLoad");
          reloadStarted.await();
          ticker.advance(500, MILLISECONDS); // so that the entry expires during the reload
          threadAboutToBlockForRefresh.set(Thread.currentThread());
          assertThat(cache.getOrLoad("test")).isEqualTo("testReload");
        } finally {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
Back to top