Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,181 for Await (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/ConcurrentSpecificationTest.groovy

            def latch = new CountDownLatch(1)
            Runnable action = Mock()
    
            when:
            operation.start {
                action.run()
                latch.await()
            }
    
            then:
            1 * action.run() >> { operation.callbackLater { latch.await() } }
    
            cleanup:
            latch.countDown()
        }
    
        @FailsWith(TooManyInvocationsError)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:50 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

      // CHECK-NOT: tf_mlrt.await
      // CHECK-NEXT: [[t2:%.*]] = tf_mlrt.executeop([[t]]#0, [[t]]#1)
      // CHECK-NEXT: [[t3:%.*]] = tf_mlrt.await [[f2]]
      // CHECK-NEXT: return [[t2]], [[t3]]
      %t0 = tf_mlrt.await %f0
      %t1 = tf_mlrt.await %f1
      %t2 = tf_mlrt.executeop(%t0, %t1) {node_def = "AddV2", op_key = 0 : i32} : (!tf_mlrt.tensor, !tf_mlrt.tensor) -> (!tf_mlrt.tensor)
      %t3 = tf_mlrt.await %f2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. docs_src/websockets/tutorial003_py39.py

                await connection.send_text(message)
    
    
    manager = ConnectionManager()
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    @app.websocket("/ws/{client_id}")
    async def websocket_endpoint(websocket: WebSocket, client_id: int):
        await manager.connect(websocket)
        try:
            while True:
                data = await websocket.receive_text()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. docs/en/docs/js/termynal.js

                }
    
                else if (type == 'progress') {
                    await this.progress(line);
                    await this._wait(delay);
                }
    
                else {
                    this.container.appendChild(line);
                    await this._wait(delay);
                }
    
                line.removeAttribute(`${this.pfx}-cursor`);
            }
            this.addRestart()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial003.py

                await connection.send_text(message)
    
    
    manager = ConnectionManager()
    
    
    @app.get("/")
    async def get():
        return HTMLResponse(html)
    
    
    @app.websocket("/ws/{client_id}")
    async def websocket_endpoint(websocket: WebSocket, client_id: int):
        await manager.connect(websocket)
        try:
            while True:
                data = await websocket.receive_text()
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. docs_src/websockets/tutorial002_an_py310.py

    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
                await websocket.send_text(f"Query parameter q is: {q}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. docs_src/websockets/tutorial002_py310.py

        cookie_or_token: str = Depends(get_cookie_or_token),
    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
                await websocket.send_text(f"Query parameter q is: {q}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. docs_src/websockets/tutorial002_an.py

    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
                await websocket.send_text(f"Query parameter q is: {q}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial002_an_py39.py

    ):
        await websocket.accept()
        while True:
            data = await websocket.receive_text()
            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
                await websocket.send_text(f"Query parameter q is: {q}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. .github/workflows/trusted-partners.yml

                const username = context.payload.pull_request.user.login;
                const domain = await script.get_email_domain({github, username});
                switch(domain) {
                case "intel.com":
                  console.log(await script.filter({github, context, domain}));
                  break;
                case "apple.com":
                  console.log(await script.filter({github, context, domain}));
                  break;
                case "nvidia.com":
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 14:49:29 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top