Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 240 for InterruptedException (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      override fun ensureLoaded() {
        if (!listRead.get() && listRead.compareAndSet(false, true)) {
          readTheListUninterruptibly()
        } else {
          try {
            readCompleteLatch.await()
          } catch (_: InterruptedException) {
            Thread.currentThread().interrupt() // Retain interrupted status.
          }
        }
    
        if (!::bytes.isInitialized) {
          // May have failed with an IOException
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                            break;
                        }
    
                        // In a real implementation, we would process actual change notifications here
    
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        break;
                    } catch (Exception e) {
                        if (handle.isActive()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LoadingCache.java

       *     ExecutionException} is thrown <a
       *     href="https://github.com/google/guava/wiki/CachesExplained#interruption">even if
       *     computation was interrupted by an {@code InterruptedException}</a>.)
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertFalse(keyManager.hasSessionKey(sessionId + ".v0"), "Version 0 should be removed");
        }
    
        @Test
        public void testKeyAge() throws InterruptedException {
            String sessionId = "age-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            long initialAge = keyManager.getKeyAge(sessionId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          new Runnable() {
            @Override
            public void run() {
              list.execute();
            }
          };
    
      @Benchmark
      int addThenExecute_multiThreaded(int reps) throws InterruptedException {
        Runnable addTask =
            new Runnable() {
              @Override
              public void run() {
                for (int i = 0; i < numListeners; i++) {
                  list.add(listener, directExecutor());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

            }
            responseQueue.put(new Response(request.methodName, result, null));
          }
        } catch (ThreadDeath death) {
          return;
        } catch (InterruptedException ignored) {
          // SynchronousQueue sometimes throws InterruptedException while the threads are stopping.
        } catch (Throwable uncaught) {
          this.uncaughtThrowable = uncaught;
        }
      }
    
      private static class Request {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
            return;
          } catch (InterruptedException ie) {
            throw new RuntimeException("Unexpected interrupt while waiting for future", ie);
          } catch (TimeoutException tryHarder) {
            /* OK */
          }
        } while (System.nanoTime() - deadline < 0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * request was sent as intended. This method will block until the request is available, possibly
       * forever.
       *
       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
      public fun takeRequest(): RecordedRequest = requestQueue.take()
    
      /**
       * Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

                if (goal == null) {
                    return badGoalsErrorMessage("Unknown goal: " + goalName, context);
                }
    
                return goal.execute(context);
            } catch (InterruptedException | InterruptedIOException | UserInterruptException e) {
                context.logger.error("Goal canceled by user.");
                return CANCELED;
            } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                if (goal == null) {
                    return badGoalsErrorMessage("Unknown goal: " + goalName, context);
                }
    
                return goal.execute(context);
            } catch (InterruptedException | InterruptedIOException | UserInterruptException e) {
                context.logger.error("Goal canceled by user.");
                return CANCELED;
            } catch (Exception e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top