- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 3,646 for finally (0.38 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
fail(); } catch (TwoArgConstructorException expected) { assertThat(expected).hasCauseThat().isInstanceOf(InterruptedException.class); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetCheckedUntimed_cancelled() throws TwoArgConstructorException { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.3K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
dnsProviders = providers( client = bootstrapClient, http2Only = true, workingOnly = true, getOnly = true, ) runBatch(dnsProviders, names) } finally { bootstrapClient.connectionPool.evictAll() bootstrapClient.dispatcher.executorService.shutdownNow() bootstrapClient.cache?.close() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
System.err.println(ioe.getMessage()); //ioe.printStackTrace(System.err); } } } catch (Exception e) { e.printStackTrace(); } finally { numComplete++; } } public static void main(String[] args) throws Exception { if (args.length < 1) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
} } /** Updates the sink with the given number of bytes from the buffer. */ @CanIgnoreReturnValue private Hasher update(int bytes) { try { update(scratch.array(), 0, bytes); } finally { Java8Compatibility.clear(scratch); } return this; } @Override @CanIgnoreReturnValue public Hasher putByte(byte b) { update(b); return this; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback() } private inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) = try { action(this) } finally { Disposer.dispose(this)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; public BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} public void testMultipleTearDownsHappenInOrder() throws Exception { final TearDownStack stack = buildTearDownStack(); final SimpleTearDown tearDownOne = new SimpleTearDown(); stack.addTearDown(tearDownOne); final Callback callback = new Callback() { @Override public void run() { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0)