Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for minutes (0.24 sec)

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

          try {
            locked.countDown();
            finishLatch.await(1, TimeUnit.MINUTES);
          } catch (InterruptedException e) {
            fail(e.toString());
          } finally {
            lock.unlock();
          }
        }
    
        void waitUntilHoldingLock() throws InterruptedException {
          locked.await(1, TimeUnit.MINUTES);
        }
    
        void releaseLockAndFinish() throws InterruptedException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    to do, and perhaps after all it might tell her something worth
    hearing.  For some minutes it puffed away without speaking, but
    at last it unfolded its arms, took the hookah out of its mouth
    again, and said, `So you think you're changed, do you?'
    
      `I'm afraid I am, sir,' said Alice; `I can't remember things as
    I used--and I don't keep the same size for ten minutes together!'
    
      `Can't remember WHAT things?' said the Caterpillar.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterAccess(1, TimeUnit.MINUTES)
                .removalListener(listener)
                .ticker(ticker)
                .build();
        cache.put(1, 1);
        ticker.advance(10, TimeUnit.MINUTES);
        cache.invalidateAll();
    
        assertThat(listener.poll().getCause()).isEqualTo(RemovalCause.EXPIRED);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            };
    
        future = service.schedule(runnable, 5, TimeUnit.MINUTES);
        future.cancel(true);
        assertTrue(future.isCancelled());
        delegateFuture = (ScheduledFuture<?>) delegateQueue.element();
        assertTrue(delegateFuture.isCancelled());
    
        delegateQueue.clear();
    
        future = service.scheduleAtFixedRate(runnable, 5, 5, TimeUnit.MINUTES);
        future.cancel(true);
        assertTrue(future.isCancelled());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES);
        mock.assertLastMethodCalled("scheduleRunnable", 10, TimeUnit.MINUTES);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError1 =
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    to do, and perhaps after all it might tell her something worth
    hearing.  For some minutes it puffed away without speaking, but
    at last it unfolded its arms, took the hookah out of its mouth
    again, and said, `So you think you're changed, do you?'
    
      `I'm afraid I am, sir,' said Alice; `I can't remember things as
    I used--and I don't keep the same size for ten minutes together!'
    
      `Can't remember WHAT things?' said the Caterpillar.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      }
    
      // TODO(cpovirk): instead of skipping, use a smaller number of steps
      @GwtIncompatible // works but takes 5 minutes to run
      public void testPeekingIteratorBehavesLikeIteratorOnThreeElementIterable() {
        actsLikeIteratorHelper(Lists.newArrayList("A", "B", "C"));
      }
    
      @GwtIncompatible // works but takes 5 minutes to run
      public void testPeekingIteratorAcceptsNullElements() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static java.lang.Thread.State.WAITING;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.base.Equivalence;
    import com.google.common.base.Ticker;
    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)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static java.lang.Thread.State.WAITING;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.base.Equivalence;
    import com.google.common.base.Ticker;
    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)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

          this.arithmetic = arithmetic;
        }
    
        @Override
        public int add(int a, int b) {
          return arithmetic.add(a, b);
        }
    
        @Override
        public int minus(int a, int b) {
          return arithmetic.minus(a, b);
        }
    
        @Override
        public String toString() {
          return arithmetic.toString();
        }
      }
    
      private static class FailsToForwardParameters implements Adder {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top