Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,157 for bgwait (0.11 sec)

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

    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Наример, `await myfile.seek(0)` перейдет к началу файла.
        * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз.
    * `close()`: Закрыть файл.
    
    Поскольку все эти методы являются `async` методами, вам следует использовать "await" вместе с ними.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
              latch.countDown()
            }
          },
        )
        latch.await()
        assertThat(call.isCanceled()).isTrue()
        assertThat(exceptionRef.get()).isNotNull()
      }
    
      @Test
      fun timeoutProcessing() {
        server.enqueue(
          MockResponse.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. fastapi/exception_handlers.py

            content={"detail": jsonable_encoder(exc.errors())},
        )
    
    
    async def websocket_request_validation_exception_handler(
        websocket: WebSocket, exc: WebSocketRequestValidationError
    ) -> None:
        await websocket.close(
            code=WS_1008_POLICY_VIOLATION, reason=jsonable_encoder(exc.errors())
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        Variadic<TFTensorType>:$results
      );
    
      let assemblyFormat = "attr-dict `:` type($results)";
    }
    
    def AwaitOp: TensorflowMlrt_Op<"await", [Pure]> {
      let summary = "Await a tensor from a !mlrt.future";
    
      let description = [{
        Await a tensor from a !mlrt.future.
    
        $future: A value of type !mlrt.future. The underlying value must be a tensorflow tensor.
    
        $result: a tensorflow tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/interface.go

    // IsSuccess returns true if and only if "Status" is nil or Code is "Success".
    func (s *Status) IsSuccess() bool {
    	return s.Code() == Success
    }
    
    // IsWait returns true if and only if "Status" is non-nil and its Code is "Wait".
    func (s *Status) IsWait() bool {
    	return s.Code() == Wait
    }
    
    // IsSkip returns true if and only if "Status" is non-nil and its Code is "Skip".
    func (s *Status) IsSkip() bool {
    	return s.Code() == Skip
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

                    latch.countDown();
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                });
        // In the failure case, await() will timeout.
        assertTrue(latch.await(2, TimeUnit.SECONDS));
      }
    
      // TODO(cpovirk): Write a similar test that doesn't use ForkJoinPool (to run under Android)?
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

        **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    You can receive and send binary, text, and JSON data.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. cmd/metrics-resource.go

    	interfaceTxBytes  MetricName = "tx_bytes"
    	interfaceTxErrors MetricName = "tx_errors"
    
    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    	cpuIdle       MetricName = "idle"
    	cpuNice       MetricName = "nice"
    	cpuSteal      MetricName = "steal"
    	cpuLoad1      MetricName = "load1"
    	cpuLoad5      MetricName = "load5"
    	cpuLoad15     MetricName = "load15"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/x86/aenum.go

    	AMOVUPS
    	AMOVW
    	AMOVWLSX
    	AMOVWLZX
    	AMOVWQSX
    	AMOVWQZX
    	AMOVZWW
    	AMPSADBW
    	AMULB
    	AMULL
    	AMULPD
    	AMULPS
    	AMULQ
    	AMULSD
    	AMULSS
    	AMULW
    	AMULXL
    	AMULXQ
    	AMWAIT
    	ANEGB
    	ANEGL
    	ANEGQ
    	ANEGW
    	ANOPL
    	ANOPW
    	ANOTB
    	ANOTL
    	ANOTQ
    	ANOTW
    	AORB
    	AORL
    	AORPD
    	AORPS
    	AORQ
    	AORW
    	AOUTB
    	AOUTL
    	AOUTSB
    	AOUTSL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/anames.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 19.1K bytes
    - Viewed (0)
Back to top