- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 682 for colored (0.06 seconds)
-
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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeResource.java
/** * Gets the type of this pipe. * * @return the type of the pipe */ int getPipeType(); /** * Create a pipe handle * * @return pipe handle, needs to be closed when finished */ SmbPipeHandle openPipe();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt
*/ open fun onClosed( webSocket: WebSocket, code: Int, reason: String, ) { } /** * Invoked when a web socket has been closed due to an error reading from or writing to the * network. Both outgoing and incoming messages may have been lost. No further calls to this * listener will be made. */ open fun onFailure( webSocket: WebSocket,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//server/share", 0, 0, 0, 0, 0L); assertTrue(h.isValid()); } @Test @DisplayName("isValid() false when tree id changed or disconnected or closed") void isValid_false_inVariousCases() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(10L, true, true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
} else { openClientSockets.add(socket) serveConnection(nextConnectionIndex++, socket, peek) } } } public override fun close() { if (closed) return closed = true if (!started) return // Nothing to shut down. val serverSocket = this.serverSocket ?: return // If this is null, start() must have failed. // Cause acceptConnections() to break out.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by * {@link StandardImmutableDirectedGraphTest}. */ @RunWith(JUnit4.class) @NullUnmarked public class StandardImmutableGraphAdditionalTest { @Test public void immutableGraph() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
import com.google.common.collect.testing.features.CollectionSize; import java.lang.reflect.Method; import java.util.List; import java.util.Set; import org.junit.Ignore; /** * Tests for {@code Multiset.elementSet()} not covered by the derived {@code SetTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/RangeSet.java
* ignore empty ranges and coalesce connected ranges. For example: * * {@snippet : * RangeSet<Integer> rangeSet = TreeRangeSet.create(); * rangeSet.add(Range.closed(1, 10)); // {[1, 10]} * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)} * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
server.enqueue(MockResponse(body = "def")) val request = Request(server.url("/")) val call = client.newCall(request) val response1 = call.execute() val cloned = call.clone() val response2 = cloned.execute() assertThat("abc").isEqualTo(response1.body.string()) assertThat("def").isEqualTo(response2.body.string()) } @Test @Flaky fun testMockWebserverRequest() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (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) {
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0)