Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 500 (0.12 sec)

  1. 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)
  2. 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)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  4. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top