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

无数据

分类

全部后端开发(167)C++(84)Python(46)Julia(18)Conda(16)数据库(9)TiDB(9)Rust(9)PHP(8)云计算&大数据(5)

语言

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

格式

全部PDF文档 PDF(162)TXT文档 TXT(14)其他文档 其他(8)PPT文档 PPT(4)DOC文档 DOC(2)
 
本次搜索耗时 0.019 秒,为您找到相关结果约 190 个.
  • 全部
  • 后端开发
  • C++
  • Python
  • Julia
  • Conda
  • 数据库
  • TiDB
  • Rust
  • PHP
  • 云计算&大数据
  • 全部
  • 英语
  • 中文(繁体)
  • 中文(简体)
  • 中文(简体)
  • 西班牙语
  • 日语
  • 韩语
  • 葡萄牙语
  • 英语
  • 全部
  • PDF文档 PDF
  • TXT文档 TXT
  • 其他文档 其他
  • PPT文档 PPT
  • DOC文档 DOC
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • text文档 Catch2

    if (NOT TARGET Catch2) project(Catch2 CXX) set(CMAKE_CXX_STANDARD 11) add_library(${PROJECT_NAME} INTERFACE) target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CU ${CMAKE_CURRENT_SOURCE_DIR}/include) # Mimic the library names in Catch2's own CMake files: add_library(Catch2::Catch2 ALIAS Catch2) # This one is historical, left over from when ApprovalTests.cpp cpp was first created. # We could encourage users to move away from it. add_library(catch2 ALIAS Catch2) endif ()
    0 码力 | 1 页 | 519.00 B | 5 月前
    3
  • pdf文档 Exceptionally Bad: The Story on the Misuse of Exceptions and How to Do Better

    seen in C++ • Look at original goals/ideals of exception handling • Look at the mechanics of throw/catch • Look at Exceptions in both their use and design as seen in real code • Better thinking on the me{"Pete", 21}; apply(me); } catch (const MyStatus& s) { std::cout << "error : " << s << std::endl; } ... } } Error handling Happy Path (clean) Function signature changed } catch (...) { std::cout << Exception hygiene • Throw by value • Catch by (const) reference • Rethrow using throw with no arguments • Catch handlers with derived classes placed before catch handlers with base classes Exception
    0 码力 | 85 页 | 2.32 MB | 5 月前
    3
  • pdf文档 C++ Exceptions for Smaller Firmware

    throw 5; } int main() { volatile int return_code = 0; try { return_code = start(); } catch (...) { return_code = -1; } return return_code; } 51Barrier #1 Exceptions disabled! 52☠ to convince you That was to show you that something is here. 94C++ Exceptions from throw to catch on GCC ARM 95Things that will NOT be covered here ● Nested exceptions ● Anything other than table based exceptions 96Consider the following 97 struct error {}; void foo() { try { bar(); } catch (error const& p_error) { // end up here... } } void bar() { destructible_t obj; baz();
    0 码力 | 237 页 | 6.74 MB | 5 月前
    3
  • pdf文档 Exceptions Under the Spotlight

    to throw by value, catch by const ref, and re-throw using throw.• A fail-handling mechanism void bar() { try { foo(); } catch (error_type) { // do stuff, or re-throw; } catch (…) { // do stuff, responsibility 9• A fail-handling mechanism int main() { try { bar(); } catch (error_type) { // do stuff } // don’t catch; } “Re-delegate responsibility” PART 0: WHAT ARE EXCEPTIONS 10PART I: (expensive, un-deterministic mechanism) • C++ does not return tothe throwing code (but to the catch block). Exception handlers are rare compared to function definitions. The formal usage recommendation
    0 码力 | 53 页 | 2.82 MB | 5 月前
    3
  • pdf文档 Back to Basics: Exceptions

    try { g(); h(); } catch( std::exception const& ex ) { /* Handle exception */ } } Three keywords throw try catch Stack unwinding Objects on the stack are try { g(); h(); } catch( std::exception const& ex ) { /* Handle exception */ } } Three keywords throw try catch Stack unwinding Objects on the stack are try { g(); h(); } catch( std::exception const& ex ) { /* Handle exception */ } } Three keywords throw try catch Stack unwinding Objects on the stack are
    0 码力 | 111 页 | 4.87 MB | 5 月前
    3
  • pdf文档 Heterogeneous Modern C++ with SYCL 2020

    [=](id<1> i){ out[i] = inA[i] + inB[i]; }); }); gpuQueue.wait_and_throw(); } catch (sycl::exception &e) { /* handle SYCL exception */ } } 23 SYCL 2020 Hello WorldFirst we include [=](id<1> i){ out[i] = inA[i] + inB[i]; }); }); gpuQueue.wait_and_throw(); } catch (sycl::exception &e) { /* handle SYCL exception */ } } 24 SYCL 2020 Hello WorldIn this example [=](id<1> i){ out[i] = inA[i] + inB[i]; }); }); gpuQueue.wait_and_throw(); } catch (sycl::exception &e) { /* handle SYCL exception */ } } 25 SYCL 2020 Hello WorldIn SYCL all
    0 码力 | 114 页 | 7.94 MB | 5 月前
    3
  • pdf文档 Quickly Testing Qt Desktop Applications With Approval Tests

    from: • Catch2, with a little bit of Qt Test • Tricks needed to use Qt with Catch2 – Useful if using different framework23 Setting up testsuite main() // Demonstrate how to create a Catch main() for #define CATCH_CONFIG_RUNNER #include <Catch.hpp> #include int main(int argc, char* argv[]) { QApplication app(argc, argv); // -platform offscreen int result = Catch::Session() test our stuff! ☜ ☜ ☜26 ColorWidget setup – QColor object #include "catch.hpp" #include "color_widget.hpp" #include "catch_qt_string_makers.hpp" using namespace ScIDE; TEST_CASE("ColorWidget initial
    0 码力 | 77 页 | 6.96 MB | 5 月前
    3
  • pdf文档 Better Code: Contracts

    _first: _second: T0 Tn-1 U0 Un-1 . . . . . . Tn try { _second.push_back(e.second); } catch(...) { throw; }© 2023 Adobe. All Rights Reserved. Three useful guarantees regarding errors The begin()) } { _first.push_back(e.first);
 try { _second.push_back(e.second); } catch(...) { throw; }
 } 93 _first: _second: T0 Tn-1 U0 Un-1 . . . . . . Tn© 2023 Adobe. All begin()) } { _first.push_back(e.first);
 try { _second.push_back(e.second); } catch(...) { _first.pop_back(); throw; }
 } 94 _first: _second: T0 Tn-1 U0 Un-1 . . . . . .
    0 码力 | 204 页 | 4.46 MB | 5 月前
    3
  • pdf文档 Better Code: Exploring Validity

    Adobe. All Rights Reserved. struct P { P() { x = new int32_t(); try { y = new int32_t(); } catch(...) { delete x; throw; } } ~P() { delete x; delete y; } private: int32_t * x; int32_t * y; };© 2023 Adobe. All Rights Reserved. struct P { P() { x = new int32_t(); try { y = new int32_t(); } catch(...) { delete x; throw; } } ~P() { delete x; delete y; } private: int32_t * x; int32_t * y; };© 2023 Adobe. All Rights Reserved. struct P { P() { x = new int32_t(); try { y = new int32_t(); } catch(...) { delete x; throw; } } ~P() { delete x; delete y; } private: int32_t * x; int32_t * y; };© 2023
    0 码力 | 117 页 | 6.03 MB | 5 月前
    3
  • pdf文档 Back to Basics Unit Testing

    Modern C++ Testing with Catch2 Catch2 https://github.com/catchorg/Catch2 Frameworks Part 0: Basics 9auto abs(int x) -> int; math.hpp math.cpp test_math.cpp #include <catch2/catch_test_macros.hpp> #include Frameworks Part 0: Basics 10auto abs(int x) -> int; math.hpp math.cpp test_math.cpp #include <catch2/catch_test_macros.hpp> #include "math.hpp" TEST_CASE("Absolute value tests"){ CHECK( abs( 5) == Randomness seeded to: 3662634875 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ output.s is a Catch2 v3.7.0 host application. Run with -? for options ---------------------------------------------------------
    0 码力 | 109 页 | 4.13 MB | 5 月前
    3
共 190 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 19
前往
页
相关搜索词
Catch2ExceptionallyBadTheStoryontheMisuseofExceptionsandHowtoDoBetterC++forSmallerFirmwareUnderSpotlightBackBasicsHeterogeneousModernwithSYCL2020QuicklyTestingQtDesktopApplicationsWithApprovalTestsCodeContractsExploringValidityUnit
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩