Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 688 for Thread (0.06 sec)

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

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
    
        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
          test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
    
        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
          test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            try {
              sink.writeUtf8("abc")
              sink.flush()
              Thread.sleep(sleepMillis.toLong())
              sink.writeUtf8("def")
            } catch (e: InterruptedException) {
              throw InterruptedIOException()
            }
          }
        }
    
      companion object {
        /** A large response body. Smaller bodies might successfully read after the socket is closed!  */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

                return true;
            });
        }
    
        private void addMdcContext(Map<String, Object> context) {
            // Add MDC context efficiently
            context.put("thread", Thread.currentThread().getName());
            context.put("threadId", Thread.currentThread().getId());
    
            String sessionId = MDC.get("sessionId");
            if (sessionId != null) {
                context.put("sessionId", sessionId);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            assertTrue(seq2 > seq1);
            assertTrue(seq3 > seq2);
        }
    
        @Test
        void testHeartbeatUpdate() throws InterruptedException {
            long initialTime = registration.getLastHeartbeat();
    
            Thread.sleep(50); // Ensure sufficient time difference
            registration.updateHeartbeat();
    
            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

      }
    
      public void testLegacyAsyncDispatcher() {
        dispatcher = Dispatcher.legacyAsync();
    
        CyclicBarrier barrier = new CyclicBarrier(2);
        CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

     * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Emily Soldal
     * @since 21.0 (since 14.0 as {@link com.google.common.collect.ForwardingBlockingDeque})
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_nl.properties

    errors.invalid_header_for_request_file=Ongeldige headerregel: {0}
    errors.could_not_delete_logged_in_user=Kan ingelogde gebruiker niet verwijderen.
    errors.unauthorized_request=Ongeautoriseerd verzoek.
    errors.failed_to_print_thread_dump=Kan thread-dump niet afdrukken.
    errors.file_is_not_supported={0} wordt niet ondersteund.
    errors.plugin_file_is_not_found={0} niet gevonden.
    errors.failed_to_install_plugin=Kan {0} niet installeren.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top