Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 150 (0.3 sec)

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

              protected void doStart() {
                super.doStart();
                // This will delay service listener execution at least 150 milliseconds
                Uninterruptibles.sleepUninterruptibly(150, TimeUnit.MILLISECONDS);
              }
            };
        Service a =
            new NoOpDelayedService(150) {
              @Override
              protected void doStart() {
                b.startAsync();
                super.doStart();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              protected void doStart() {
                super.doStart();
                // This will delay service listener execution at least 150 milliseconds
                Uninterruptibles.sleepUninterruptibly(150, TimeUnit.MILLISECONDS);
              }
            };
        Service a =
            new NoOpDelayedService(150) {
              @Override
              protected void doStart() {
                b.startAsync();
                super.doStart();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(10, (int) memoizedSupplier.get());
        // it still should only have executed once due to memoization
        assertEquals(1, countingSupplier.calls);
    
        Thread.sleep(150);
    
        assertEquals(20, (int) memoizedSupplier.get());
        // old value expired
        assertEquals(2, countingSupplier.calls);
    
        assertEquals(20, (int) memoizedSupplier.get());
    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)
Back to top