Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for CLOSING (0.05 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * successfully cancelled step will immediately start closing all objects captured for later closing
     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
     *
     * Each {@code ClosingFuture} pipeline must be ended. To end a pipeline, decide whether you want to
     * close the captured objects automatically or manually.
     *
     * <h4>Automatically closing</h4>
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  2. fastapi/applications.py

                        handlers=exception_handlers,
                        debug=debug,
                    ),
                    # Add FastAPI-specific AsyncExitStackMiddleware for closing files.
                    # Before this was also used for closing dependencies with yield but
                    # those now have their own AsyncExitStack, to properly support
                    # streaming responses while keeping compatibility with the previous
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(requestA.exchangeIndex).isEqualTo(0)
        val requestB = server.takeRequest()
        assertThat(requestB.exchangeIndex).isEqualTo(1)
      }
    
      /**
       * We had a bug where we weren't closing Gzip streams on redirects.
       * https://github.com/square/okhttp/issues/441
       */
      @Test
      fun gzipWithRedirectAndConnectionReuse() {
        server.enqueue(
          MockResponse
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  4. fastapi/routing.py

                    status_code=400, detail="There was an error parsing the body"
                )
                raise http_error from e
    
            # Solve dependencies and run path operation function, auto-closing dependencies
            errors: list[Any] = []
            async_exit_stack = request.scope.get("fastapi_inner_astack")
            assert isinstance(async_exit_stack, AsyncExitStack), (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top