Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for isInterrupted (0.08 seconds)

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

        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future = submitAsync(() -> cancelledFuture, directExecutor());
        assertThat(future.isDone()).isTrue();
        assertThat(Thread.interrupted()).isFalse();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future = submitAsync(() -> cancelledFuture, directExecutor());
        assertThat(future.isDone()).isTrue();
        assertThat(Thread.interrupted()).isFalse();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Exactly so,' said the Hatter:  `as the things get used up.'
    
      `But what happens when you come to the beginning again?' Alice
    ventured to ask.
    
      `Suppose we change the subject,' the March Hare interrupted,
    yawning.  `I'm getting tired of this.  I vote the young lady
    tells us a story.'
    
      `I'm afraid I don't know one,' said Alice, rather alarmed at
    the proposal.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Exactly so,' said the Hatter:  `as the things get used up.'
    
      `But what happens when you come to the beginning again?' Alice
    ventured to ask.
    
      `Suppose we change the subject,' the March Hare interrupted,
    yawning.  `I'm getting tired of this.  I vote the young lady
    tells us a story.'
    
      `I'm afraid I don't know one,' said Alice, rather alarmed at
    the proposal.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                        return this.treeHandle;
    
                    } catch (InterruptedException ie) {
                        Thread.currentThread().interrupt();
                        throw new SmbException("Connection retry interrupted", ie);
                    } catch (CIFSException retryException) {
                        log.debug("Connection retry also failed", retryException);
                        throw e; // Throw original exception
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * specified {@link MoreExecutors#directExecutor()}, those objects will be closed synchronously.
       *
       * @param mayInterruptIfRunning {@code true} if the thread executing this task should be
       *     interrupted; otherwise, in-progress tasks are allowed to complete, but the step will be
       *     cancelled regardless
       * @return {@code false} if the step could not be cancelled, typically because it has already
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top