- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,287 for scratch (0.2 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
void testCloseDoesNotThrowException() { // When & Then assertDoesNotThrow(() -> { try { emptyIterator.close(); } catch (CIFSException e) { throw new RuntimeException(e); } }, "close() should not throw any exception"); } @Test @DisplayName("remove should not throw any exception")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAddables.java
supplier = new Supplier<LongAddable>() { @Override public LongAddable get() { return new LongAdder(); } }; } catch (Throwable t) { // we really want to catch *everything* supplier = new Supplier<LongAddable>() { @Override public LongAddable get() { return new PureJavaLongAddable(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
assertArgumentNotNull("channel", channel); assertArgumentNotNull("mode", mode); try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns the size of the file. * * @param channel
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
final String url = "http://test.com/"; try { client.execute(RequestDataBuilder.newRequestData().get().url(url).build()); fail(); } catch (final MultipleCrawlingAccessException e) { // ok final Throwable[] causes = e.getCauses(); assertEquals(5, causes.length); } assertEquals(1, testListener.startCount);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
static { try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate"); DELEGATE_METHOD.setAccessible(true); } catch (SecurityException e) { throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
ClassWhichDoesNotImplementEquals orig = new ClassWhichDoesNotImplementEquals(); boolean errorNotThrown = false; try { SerializableTester.reserializeAndAssert(orig); errorNotThrown = true; } catch (AssertionFailedError error) { // expected assertContains("must be Object#equals to", error.getMessage()); } assertFalse(errorNotThrown); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
*/ public static JarFile create(final String file) { assertArgumentNotNull("file", file); try { return new JarFile(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Creates and returns a <code>JarFile</code> to read the specified JAR file. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
@Throws(IOException::class) fun flushRequest() { try { codec.flushRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
try { testEqualsUsing(factory); return; } catch (ParameterNotInstantiableException e) { paramErrors.add(e); } catch (ParameterHasNoDistinctValueException e) { distinctValueErrors.add(e); } catch (InvocationTargetException e) { instantiationExceptions.add(e); } catch (FactoryMethodReturnsNullException e) { nullErrors.add(e); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
initSessionSecurity(msg3.getMasterKey()); } this.isEstablished = true; this.state++; return out; } catch (final SmbException e) { throw e; } catch (final Exception e) { throw new SmbException(e.getMessage(), e); } } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0)