- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 244 for CLOSED (0.51 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
val partAbc = parts.nextPart()!! val partMno = parts.nextPart()!! assertFailsWith<IllegalStateException> { partAbc.body.request(20) }.also { expected -> assertThat(expected).hasMessage("closed") } assertThat(partMno.body.readUtf8()).isEqualTo("mnop") assertThat(parts.nextPart()).isNull() } @Test fun `cannot read part after calling close`() { val multipart = """
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java
future.completeExceptionally(e); } } @Override public void onClosed(@NotNull EventSource eventSource) { future.completeExceptionally(new IllegalStateException("closed")); } @Override public void onFailure(@NotNull EventSource eventSource, @Nullable Throwable t, @Nullable Response response) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
/** * Get the next set of changes * * Will block until the server returns a set of changes that match the given filter. The file will be automatically * opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
final boolean timeout = ex instanceof SocketTimeoutException || msg != null && msg.equals("Read timed out"); final boolean closed = msg != null && msg.equals("Socket closed"); if (closed) { log.trace("Remote closed connection"); } else if (timeout) { log.debug("socket timeout in non peek state", ex); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt
} private companion object { /** * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response * isn't transmitted because the connection is closed before this response is returned. */ private val DEAD_LETTER = MockResponse(code = HTTP_UNAVAILABLE) private val logger = Logger.getLogger(QueueDispatcher::class.java.name) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 14 16:09:26 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
} catch (final IOException e) { throw new IORuntimeException(e); } } /** * Gets a byte array from an {@link InputStream}. * <p> * The input stream is not closed. * </p> * * @param is the input stream (must not be {@literal null}) * @return the byte array */ public static final byte[] getBytes(final InputStream is) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
* Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */ public static final int STATUS_SERVER_END_CLOSED = 4; private int available; /** * Constructs a TransPeekNamedPipeResponse with the specified configuration. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */ @Override public synchronized int read(final byte[] b, int off, int len) throws IOException { if (len == 0) { return 0; } int tot = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@NullUnmarked public class QuantilesBenchmark { private static final ContiguousSet<Integer> ALL_DECILE_INDEXES = ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers()); @Param({"10", "100", "1000", "10000", "100000"}) int datasetSize; @Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.2K bytes - Viewed (0)