- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 905 for iofail (0.14 sec)
-
guava-tests/test/com/google/common/base/SuppliersTest.java
// call get() twice to make sure that memoization doesn't interfere // with throwing the exception for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException"); } catch (NullPointerException e) { // this is what should happen } } } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
// call get() twice to make sure that memoization doesn't interfere // with throwing the exception for (int i = 0; i < 2; i++) { try { memoizedSupplier.get(); fail("failed to throw NullPointerException"); } catch (NullPointerException e) { // this is what should happen } } } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction) { checkNotNull(comparator); checkNotNull(keyFunction); checkNotNull(valueFunction); /* * We will always fail if there are duplicate keys, and the keys are always sorted by * the Comparator, so the entries can come in an arbitrary order -- so we report UNORDERED. */ return Collector.of(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertTrue(result); assertFalse(echoResponse.isVerifyFailed()); verify(mockDigest).verify(buffer, 0, 100, 0, echoResponse); } @Test @DisplayName("Should fail signature verification when digest verification fails") void testVerifySignatureFailed() throws Exception { byte[] buffer = new byte[1024]; echoResponse.setDigest(mockDigest);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} @Override public Artifact find(Artifact artifact) { File artifactFile = new File(getBasedir(), pathOf(artifact)); // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal // with multiple local repository implementations yet. artifact.setFile(artifactFile); return artifact; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java
new Exception("Build failed due to log statements with a higher severity than allowed. " + "Fix the logged issues or remove flag --fail-on-severity (-fos).")); } logResult(event.getSession()); logStats(event.getSession()); infoLine('-'); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Dec 13 15:40:45 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) { assertFalse("Expected no more permutations, but there was one.", permutations.hasNext()); try { permutations.next(); fail("Expected NoSuchElementException."); } catch (NoSuchElementException expected) { } } private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Exception; public static Object evaluate(String, Object, boolean) throws Exception; private static ClassMap getClassMap(Class); static void <clinit>(); } org/codehaus/plexus/util/IOUtil.class package org.codehaus.plexus.util; public final synchronized class IOUtil { private static final int DEFAULT_BUFFER_SIZE = 4096; private void IOUtil(); public static void copy(java.io.InputStream, java.io.OutputStream) throws java.io.IOException; public static void copy(java.io.InputStream, java.io.OutputStream, int)...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 164.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
* * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too * long, streams created while we await the pong will reuse broken connections and inevitably * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS * handshakes will be required. * * The deadline is currently hardcoded. We may make this configurable in the future! */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertTrue(file.canRead(), "File should be readable"); // Try to write (should fail) assertThrows(SmbException.class, () -> { try (OutputStream out = file.openOutputStream(false)) { out.write("Should fail".getBytes("UTF-8")); } }, "Writing to read-only file should throw exception");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0)