Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for InterruptedException (0.36 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @AndroidIncompatible // Bug? expected:<1> but was:<2>
      public void testConcurrentLoading() throws InterruptedException {
        testConcurrentLoading(CacheBuilder.newBuilder());
      }
    
      private static void testConcurrentLoading(CacheBuilder<Object, Object> builder)
          throws InterruptedException {
        testConcurrentLoadingDefault(builder);
        testConcurrentLoadingNull(builder);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

            return input.isDone();
          }
    
          @Override
          public O get() throws InterruptedException, ExecutionException {
            return applyTransformation(input.get());
          }
    
          @Override
          public O get(long timeout, TimeUnit unit)
              throws InterruptedException, ExecutionException, TimeoutException {
            return applyTransformation(input.get(timeout, unit));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

              sink.write(chunk!!)
              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
        }
      }
    
      @Test
      fun requestBodyMultipleFailuresReportedOnlyOnce() {
        val requestBody: RequestBody =
          object : RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  4. guava/src/com/google/common/util/concurrent/Futures.java

            return input.isDone();
          }
    
          @Override
          public O get() throws InterruptedException, ExecutionException {
            return applyTransformation(input.get());
          }
    
          @Override
          public O get(long timeout, TimeUnit unit)
              throws InterruptedException, ExecutionException, TimeoutException {
            return applyTransformation(input.get(timeout, unit));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            log.trace("Read negotiate response");
        }
    
    
        /**
         * @param first
         * @param n
         * @return
         * @throws IOException
         * @throws SocketException
         * @throws InterruptedException
         */
        private SmbNegotiation negotiate2 ( Smb2NegotiateResponse first ) throws IOException, SocketException {
            int size = 0;
    
            int securityMode = getRequestSecurityMode(first);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val authenticator =
          okhttp3.Authenticator { route: Route?, response: Response? ->
            responses.offer(response!!.body.string())
            try {
              latch.await()
            } catch (e: InterruptedException) {
              throw AssertionError()
            }
            response.request
          }
        val blockingAuthClient =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                            return chainedResponse;
                        try {
                            this.transport.wait();
                        }
                        catch ( InterruptedException ie ) {
                            throw new SmbException(ie.getMessage(), ie);
                        }
                    }
    
                    try {
                        trans.ensureConnected();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                finally {
                    w.write(null, -1, null);
                    w.interrupt();
                    try {
                        w.join();
                    }
                    catch ( InterruptedException e ) {
                        log.warn("Interrupted while joining copy thread", e);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top