Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 893 for lose (0.03 sec)

  1. src/main/java/jcifs/SmbTreeHandle.java

         * @return the active configuration
         */
        Configuration getConfig();
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Checks whether the tree is currently connected
         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          )
    
        val part = parts.nextPart()!!
        parts.close()
    
        assertFailsWith<IllegalStateException> {
          part.body.request(10)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
      }
    
      @Test fun `cannot call nextPart after calling close`() {
        val parts =
          MultipartReader(
            boundary = "simple boundary",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              }
            }
            assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
          }
        } finally {
          Security.removeProvider("Conscrypt")
          client.close()
        }
      }
    
      @Test
      fun testConscryptRequestLocalhostInsecure() {
        try {
          Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1)
    
          val clientCertificates =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        @Override
        public void close() throws IOException {
            try {
                super.close();
            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClient()
    
      @AfterEach internal fun tearDown() {
        factory.close()
      }
    
      @Test fun nonRetryableIOException() {
        val exception = IOException("Non-handshake exception")
        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @DisplayName("disconnect throws IOException when underlying close fails")
        void disconnect_throwsIOException() throws Exception {
            doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true);
            java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.disconnect(true, true));
            assertTrue(ex.getMessage().contains("close"));
            verify(transport).disconnect(true, true);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. prepare_stmt.go

    	}
    
    	return nil, ErrInvalidDB
    }
    
    // Close closes all prepared statements in the store
    func (db *PreparedStmtDB) Close() {
    	db.Mux.Lock()
    	defer db.Mux.Unlock()
    
    	for _, key := range db.Stmts.Keys() {
    		db.Stmts.Delete(key)
    	}
    }
    
    // Reset Deprecated use Close instead
    func (db *PreparedStmtDB) Reset() {
    	db.Close()
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     */
    package mockwebserver3
    
    /**
     * An adverse action to take on a socket, intended to exercise failure modes in the calling code.
     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
      public class CloseSocket(
        public val closeSocket: Boolean = true,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/TestByteSource.java

      private final class In extends TestInputStream {
    
        In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
          inputStreamClosed = true;
          super.close();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/TestByteSource.java

      private final class In extends TestInputStream {
    
        In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
          inputStreamClosed = true;
          super.close();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top