Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 950 for Closed (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

          .assertSuccessful()
          .assertCode(200)
    
        println("server1.requestCount ${server1.requestCount}")
        assertThat(server1.requestCount).isEqualTo(1)
    
        // Close the proxy server
        if (cleanClose) {
          server1.close()
        }
    
        // Now redirect with DNS to proxyServer2
        // Then redirect socket connection to server2
        dns["myproxy"] = listOf(proxyServer2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                // Disconnect existing transport
                SmbTransport oldTransport = channel.getTransport();
                if (oldTransport != null) {
                    try {
                        oldTransport.close();
                    } catch (Exception e) {
                        log.debug("Error disconnecting old transport", e);
                    }
                }
    
                // Create new transport
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. interfaces.go

    }
    
    // Rows rows interface
    type Rows interface {
    	Columns() ([]string, error)
    	ColumnTypes() ([]*sql.ColumnType, error)
    	Next() bool
    	Scan(dest ...interface{}) error
    	Err() error
    	Close() error
    }
    
    type ErrorTranslator interface {
    	Translate(err error) error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

            dns = fakeDns
          }
    
      @BeforeEach
      fun setup() {
        Authenticator.setDefault(recordingAuthenticator)
      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    
      @Test
      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
        val route = factory.newRoute()
    
        val request =
          Request
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Close delegates to underlying stream")
        void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException {
            SocketInputStream sis = new SocketInputStream(mockIn);
            sis.close();
            verify(mockIn).close();
        }
    
        @Test
        @DisplayName("Read array delegates to read with offset and length")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

        val socket = Socket()
        socket.connect(serverSocket.localSocketAddress)
        val socketSource = socket.source().buffer()
    
        assertThat(socket.isHealthy(socketSource)).isTrue()
    
        serverSocket.close()
        assertThat(socket.isHealthy(socketSource)).isFalse()
      }
    
      @Test
      fun testDurationTimeUnit() {
        assertThat(checkDuration("timeout", 0, TimeUnit.MILLISECONDS)).isEqualTo(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

     *
     * @author mbechler
     */
    public class Smb2TreeDisconnectRequest extends ServerMessageBlock2Request<Smb2TreeDisconnectResponse> {
    
        /**
         * Creates a new SMB2 tree disconnect request to close a tree connection.
         *
         * @param config the CIFS configuration
         */
        public Smb2TreeDisconnectRequest(final Configuration config) {
            super(config, SMB2_TREE_DISCONNECT);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ClusterException.java

    import java.util.Collections;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         */
        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
                    log.debug("Closing witness RPC client");
                    rpcHandle.close();
                    connected = false;
                    rpcHandle = null;
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top