- Sort Score
- Result 10 results
- Languages All
Results 1381 - 1390 of 1,808 for try (0.08 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
return false } if (signingCert.basicConstraints < minIntermediates) { return false // The signer can't have this many intermediates beneath it. } return try { toVerify.verify(signingCert.publicKey) true } catch (verifyFailed: GeneralSecurityException) { false } } override fun hashCode(): Int = trustRootIndex.hashCode()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
* test code tidy and is used where unit‑testing logic relies on * internally stored data. */ private static Object getPrivateField(Object target, String name) { try { java.lang.reflect.Field f = target.getClass().getDeclaredField(name); f.setAccessible(true); return f.get(target); } catch (Exception e) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
/** * Test that NbtException can be caught as a CIFSException. */ @Test @DisplayName("NbtException should be catchable as CIFSException") void testCatchableAsCIFSException() { try { throw new NbtException(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR); } catch (CIFSException e) { assertTrue(e instanceof NbtException, "Caught exception should be an instance of NbtException");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient(); final String url = urlQueue.getUrl(); ResponseData responseData = null; try { final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId()); final Map<String, Object> dataMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
future.addListener(listener, directExecutor()); } } } } private void processAllMustSucceedDoneFuture( int index, ListenableFuture<? extends InputT> future) { try { if (future.isCancelled()) { // Clear futures prior to cancelling children. This sets our own state but lets // the input futures keep running, as some of them may be used elsewhere.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
try { assertSubtypeTokenBeforeSupertypeToken( ImmutableList.of(TypeToken.of(CharSequence.class), TypeToken.of(String.class))); } catch (AssertionError expected) { return; } fail(); } public void testAssertSubtypeTokenBeforeSupertypeToken_duplicate() { try { assertSubtypeTokenBeforeSupertypeToken(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
protected Deque<String> create() { TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = new LinkedList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertThrows(RuntimeCIFSException.class, () -> { throw new RuntimeCIFSException("Test exception"); }); // Test exception handling behavior try { throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause")); } catch (RuntimeCIFSException e) { assertEquals("Original message", e.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0)