- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,254 for Try (0.01 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java
groovyImplicitImportPackages.add("groovy.util."); groovyImplicitTypes.add("java.math.BigDecimal"); groovyImplicitTypes.add("java.math.BigInteger"); // check that groovy is visible. try { getClass().getClassLoader().loadClass("groovy.lang.Closure"); } catch (ClassNotFoundException e) { throw UncheckedException.throwAsUncheckedException(e); } } /**
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 16 15:20:01 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
} } DependencyRequest depRequest = new DependencyRequest(collect, filter); depRequest.setTrace(trace); DependencyNode node; try { collect.setTrace(RequestTrace.newChild(trace, depRequest)); node = repoSystem.collectDependencies(session, collect).getRoot(); result.setDependencyGraph(node);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.2K bytes - Click Count (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);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
assertEquals(0, sb2.length()); try { joiner.appendTo(NASTY_APPENDABLE, set); } catch (IOException e) { throw new AssertionError(e); } try { joiner.appendTo(NASTY_APPENDABLE, set.iterator()); } catch (IOException e) { throw new AssertionError(e); } try { joiner.appendTo(NASTY_APPENDABLE, array);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
boolean ready = true; final List<Object> eventsReceived = new ArrayList<>(); @Subscribe public void listenForStrings(String event) { eventsReceived.add(event); ready = false; try { bus.post(SECOND); } finally { ready = true; } } @Subscribe public void listenForDoubles(Double event) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
.filter(m -> { String baseName = m.getName().substring(5 /* merge */); String entity = baseName.substring(baseName.indexOf('_') + 1); try { Type returnType = m.getParameterTypes()[0] .getMethod("get" + entity) .getGenericReturnType();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.8K bytes - Click Count (0) -
cmd/shared-lock.go
select { case <-ctx.Done(): return case <-lkctx.Context().Done(): // The context of the lock is canceled, this can happen // if one lock lost quorum due to cluster instability // in that case, try to lock again. break keepLock case ld.lockContext <- lkctx: // Send the lock context to anyone asking for it } } } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 13 09:26:38 GMT 2023 - 2.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
try { multiset.add(entry.getElement(), entry.getCount()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.add(entry.getElement()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
var random: String? = null lateinit var currentThread: Thread private val loggerHandler = object : Handler() { override fun publish(record: LogRecord) { // Try to avoid multi threading issues with concurrent requests if (Thread.currentThread() != currentThread) { return }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 10.9K bytes - Click Count (0)