Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for main (0.12 sec)

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

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    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)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
     *       things for people integrating them in TCK test suites.
     *   <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit
     *       tests.
     * </ul>
     */
    abstract class JSR166TestCase extends TestCase {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Cut.java

        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
           * of Cut.compareTo checks for belowAll before reading accessing `endpoint` on another Cut
           * instance.
           */
          super("");
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
     *       things for people integrating them in TCK test suites.
     *   <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit
     *       tests.
     * </ul>
     */
    abstract class JSR166TestCase extends TestCase {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

       * check its availability with {@link #lazyStackTraceIsLazy()}.
       *
       * <p>The expected (but not guaranteed) performance of the special implementation differs from
       * {@code getStackTrace} in one main way: The {@code lazyStackTrace} call itself returns quickly
       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

       * check its availability with {@link #lazyStackTraceIsLazy()}.
       *
       * <p>The expected (but not guaranteed) performance of the special implementation differs from
       * {@code getStackTrace} in one main way: The {@code lazyStackTrace} call itself returns quickly
       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        final ExecutorService executor = Executors.newFixedThreadPool(barrier.getParties());
        final AtomicReference<AbstractFuture<String>> currentFuture = Atomics.newReference();
    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)
  9. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                  @Override
                  public void run() {
                    notifyStarted();
                    // We need to wait for the main thread to leave the ServiceManager.startAsync call
                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
    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)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
Back to top