Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InterruptedException (0.15 sec)

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

          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.put(one, two);
        assertSame(two, map.get(one));
        startSignal.countDown();
    
        try {
          doneSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.cleanUp(); // force notifications
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.put(one, two);
        assertSame(two, map.get(one));
        startSignal.countDown();
    
        try {
          doneSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        map.cleanUp(); // force notifications
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        client =
          client.newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  latch.await()
                } catch (e: InterruptedException) {
                  throw AssertionError(e)
                }
                chain.proceed(chain.request())
              },
            )
            .build()
        val call = client.newCall(Request(server.url("/a")))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                },
                directExecutor());
          } catch (Throwable t) {
            ListenableFuture<V> result = setException(t) ? futureValue : fullyFailedFuture(t);
            if (t instanceof InterruptedException) {
              Thread.currentThread().interrupt();
            }
            return result;
          }
        }
    
        @CheckForNull
        public V compute(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                            }
                            while( !w.ready ) {
                                try {
                                    w.wait();
                                } catch( InterruptedException ie ) {
                                    throw new SmbException( dest.url.toString(), ie );
                                }
                            }
                            if( w.e != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top