- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 1,922 for Try (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
toDelete.add(generatedFile.toAbsolutePath()); } @PreDestroy private void doDeleteFiles() { for (Path file : toDelete) { try { Files.delete(file); } catch (IOException e) { // ignore, we did our best... } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
targetList.setTotalHits(totalHitsValue); targetList.setTookInMillis(response.getTook().getMillis()); if (totalHitsValue != 0) { try { for (final SearchHit searchHit : hits.getHits()) { final OpenSearchAccessResult target = new OpenSearchAccessResult();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.isEqualTo(expected); } } public void testValueOfLong() { for (long value : TEST_LONGS) { boolean expectSuccess = value >= 0; try { assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) { assertThat(expectSuccess).isFalse(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
internal invocation viewer. """ import collections import os import re import subprocess import sys from junitparser import JUnitXml result = JUnitXml() try: files = subprocess.check_output( ["grep", "-rlE", '(failures|errors)="[1-9]', sys.argv[1]] ) except subprocess.CalledProcessError as e: print("No failures found to log!") exit(0)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 19:00:37 UTC 2023 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java
final CrawlerContext crawlerContext = (CrawlerContext) objs[0]; final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1]; final CrawlingAccessException cae = (CrawlingAccessException) objs[2]; try { Throwable t = cae; if (t instanceof final MultipleCrawlingAccessException mcae) { final Throwable[] causes = mcae.getCauses(); if (causes.length > 0) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
public void testPutAll_supportedNothing() { getMap().putAll(emptyMap()); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutAll_unsupportedNothing() { try { getMap().putAll(emptyMap()); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_supportedNonePresent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
URL baseUrl = tempFile.getParentFile().toURI().toURL(); URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl}); ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(loader); URL url = Resources.getResource(tempFile.getName()); String text = Resources.toString(url, UTF_8);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
* forward to this implementation. * * @since 7.0 */ @Override protected boolean standardContains(@CheckForNull Object object) { try { // any ClassCastExceptions and NullPointerExceptions are caught @SuppressWarnings({"unchecked", "nullness"}) SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherTest.kt
val ready = CountDownLatch(2) val waiting = CountDownLatch(1) client = client.newBuilder() .addInterceptor( Interceptor { chain: Interceptor.Chain? -> try { ready.countDown() waiting.await() } catch (e: InterruptedException) { throw AssertionError() } throw IOException() },
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 12.7K bytes - Viewed (0)