- Sort Score
- Num 10 results
- Language All
Results 2121 - 2130 of 2,371 for Try (0.02 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
assertThat(keyType.getType().toString()).isEqualTo("java.util.List<K1>"); } private static Type genericReturnType(Class<?> cls, String methodName) { try { return cls.getMethod(methodName).getGenericReturnType(); } catch (Exception e) { throw new RuntimeException(e); } } public void testTwoStageResolution() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
CyclicBarrier firstBarrier = new CyclicBarrier(2); CyclicBarrier secondBarrier = new CyclicBarrier(2); AtomicBoolean shouldWait = new AtomicBoolean(true); Runnable task = () -> { try { if (shouldWait.get()) { firstBarrier.await(); secondBarrier.await(); } } catch (Exception e) { throw new RuntimeException(e);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectSpliterators.java
this.holder = t; } @Override public boolean tryAdvance(Consumer<? super T> action) { while (fromSpliterator.tryAdvance(this)) { try { // The cast is safe because tryAdvance puts a T into `holder`. T next = uncheckedCastNullableTToT(holder); if (predicate.test(next)) { action.accept(next);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
CyclicBarrier firstBarrier = new CyclicBarrier(2); CyclicBarrier secondBarrier = new CyclicBarrier(2); AtomicBoolean shouldWait = new AtomicBoolean(true); Runnable task = () -> { try { if (shouldWait.get()) { firstBarrier.await(); secondBarrier.await(); } } catch (Exception e) { throw new RuntimeException(e);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
assertThat(keyType.getType().toString()).isEqualTo("java.util.List<K1>"); } private static Type genericReturnType(Class<?> cls, String methodName) { try { return cls.getMethod(methodName).getGenericReturnType(); } catch (Exception e) { throw new RuntimeException(e); } } public void testTwoStageResolution() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
fastapi/_compat/v2.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 16.7K bytes - Click Count (0) -
fastapi/openapi/models.py
from pydantic import ( AnyUrl, BaseModel, Field, GetJsonSchemaHandler, ) from typing_extensions import TypedDict from typing_extensions import deprecated as typing_deprecated try: import email_validator assert email_validator # make autoflake ignore the unused import from pydantic import EmailStr except ImportError: # pragma: no cover
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(ctx.getConfig()).thenReturn(config); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getNameServiceClient()).thenReturn(nsc); } private static URL smbUrl(String spec) { try { return new URL(null, spec, SMB_HANDLER); } catch (Exception e) { throw new AssertionError(e); } } private SmbResourceLocatorImpl locator(String spec) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
dataMap.put("hostname", systemHelper.getHostname()); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Postbox postbox = ComponentUtil.getComponent(Postbox.class); try { TestmailPostcard.droppedInto(postbox, postcard -> { postcard.setFrom(fessConfig.getMailFromAddress(), fessConfig.getMailFromName()); postcard.addReplyTo(fessConfig.getMailReturnPath());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 05:54:31 GMT 2026 - 27.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
// first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed // to propagate immediately. Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0)