积分充值
 首页
前端开发
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文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(66)Python(20)Julia(18)C++(13)Rust(9)PHP(6)前端开发(2)JavaScript(2)系统运维(1)综合其他(1)

语言

全部英语(48)中文(繁体)(11)中文(简体)(5)西班牙语(1)日语(1)韩语(1)葡萄牙语(1)zh(1)

格式

全部PDF文档 PDF(67)其他文档 其他(3)
 
本次搜索耗时 0.061 秒,为您找到相关结果约 70 个.
  • 全部
  • 后端开发
  • Python
  • Julia
  • C++
  • Rust
  • PHP
  • 前端开发
  • JavaScript
  • 系统运维
  • 综合其他
  • 全部
  • 英语
  • 中文(繁体)
  • 中文(简体)
  • 西班牙语
  • 日语
  • 韩语
  • 葡萄牙语
  • zh
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Custom Views for the Rest of Us

    x = some_range | reversed_evens; 2 110Range Adaptor Closure Objects [24.7.2.1] A range adaptor closure object is a . For a range adaptor closure object C and an expression R such that decltype((R)) argument and returns a view C(R) R | C 111Range Adaptor Closure Objects [24.7.2.1] A range adaptor closure object is a . For a range adaptor closure object C and an expression R such that decltype((R)) and returns a view view C(R) R | C 111Range Adaptor Closure Objects [24.7.2.1] A range adaptor closure object is a . For a range adaptor closure object C and an expression R such that decltype((R))
    0 码力 | 187 页 | 13.25 MB | 6 月前
    3
  • pdf文档 DEDUCING this PATTERNS

    language a bit carefully to distinguish between: a lambda expression (the code that we write) a closure object (the object the compiler generates by evaluating the lambda expression)DEDUCING this AND LAMBDAS (Despite what cppinsights tells you…)CLOSURE OBJECTS, PER THE STANDARD "An implementation may define the closure object differently…" In particular, closure objects have:CLOSURE OBJECTS, PER THE STANDARD "An implementation may define the closure object differently…" In particular, closure objects have: no defined layoutCLOSURE OBJECTS, PER THE STANDARD "An implementation may define the closure object differently…"
    0 码力 | 126 页 | 5.15 MB | 6 月前
    3
  • pdf文档 Implementing Particle Filters with Ranges

    sample(gen) ➡ view ❌ What do we need to fix? sample(gen) ➡ C (range adaptor closure object) If C is a range adaptor closure object and R is a range, these two expressions are equivalent: C(R) R | C std::ranges::range_adaptor_closure (C++23) template class sample_closure : public std::ranges::range_adaptor_closureclosure> { public: explicit sample_closure(RNG& gen) : gen_{gen} std::ranges::range_adaptor_closure (C++23) template class sample_closure : public std::ranges::range_adaptor_closureclosure> { public: explicit sample_closure(RNG& gen) : gen_{gen}
    0 码力 | 83 页 | 4.70 MB | 6 月前
    3
  • pdf文档 Back to Basics: Lambda Expressions

    variable name ○ a closure is simply a function object . . . ■ which is returned from the evaluation of a lambda expression ■ myLamb contains the closure ■ deduced type is a “closure data type” auto expression is evaluated ■ ensure captured lvalue references remain alive for the entire lifetime of the closure auto myLamb = [&x] ( ) { return ++x; }; 20Lambda Expressions ● Capture Clause ○ C++11 ■ capture of evaluating a lambda expression which does not capture anything as a special kind of closure ■ special closure has no state so it can be implicitly converted to a function pointer ■ if you are calling
    0 码力 | 48 页 | 175.89 KB | 6 月前
    3
  • pdf文档 Rust 程序设计语言 简体中文版 1.85.0

    Rust 有安全保证,也需要测试确保 程序逻辑正确。第十二章中将会构建我们自己的 grep 命令行工具的功能子集实现,用于在文 件中搜索文本。为此会用到之前章节讨论的很多概念。 第十三章探索闭包(closure)和迭代器(iterator),这两个 Rust 特性来自函数式编程语言。 第十四章会深入探讨 Cargo 并介绍分享代码库的最佳实践。第十五章讨论标准库提供的智能 指针以及相关的 trait。 在的错误会使程 序 panic。 使用 match 处理 Result 的替代方案 这里有好多 match!match 确实很强大,不过也非常的原始。第十三章我们会介绍闭 包(closure),它会和定义在 Result 中的很多方法一起使用。在处理代码中的 Result 值时,使用这些方法往往比直接写 match 更简洁。 例如,这是另一个编写与示例 9-5 可以进行一些自定义的非 panic! 的错误处理。当 Result 是 Ok 时,这个方法的行为类似于 unwrap:它返回 Ok 内部封装的值。然而,当其值是 Err 时,该方法会调用一个闭包(closure),也就是一个我们定义的作为参数传递给 unwrap_or_else 的匿名函数。第十三章会更详细地介绍闭包。现在你需要理解的是 unwrap_or_else 会将 Err 的内部值,也就是示例
    0 码力 | 562 页 | 3.23 MB | 24 天前
    3
  • pdf文档 Monads in Modern C++

    1: // namespace maybe::views 2: 3: template 4: constexpr /* maybe adaptor closure*/ transform(Callable&& c); 01: // namespace maybe 02: 03: template 04: concept not_void maybe::views 2: 3: template 4: constexpr /* maybe adaptor closure*/ transform(Callable&& c); 1: auto closure = maybe::views::transform(f1) 2: | maybe::views::and_then(f2) 3: initialization */}; 6: auto res = closure(mbObj); // res is our or_else view 7: std::cout << "res=" << *res << std::endl; 8: 9: auto asOpt = res | maybe::to; mbobj | closure;© 2018 Bloomberg Finance
    0 码力 | 94 页 | 4.56 MB | 6 月前
    3
  • pdf文档 Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code

    is an output side effect ● filter contains state with the variable that is initialized in the closure ○ Running filter multiple times with the same input returns different outputs ● filter_timeseries argument int result = multiplyBy2(3); std::cout << result << std::endl; // Output: 6 } ● A closure is a function object that has an environment of its own, which keeps track of the variables captured std::endl; // Output: 6 } ● A closure is a function object that has an environment of its own, which keeps track of the variables captured from the outer scope ○ A closure can access and manipulate these
    0 码力 | 200 页 | 1.77 MB | 6 月前
    3
  • pdf文档 Raft在Curve存储中的工程实践

    task); void add_peer(const PeerId& peer, Closure* done); void remove_peer(const PeerId& peer, Closure* done); void change_peers(const Configuration& new_peers, Closure* done); StateMachine void on_apply(::raft::Iterator& on_apply(::raft::Iterator& iter); void on_snapshot_save(SnapshotWriter* writer, Closure* done); int on_snapshot_load(SnapshotReader* reader); void on_leader_start(int64_t term); void on_leader_stop(const butil::Status&
    0 码力 | 29 页 | 2.20 MB | 6 月前
    3
  • pdf文档 Comprehensive Rust(Persian ) 202412

    shared reference to the closure, which means the closure can be executed repeatedly and even concurrently . An FnMut (e.g. accumulate) might mutate captured values. The closure object is accessed via exclusive concurrently . If you have an FnOnce (e.g. multiply_sum), you may only call it once. Doing so consumes the closure and any values captured by move . 107 FnMut � � � � � � � � � � � FnOnce � � � . Fn � � � � � � FnOnce � � � � � � � � � � � � � � � � � � . � � � � � � � � � � � � � � � � � � � � � � � � � � � closure � � � � � � � � � � � � � � � FnOnce � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
    0 码力 | 393 页 | 987.97 KB | 10 月前
    3
  • pdf文档 Comprehensive Rust(English) 202412

    shared reference to the closure, which means the closure can be executed repeatedly and even concurrently. An FnMut (e.g. accumulate) might mutate captured values. The closure object is accessed via exclusive concurrently. If you have an FnOnce (e.g. multiply_sum), you may only call it once. Doing so consumes the closure and any values captured by move. FnMut is a subtype of FnOnce. Fn is a subtype of FnMut and FnOnce takes a closure, you should take FnOnce if you can (i.e. you call it once), or FnMut else, and last Fn. This allows the most flexibility for the caller. 104 In contrast, when you have a closure, the most
    0 码力 | 382 页 | 1.00 MB | 10 月前
    3
共 70 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
前往
页
相关搜索词
CustomViewsfortheRestofUsDEDUCINGthisPATTERNSImplementingParticleFilterswithRangesBacktoBasicsLambdaExpressionsRust程序设计程序设计语言简体中文文版中文版简体中文版1.85MonadsinModernC++LeveragingFunctionalApproachMoreTestableandMaintainableROSCodeRaftCurve存储工程实践ComprehensivePersian202412English
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩