- Sort Score
- Num 10 results
- Language All
Results 1811 - 1820 of 2,683 for batch (0.02 seconds)
-
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /** * Asserts that an escaper escapes the given character into the expected string. * * @param escaper the non-null escaper to testCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
* see if we have the modifyThread permission without catching an exception? */ try { currentThread.setName(threadName); return true; } catch (SecurityException e) { return false; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /** * Asserts that an escaper escapes the given character into the expected string. * * @param escaper the non-null escaper to testCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
.testEquals(); } private Method getTestSubscriberMethod(String name) { try { return getClass().getDeclaredMethod(name, Object.class); } catch (NoSuchMethodException e) { throw new AssertionError(); } } /** * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe"))); verify(logger).debug("Toolchain {} doesn't match required property: {}", toolchain, "name"); } @Test void testEquals() { ToolchainModel tm1 = new ToolchainModel(); tm1.setType("jdk"); tm1.addProvide("version", "1.5");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
*/ protected String decode(final String host) { if (host.indexOf('%') == -1) { return host; } try { return URLDecoder.decode(host, encoding); } catch (final UnsupportedEncodingException e) { return host; } } /** * Converts the given host string to ASCII using IDN. * * @param host the host string to convertCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
add(buildCryptoSx(client)) // 521 - server down } add(buildChantra(client)) } private fun getByIp(host: String): InetAddress = try { InetAddress.getByName(host) } catch (e: UnknownHostException) { // unlikely throw RuntimeException(e) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractLoadingCache.java
protected AbstractLoadingCache() {} @CanIgnoreReturnValue // TODO(b/27479612): consider removing this? @Override public V getUnchecked(K key) { try { return get(key); } catch (ExecutionException e) { throw new UncheckedExecutionException(e.getCause()); } } @Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
// Simple OID format: numbers separated by dots (at least one dot) private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+"); @Test @DisplayName("Constant values match expected OIDs") void constantValues() { assertEquals("1.3.6.1.5.5.2", SpnegoConstants.SPNEGO_MECHANISM, "SPNEGO_MECHANISM mismatch");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.7K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
*/ @Test public void testModularOption() { String[] formatted = JavaPathType.patchModule("my.module").option(paths()); assertEquals(2, formatted.length); assertEquals("--patch-module", formatted[0]); assertEquals(toPlatformSpecific("my.module=src/foo.java:src/bar.java"), formatted[1]); } /** * Tests the {@code equals} and {@code hashCode} methods of options. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (0)