Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for Denning (0.23 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
       * tasks. Second, the returned list will always be empty, as any submitted task is considered to
       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        }
      }
    
      private static class NoOpService extends AbstractService {
        boolean running = false;
    
        @Override
        protected void doStart() {
          assertFalse(running);
          running = true;
          notifyStarted();
        }
    
        @Override
        protected void doStop() {
          assertTrue(running);
          running = false;
          notifyStopped();
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      enum WorkerRunningState {
        /** Runnable is not running and not queued for execution */
        IDLE,
        /** Runnable is not running, but is being queued for execution */
        QUEUING,
        /** runnable has been submitted but has not yet begun execution */
        QUEUED,
        RUNNING,
      }
    
      /** Underlying executor that all submitted Runnable objects are run on. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        // Test default state of not started.
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

           * old versions of Android. Since Android doesn't use that code path, anyway, there's no need
           * to test it.
           */
          return;
        }
    
        /*
         * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based
         * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test
         * anything interesting under most environments. Still, we can run it (except for Android, at
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Cache.java

       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
            "expected collection %s; actual collection %s", expected, this.collection);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

              @Override
              public void tearDown() throws Exception {
                synchronized (result.stack) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
              }
            });
        return result;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * runtime at all. I could just make _this_ test a MediumTest, but then it wouldn't run on
       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
Back to top