Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 916 for close1 (0.08 sec)

  1. docs/en/docs/tutorial/request-files.md

        * E.g., `await myfile.seek(0)` would go to the start of the file.
        * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.
    * `close()`: Closes the file.
    
    As all these methods are `async` methods, you need to "await" them.
    
    For example, inside of an `async` *path operation function* you can get the contents with:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        the certificate that follows and the last certificate is signed by a trusted root.
    
     *  Fix: Don't lose HTTP/2 flow control bytes when incoming data races with a stream close. If this
        happened enough then eventually the connection would stall.
    
     *  Fix: Acknowledge and apply inbound HTTP/2 settings atomically. Previously we had a race where we
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), OPEN));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(a.getElement(), OPEN, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
            sortedMultiset.subMultiset(b.getElement(), CLOSED, a.getElement(), CLOSED));
        testEmptyRangeSubMultiset(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                ioe.initCause(root);
            }
            return ioe;
        }
    
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
            try {
                SmbFileHandleImpl h = this.handle;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

    With that you can connect the WebSocket and then send and receive messages:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## Handling disconnections and multiple clients
    
    When a WebSocket connection is closed, the `await websocket.receive_text()` will raise a `WebSocketDisconnect` exception, which you can then catch and handle like in this example.
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="79-81"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ContiguousSet.java

       * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code
       * Range.closed(lower, upper)}.)
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

        Stopwatch stopwatch = Stopwatch.createStarted();
    
        String result = proxy.sleepThenReturnInput("x");
    
        assertThat(result).isEqualTo("x");
        assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS));
        assertThat(target.finished).isTrue();
      }
    
      public void testNewProxy_goodMethodWithNotEnoughTime() throws Exception {
        SampleImpl target = new SampleImpl(9999);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  10. tests/test_ws_router.py

        await websocket.accept()
        await websocket.send_text("Hello, world!")
        await websocket.close()
    
    
    @router.websocket_route("/router")
    async def routerindex(websocket: WebSocket):
        await websocket.accept()
        await websocket.send_text("Hello, router!")
        await websocket.close()
    
    
    @prefix_router.websocket_route("/")
    async def routerprefixindex(websocket: WebSocket):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top