- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 1,053 for IOException (0.07 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
val plan0 = routePlanner.addPlan() plan0.tcpConnectThrowable = IOException("boom 0!") val plan1 = routePlanner.addPlan() plan1.tcpConnectThrowable = IOException("boom 1!") taskRunner.newQueue().execute("connect") { assertFailsWith<IOException> { finder.find() }.also { expected -> assertThat(expected).hasMessage("boom 0!")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java
import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.io.IOException; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5) @Measurement(iterations = 7) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @State(Scope.Thread) @Fork(value = 1)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java
import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.io.IOException; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5) @Measurement(iterations = 7) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @State(Scope.Thread) @Fork(value = 1)
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Apr 12 20:25:06 GMT 2021 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
return null; } return target.toFile(); } catch (IOException | XMLStreamException | ModelBuilderException e) { throw new TransformationFailedException(e); } } private String mayUpdate() throws IOException, XMLStreamException, ModelBuilderException { String result; ModelSource src = sourcePathProvider.get();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMultiset(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); int distinctElements = stream.readInt();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
public FileVisitResult visitFileFailed(final Path file, final IOException e) throws IOException { if (e != null) { logger.warn("I/O exception on {}", file, e); } return FileVisitResult.CONTINUE; } @Override public FileVisitResult postVisitDirectory(final Path dir, final IOException e) throws IOException { if (e != null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* @param length the number of SIDs to resolve * @throws IOException if there is an error resolving the SIDs */ static public void resolveSids(final String authorityServerName, final NtlmPasswordAuthentication auth, SID[] sids, final int offset, final int length) throws IOException { final ArrayList list = new ArrayList(sids.length); int si;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes; import java.io.IOException; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import okio.BufferedSink; public final class PostStreaming {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 2.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java
import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; /** * A race between Lucene Expressions, Painless, and a hand optimized script
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 13:45:50 GMT 2021 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenThrow(new SmbException("boom")); IOException ex = assertThrows(IOException.class, stream::available, "Should convert SmbException to IOException"); assertTrue(ex.getMessage().contains("boom")); } @Test @DisplayName("ensureTreeConnected delegates to handle")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)