Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Phread (0.18 sec)

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

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testSubmitAsync_asyncCallable_returnsInterruptedFuture() throws InterruptedException {
        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testSubmitAsync_asyncCallable_returnsInterruptedFuture() throws InterruptedException {
        assertThat(Thread.interrupted()).isFalse();
        SettableFuture<Integer> cancelledFuture = SettableFuture.create();
        cancelledFuture.cancel(true);
        assertThat(Thread.interrupted()).isFalse();
        ListenableFuture<Integer> future =
    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. android/guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        public void clear() {
          ReferenceEntry<K, V> e = head.getNextInWriteQueue();
          while (e != head) {
            ReferenceEntry<K, V> next = e.getNextInWriteQueue();
            nullifyWriteOrder(e);
            e = next;
          }
    
          head.setNextInWriteQueue(head);
          head.setPreviousInWriteQueue(head);
        }
    
        @Override
        public Iterator<ReferenceEntry<K, V>> iterator() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountDownLatch doneSignal = new CountDownLatch(1);
        Thread thread =
            new Thread(
                () -> {
                  try {
                    cache.get(key, loader);
                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, TimeUnit.SECONDS);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountDownLatch doneSignal = new CountDownLatch(1);
        Thread thread =
            new Thread(
                () -> {
                  try {
                    cache.get(key, loader);
                  } catch (UncheckedExecutionException | ExecutionException e) {
                    doneSignal.countDown();
                  }
                });
        thread.start();
    
        boolean done = doneSignal.await(1, TimeUnit.SECONDS);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        call: Call,
        delay: Long,
      ): Thread {
        val thread =
          object : Thread("canceler") {
            override fun run() {
              try {
                sleep(delay)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              call.cancel()
            }
          }
        thread.start()
        return thread
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_unauthorized_request = "{errors.unauthorized_request}";
    
        /** The key of the message: Failed to print thread dump. */
        public static final String ERRORS_failed_to_print_thread_dump = "{errors.failed_to_print_thread_dump}";
    
        /** The key of the message: {0} is not supported. */
        public static final String ERRORS_file_is_not_supported = "{errors.file_is_not_supported}";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val inputStream = response.body.byteStream()
        assertThat(inputStream.read().toChar()).isEqualTo('A')
        call.cancel()
        assertFailsWith<IOException> {
          // Reading 'B' may succeed if it's buffered.
          inputStream.read()
    
          // But 'C' shouldn't be buffered (the response is throttled) and this should fail.
          inputStream.read()
        }
        inputStream.close()
      }
    
      @Test
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_max_access_count = "{labels.max_access_count}";
    
        /** The key of the message: The number of Thread */
        public static final String LABELS_number_of_thread = "{labels.number_of_thread}";
    
        /** The key of the message: Interval time */
        public static final String LABELS_interval_time = "{labels.interval_time}";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
Back to top