- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 2,264 for Bratch (0.12 sec)
-
android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java
checkNotNull(callable); checkNotNull(timeoutUnit); try { return callable.call(); } catch (RuntimeException e) { throw new UncheckedExecutionException(e); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throw new ExecutionException(e); } catch (Error e) { throw new ExecutionError(e); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
// 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()); assertFalse(task.isCancelled()); // Finish the task by unblocking the task latch. Then wait for the // listener to be called by blocking on the listener latch. taskLatch.countDown();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
}); return null; }); try { badWordService.store(entity); suggestHelper.addBadWord(entity.getSuggestWord(), false); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
installArtifact(artifact); saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName())); } } catch (final ValidationErrorException e) { throw e; } catch (final Exception e) { throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
"Java7ApiChecker", }) @IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 11 14:30:06 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
@Override protected SortedMap<K, V> makeEitherMap() { try { return makePopulatedMap(); } catch (UnsupportedOperationException e) { return makeEmptyMap(); } } public void testTailMapWriteThrough() { SortedMap<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) { return; } if (map.size() < 2 || !supportsPut) { return;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4()); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
long defaultStackSize = 0; thread = bigThreadConstructor.newInstance( (ThreadGroup) null, finalizer, threadName, defaultStackSize, inheritThreadLocals); } catch (Throwable t) { logger.log( Level.INFO, "Failed to create a thread without inherited thread-local values", t); } } if (thread == null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0)