Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for inline (2.84 sec)

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

     *       there is ever any doubt, they can all be increased in one spot to rerun tests on slower
     *       platforms.
     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
    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)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
      // never complete when timing out.  Notably, nothing would get logged since the Error would get
      // stuck in the ScheduledFuture inside of TimeoutFuture and nothing ever calls get on it.
    
      // Simulate a timeout that fires before the call the SES.schedule returns but the future is
      // already completed.
    
    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)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                      }
                      gettersComplete.countDown();
                    }
                  });
          thread.start();
          // we want to wait until each thread is WAITING - one thread waiting inside CacheLoader.load
          // (in startSignal.await()), and the others waiting for that thread's result.
          while (thread.isAlive() && thread.getState() != Thread.State.WAITING) {
            Thread.yield();
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

        try {
          return fromValid(specifier);
        } catch (IllegalArgumentException e) {
          // Since the IAE can originate at several different points inside
          // fromValid(), we implement this method in terms of that one rather
          // than the reverse.
    
          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
           * And, no, defining (final or not) local variables out of the loop still isn't as good
           * because the null check on the theUnsafe object remains inside the loop and
           * BYTE_ARRAY_BASE_OFFSET doesn't get constant-folded.
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> SOMEWHERE_UNDER_PS =
          ImmutableSet.of(
              "foo.bar.google.com",
              "a.b.c.1.2.3.ca.us",
              "site.jp",
              "uomi-online.kir.jp",
              "jprs.co.jp",
              "site.quick.jp",
              "site.tenki.jp",
              "site.or.jp",
              "site.gr.jp",
              "site.ne.jp",
              "site.ac.jp",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

          if (logger.get().isLoggable(WARNING)) {
            logger
                .get()
                .log(
                    WARNING,
                    String.format("while submitting close to %s; will close inline", executor),
                    e);
          }
          closeQuietly(closeable, directExecutor());
        }
      }
    
      private void checkAndUpdateState(State oldState, State newState) {
        checkState(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * ListenableFuture} listeners, should take care not to do so while holding a lock. Additionally,
       * as a further line of defense, prefer not to perform any locking inside a task that will be run
       * under {@code directExecutor}: Not only might the wait for a lock be long, but if the running
       * thread was holding a lock, the listener may deadlock or break lock isolation.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * Future.get() when we don't need to (specifically, for whenAllComplete().call*()), and it
           * lets all futures share the same listener.
           *
           * We store `localFutures` inside the listener because `this.futures` might be nulled out by
           * the time the listener runs for the final future -- at which point we need to check all
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        failLeave.countDown(); // release the background thread
      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
    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)
Back to top