积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(597)Python(285)Julia(86)PyWebIO(72)Jupyter(62)区块链(56)Django(53)Celery(49)C++(39)Java(34)

语言

全部英语(491)中文(简体)(85)中文(繁体)(11)韩语(2)西班牙语(1)法语(1)日语(1)葡萄牙语(1)中文(繁体)(1)

格式

全部PDF文档 PDF(421)其他文档 其他(174)PPT文档 PPT(2)
 
本次搜索耗时 0.042 秒,为您找到相关结果约 597 个.
  • 全部
  • 后端开发
  • Python
  • Julia
  • PyWebIO
  • Jupyter
  • 区块链
  • Django
  • Celery
  • C++
  • Java
  • 全部
  • 英语
  • 中文(简体)
  • 中文(繁体)
  • 韩语
  • 西班牙语
  • 法语
  • 日语
  • 葡萄牙语
  • 中文(繁体)
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Building a Coroutine-Based Job System Without Standard Library

    to pause the video stream during the talk. 23 REVIEW C++ COROUTINE IN 10 MINS • Core concepts: promise object, coroutine handle • Keywords: co_return, co_await, co_yield(not covered here) • awaitables https://lewissbaker.github.io/2018/09/05/understanding -the-promise-type • User defined type(s) that stores whatever you want/required Promise Object Coroutine Handle • Literally a handle • Two different coroutine_handle<>, coroutine_handle<Promise> • coroutine_handle<>: resume/destroy coroutine, check status(done) • coroutine_handle<Promise>: provide access to the promise object(promise) Useful to know For convenience:
    0 码力 | 120 页 | 2.20 MB | 5 月前
    3
  • pdf文档 From Eager Futures/Promises to Lazy Continuations: Evolving an Actor Library Based on Lessons Learned from Large-Scale Deployments

    Non-blocking! writer.Close(); thread x thread yfutures/promises: “buffered channel” Promise promise; Channel::Reader reader = channel.Reader(); reader.Read(); // Blocks! Non-blocking! writer.Close(); thread x thread yfutures/promises: “buffered channel” Promise promise; Channel::Reader reader = channel.Reader(); reader.Read(); // Blocks! Close(); thread x thread yfutures/promises: “buffered channel” Promise promise; Future future = promise.Future(); reader.Read(); // Blocks! Channel::Writer writer
    0 码力 | 264 页 | 588.96 KB | 5 月前
    3
  • pdf文档 Deciphering C++ Coroutines

    } }8/55 The coroutine promise promise type9/55 Cheat Sheet - Promise Type 1 struct ReturnType / std:: coroutine_traits < ReturnType , ...> { 2 struct promise_type { 3 promise_type (T...); // opt. 4 Awaitable 1 struct Awaitable { 2 bool await_ready (); 3 auto await_suspend (std:: coroutine_handle < promise_type >); 4 auto await_resume (); 5 };12/55 Cheat Sheet: Map of Coroutine Land13/55 Get the cheat Async { struct promise_type { /* ... */ }; };34/55 Setting up the Async object template struct Async { struct promise_type { /* ... */ }; std:: coroutine_handle <promise_type > self ;
    0 码力 | 156 页 | 1.79 MB | 5 月前
    3
  • pdf文档 ThinkJS 2.0 中文文档

    ThinkJS ������ ThinkJS ���������� ����������������� ������������� �� ES6/7 ������������ JavaScript Promise��� learn-es2015 ������� ��������� �������� � express/koa �� � sails �� ThinkJS ��� ES6/7 from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); ERROR'); } } } JavaScript �� async/await ���� Promise ����� rejected Promise������������������ ����������� catch ������ resolve Promise ������ �����������success������� message � PREVENT_NEXT_PROCESS
    0 码力 | 238 页 | 1.87 MB | 1 年前
    3
  • pdf文档 ThinkJS 2.1 Documentation

    from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); async/await , if Promise returned a rejected Promise, an exception will be throwed. If it is not important and you want to ignore it, you can make the catch method to return a resolve Promise: After calling higher execution efficiency. For this, you can use Promise.all to implement it. p1 and p2 are processed parallelly and then get both data by using Promise.all . If your projects need to output data like
    0 码力 | 148 页 | 1.69 MB | 1 年前
    3
  • pdf文档 ThinkJS 2.2 Documentation

    from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); async/await , if Promise returned a rejected Promise, an exception will be throwed. If it is not important and you want to ignore it, you can make the catch method to return a resolve Promise: How To Open But mostly you want to excute parallely to have higher execution efficiency. For this, you can use Promise.all to implement it. export default class extends think.controller.base { async indexAction(){
    0 码力 | 156 页 | 2.62 MB | 1 年前
    3
  • pdf文档 ThinkJS 2.0 Documentation

    from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); /base.js'); module.exports = think.controller(Base, { /** * index action * @return {Promise} [] */ indexAction: function(self){ //auto render template file index_index.html
    0 码力 | 141 页 | 1.61 MB | 1 年前
    3
  • pdf文档 ThinkJS 2.2 中文文档

    机测试,如果使用 ab 测试工具,请注意该工具在 Mac 系统下很不稳定,多次测试结果会相差很 大。 ES6/7 参考文档 关于 ES6/7 特性可以参考下面的文档: JavaScript Promise迷你书 learn-es2015 ECMAScript 6 入门 给 JavaScript 初心者的 ES2015 实战 ECMAScript 6 Features ECMAScript Base from './base.js'; export default class extends Base { /** * index action * @return {Promise} [] */ indexAction(){ //auto render template file index_index.html return this.display(); 误,这样就可 以针对不同的错误返回不同的错误信息。 如何忽略异常 使用 async/await 时,如果 Promise 返回了一个 rejected Promise,那么会抛出异常。如果这个异 常不重要需要忽略的话,可以通过 catch 方法返回一个 resolve Promise 来完成。如: export default class extends think.controller.base
    0 码力 | 277 页 | 3.61 MB | 1 年前
    3
  • pdf文档 ThinkJS 1.2 中文文档

    ThinkJS 是⼀一款⾼高效、简单易⽤用的 Node.js MVC 框架。基于 ES6 Promise 开发,让异步编程更加简单、⽅方便。 ⾃自动启动服务 ⽀支持 Http、命令⾏行、WebSocket、Restful等多种⽅方式调⽤用 CBD 架构,MVC 模式 基于 Promise,异步编程更加简单 封装了 Db, Cache, Session 等常⽤用功能 开发模式下⽂文件修改后⽴立即⽣生效,⽆无需重启 测也是个⾏行为。 标签 (tag) 是⼀一组⾏行为的集合,是在系统执⾏行过程中切⾯面处调⽤用的。与 EventEmitter 不同,标签⾥里的⾏行为是按 顺序执⾏行的,当前的⾏行为通过 Promise 机制控制后⾯面的⾏行为是否被执⾏行。 当执⾏行⼀一个 http 请求时,会在对应的时机执⾏行如下的标签位: app_init 应⽤用初始化 path_info 解析 path 路径 这⾥里说个技巧:⼀一般系统后台都需要⽤用户登录才能访问,但判断⽤用户是否登录⼀一般都是异步的,不可能在每个 Action ⾥里都去判断是否已经登录。 这时候就可以在 init ⽅方法⾥里判断是否已经登录,并且把这个 promise 返回,后续的 action 执⾏行则是在这个 then 之 后执⾏行。如: ThinkJS ⽀支持前置和后置操作,默认的⽅方法名为 __before 和 __after ,可以通过如下的配置修改:
    0 码力 | 104 页 | 1.29 MB | 1 年前
    3
  • pdf文档 Combining Co-Routines and Functions into a Job System

    Coroutines in VGJS – Example void test() { Coro retObj = driver(13); schedule(retObj); //put promise into a VGJS queue, a thread will grab it in its loop if(retObj.ready()) std::cout << "Result " << Coro retObj = driver(13); schedule(retObj); } Coro_promise Coro_promise VGJS Coroutines Coro driver(int i) { co_await promise.initial_suspend(); try { Coro retObj = coroTest(i); coroTest(i); int res = co_await retObj; co_return 0.0f; } catch (...) { promise.unhandled_exception(); } FinalSuspend: co_await promise.final_suspend(); } Coro coroTest(int i) { co_await thread_index_t{
    0 码力 | 39 页 | 1.23 MB | 5 月前
    3
共 597 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 60
前往
页
相关搜索词
BuildingCoroutineBasedJobSystemWithoutStandardLibraryFromEagerFuturesPromisestoLazyContinuationsEvolvinganActoronLessonsLearnedfromLargeScaleDeploymentsDecipheringC++CoroutinesThinkJS2.0中文文档2.1Documentation2.21.2CombiningCoRoutinesandFunctionsinto
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩