C++20: An (Almost) Complete Overview
C++20: An (Almost) Complete Overview September 15th 2020 Marc Grégoire Software Architect marc.gregoire@nikon.com2 Marc Grégoire Belgium Software architect for Nikon Metrology Microsoft0 码力 | 85 页 | 512.18 KB | 5 月前3PyTorch Release Notes
For more information, refer to the nvidia-docker documentation. Note: Starting in Docker 19.03, complete the steps below. The method implemented in your system depends on the DGX OS version that you installed 23.07 is available on NGC. Contents of the PyTorch container This container image contains the complete source of the version of PyTorch in /opt/ pytorch. It is prebuilt and installed in the default Python all R418, R440, R460, and R520 drivers, which are not forward- compatible with CUDA 12.1. For a complete list of supported drivers, see the CUDA Application Compatibility topic. For more information, see0 码力 | 365 页 | 2.94 MB | 1 年前3RxJS Tutorial
from a dom element or an Http request, etc. Observer It is an object with next(), error() and complete() methods, that will get called when there is interaction to the with the observable i.e. the source methods that are notified, next(): This method will send values like a number, string, object etc. complete(): This method will not send any value and indicates the observable as completed. error(): This subscriber.complete(); } catch(e){ subscriber.error(e); } }); observer.subscribe(x => console.log(x), (e)=>console.log(e), ()=>console.log("Observable is complete")); In the0 码力 | 106 页 | 1.56 MB | 1 年前3Working with Asynchrony Generically: A Tour of C++ Executors
which returns new sender. when_all(senders...) → sender … completes when all the input senders complete. on(scheduler, sender) → sender … starts the input sender in the context of the input scheduler pool picks up the work and executes it Inner-most receiver is notified that the work is complete35 OPERATIONS EXECUTE OUTSIDE-IN when_all then schedule Every adaptor has a chance to run auto compute = [=](int i) -> unifex::task{ co_await ex::schedule(sched) | unifex::complete_inline(); co_return compute_intensive(i); }; ex::sender auto work = ex::when_all(compute(0) 0 码力 | 121 页 | 7.73 MB | 5 月前3websockets Documentation Release 5.0
connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( hello('ws://localhost:8765')) And here’s an echo server: #!/usr/bin/env python import asyncio async for message in websocket: await websocket.send(message) asyncio.get_event_loop().run_until_complete( websockets.serve(echo, 'localhost', 8765)) asyncio.get_event_loop().run_forever() Do you like {greeting}") start_server = websockets.serve(hello, 'localhost', 8765) asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() On the server side, websockets executes the0 码力 | 56 页 | 245.43 KB | 1 年前3websockets Documentation Release 6.0
connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( hello('ws://localhost:8765')) And here’s an echo server: #!/usr/bin/env python import asyncio async for message in websocket: await websocket.send(message) asyncio.get_event_loop().run_until_complete( websockets.serve(echo, 'localhost', 8765)) asyncio.get_event_loop().run_forever() Do you like {greeting}") start_server = websockets.serve(hello, 'localhost', 8765) asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() On the server side, websockets executes the0 码力 | 58 页 | 253.08 KB | 1 年前3Guzzle PHP 5.3 Documentation
(blocking) requests when the future request option is not speci- fied. This means that the request will complete immediately, and if an error is encountered, a GuzzleHttp\Exception\RequestException will be thrown event listeners to add to each request’s before event. • complete: Callable or array representing the event listeners to add to each request’s complete event. • error: Callable or array representing the event Callable or array representing the event listeners to add to each request’s end event. The “before”, “complete”, “error”, and “end” event options accept a callable or an array of associative arrays where each0 码力 | 63 页 | 275.75 KB | 10 月前3Guzzle PHP 5.3 Documentation
(blocking) requests when the future request option is not specified. This means that the request will complete immediately, and if an error is encountered, a GuzzleHttp\Exception\RequestException will be thrown event listeners to add to each request’s before event. complete: Callable or array representing the event listeners to add to each request’s complete event. error: Callable or array representing the event Callable or array representing the event listeners to add to each request’s end event. The “before”, “complete”, “error”, and “end” event options accept a callable or an array of associative arrays where each0 码力 | 72 页 | 312.62 KB | 10 月前3The Vitess 11.0 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 — Complete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 — Complete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . benchmark numbers to justify why the change was implemented in this way. • Comments – // Prefer complete sentences when possible. – Leave a space after the comment marker //. If your reviewer leaves comments0 码力 | 481 页 | 3.14 MB | 1 年前3websockets Documentation Release 4.0
connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( hello('ws://localhost:8765')) And here’s an echo server: #!/usr/bin/env python import asyncio async for message in websocket: await websocket.send(message) asyncio.get_event_loop().run_until_complete( websockets.serve(echo, 'localhost', 8765)) asyncio.get_event_loop().run_forever() Do you like format(greeting)) start_server = websockets.serve(hello, 'localhost', 8765) asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() On the server side, the handler coroutine0 码力 | 48 页 | 224.70 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100