Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for CheckedRunnable (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link
     *       #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link
     *       CheckedRunnable} and {@link CheckedCallable}).
     *   <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it.
     *       This method is used to clear and check for thread assertion failures.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link
     *       #threadUnexpectedException} or {@link #threadRecordFailure} (which is called by {@link
     *       CheckedRunnable} and {@link CheckedCallable}).
     *   <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it.
     *       This method is used to clear and check for thread assertion failures.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testCompareAndSetInMultipleThreads() throws InterruptedException {
        AtomicDoubleArray a = new AtomicDoubleArray(1);
        a.set(0, 1.0);
        Thread t =
            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testCompareAndSetInMultipleThreads() throws InterruptedException {
        AtomicDoubleArray a = new AtomicDoubleArray(1);
        a.set(0, 1.0);
        Thread t =
            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      public void testCompareAndSetInMultipleThreads() throws Exception {
        AtomicDouble at = new AtomicDouble(1.0);
        Thread t =
            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!at.compareAndSet(2.0, 3.0)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
Back to Top