Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 136 for CLOSING (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * an open file (for cached responses). Failing to close the response body will leak resources and
     * may ultimately cause the application to slow down or crash.
     *
     * Both this class and [Response] implement [Closeable]. Closing a response simply
     * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you
     * must close this body by calling any of the following methods:
     *
     * * `Response.close()`
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/SmbPipeHandle.java

         * @throws CIFSException if an error occurs getting the output stream
         */
        OutputStream getOutput() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if an error occurs closing the handle
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Tests whether this file descriptor is open and valid.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        assertThat(client.closed).isFalse()
        server.processNextFrame() // Read client closing, send server close.
        server.listener.assertClosing(1000, "Hello!")
        server.webSocket!!.finishReader()
        server.webSocket!!.close(1000, "Goodbye!")
        client.processNextFrame() // Read server closing, close connection.
        taskFaker.runTasks()
        client.listener.assertClosing(1000, "Goodbye!")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        public void close() {
            if (connected && rpcHandle != null) {
                try {
                    log.debug("Closing witness RPC client");
                    rpcHandle.close();
                    connected = false;
                    rpcHandle = null;
                } catch (Exception e) {
                    log.error("Error closing witness RPC client", e);
                }
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/MockWitnessService.java

            running.set(false);
    
            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

            direction.directFrameworkDebug(fessConfig.isFrameworkDebug()); // basically false
    
            // you can add your own process when your application is booting or closing
            direction.directCurtainBefore(createCurtainBeforeHook());
            direction.directCurtainFinally(createCurtainFinallyHook()); // when destroy
    
            direction.directSecurity(createSecurityResourceProvider());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

        @Nullable
        Path getPath();
    
        /**
         * Creates a new input stream to read the source contents.
         * Each call creates a fresh stream starting from the beginning.
         * The caller is responsible for closing the returned stream.
         *
         * @return a new input stream positioned at the start of the content
         * @throws IOException if the stream cannot be created or opened
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. internal/lock/lock_test.go

    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    		t.Fatal(err)
    	}
    
    	_, err = newRLockedFile(nil)
    	if err != os.ErrInvalid {
    		t.Fatal("Unexpected error", err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbPipeHandleTest.java

            assertEquals(mockOutputStream, smbPipeHandle.getOutput(), "getOutput() should return the correct output stream.");
        }
    
        /**
         * Tests related to the lifecycle management of the handle (e.g., closing).
         */
        @Nested
        public class LifecycleManagementTest {
    
            /**
             * Verifies that the close method can be called without throwing an exception.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/server-sent-events.md

    ## Technical Details { #technical-details }
    
    FastAPI implements some SSE best practices out of the box.
    
    * Send a **"keep alive" `ping` comment** every 15 seconds when there hasn't been any message, to prevent some proxies from closing the connection, as suggested in the [HTML specification: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes).
    * Set the `Cache-Control: no-cache` header to **prevent caching** of the stream.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top