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

无数据

分类

全部后端开发(36)C++(36)

语言

全部英语(31)中文(简体)(5)

格式

全部PDF文档 PDF(31)PPT文档 PPT(5)
 
本次搜索耗时 0.015 秒,为您找到相关结果约 36 个.
  • 全部
  • 后端开发
  • C++
  • 全部
  • 英语
  • 中文(简体)
  • 全部
  • PDF文档 PDF
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Named Optional Parameters - JavaScript Style

    The C++ implementation will create expressive API calls through utilizing combination of : ▪POD structs -- structs with data members only ▪designated initializers -- initializing a struct with: { .field = the road state -- There is only one. // the .= syntax is a designated initializer used to assign POD values auto result = processCarStateTransition({ .car = Car::FastSportsCar, .startingRoadState nextRoadState = { .type = RoadType::Avenue,.speed = Speed::NORMAL}}); Ambiguity The following structs will in theory dispatch to processCarStateTransition depending on how you call them. Non-Ambiguous
    0 码力 | 1 页 | 3.17 MB | 6 月前
    3
  • pdf文档 Class Layout

    14 Aside: POD Types  Standard-layout types are defined in C++11.  The 2003 Standard didn’t mention standard-layout types — it describes layout guarantees in terms of POD types.  POD stands for “Plain (There’s also a POF.)  A POD is a standard-layout class that also lacks:  private or protected non-static data members  user-declared constructors  base classes  In practice, POD classes are too restrictive Type type_; short x_, y_; }; void draw(Shape *); void rotate(Shape *, int);  Here, we’re using structs and non-member functions.  We could just as well use classes and static member functions. 97 Copyright
    0 码力 | 51 页 | 461.37 KB | 6 月前
    3
  • pdf文档 Hidden Overhead of a Function API

    constructor, destructor, or copy assignment operator… This definition is essentially the same as a C++03 POD type. armv7-a System V x86 System V x86 Microsoft A Composite Type not larger than 4 bytes is returned 16 bytes x86 System V fundamental only x86-64 Microsoft 1,2,4,8 bytes, C++03 POD x86 Microsoft 1,2,4,8 bytes, C++03 POD Composite types are required to be “trivial” to get into registers!C.20: If you ___$ReturnUdt$[esp-4] mov DWORD PTR [eax], 60 mov DWORD PTR [eax+4], 0 ret 0 C H R 67 not a POD not a POD size > 4 not fundamentalCan we do something about it? ● std::chrono would have to give up encapsulation
    0 码力 | 158 页 | 2.46 MB | 6 月前
    3
  • pdf文档 Vectorizing a CFD Code With std::simd Supplemented by Transparent Loading and Storing

    • cascading calls ending up partly in external libraries • creating, passing and returning data structs → explicit vectorizationBackground: A particular CFD task in CODA Compute flows in a cube in every SIMD_ACCESS(x, i) + SIMD_ACCESS(y, i); }); }Extended Features: Reflections Passing around data structs 25 Olaf Krzikalla, DLR SP, 2024-09-17 a b 𝑃𝑜𝑖𝑛𝑡1 𝑥1 + 𝑥1 𝑦1 + 𝑦1 𝑃𝑜𝑖𝑛𝑡2 𝑥2 ++i) { z[i] = x[i] + y[i]; } }Extended Features: Reflections Passing around data structs ▪ Conversion to structs-of-simd with the SIMD_ACCESS library 26 Olaf Krzikalla, DLR SP, 2024-09-17 a b
    0 码力 | 58 页 | 2.68 MB | 6 月前
    3
  • pdf文档 Relocation: Blazing Fast Save And Restore, Then Morel!

    better performance than the normal way to design and architect systemsThe “normal way” • Classes/structs of members of heterogeneous types: won’t ever map efficiently to the computing resources • The “abnormal” way8 Recap BeginsColumnar Representation (Scattering) • Transforming collections of structs of members of heterogeneous types into one structure with arrays of homogeneous data types (going contains the componentsHandles • Underneath they are an integer (the index of the components) • Structs/Classes ==> handleHandles auto state = State; class ItemHandle { std::size index; public:
    0 码力 | 41 页 | 2.81 MB | 6 月前
    3
  • pdf文档 C++20 镶 SQL

    arg<"name"> = “John"};Turning the query string into meta_structs for fields and parameters template struct meta_structs_from_query { static constexpr auto ts = parse_type_s };Why not string_view?Turning the query string into meta_structs for fields and parameters template struct meta_structs_from_query { static constexpr auto ts = parse_type_s
    0 码力 | 46 页 | 775.02 KB | 6 月前
    3
  • pdf文档 Beyond struct: Programming a Struct Replacement in C++20

    = get<"score">(v); assert(*std::max_element(scores.begin(),scores.end()) == 12);Duck Typing for Structs u We may have a function that doesn’t care about the type of the struct, but just the name and int main() { MyPerson p1; YourPerson p2; display_person(p1); display_person(p2); }Duck Typing for Structs u We require a template function u This means we can’t use separate compilationDuck Typing for meta_struct has those names and convertible types, it can be passed to the function.Generating Meta Structs from Compile Time StringsCompile Time Regular Expressions struct date { std::string_view year;
    0 码力 | 65 页 | 702.78 KB | 6 月前
    3
  • pdf文档 Reflection Based Libraries to Look Forward To

    ); } } return opts; } 1 2 3 4 5 6 7 8 9 10 11 12 *Copied from P2996 35Array of structs to struct of arrays struct point { float x; float y; }; using points = struct_of_arrays y; // }; 1 2 3 4 5 6 7 8 9 10 11 *Copied from P2996 36Array of structs to struct of arrays template struct struct_of_arrays_impl; consteval 75Full ABI textual representation of the layout You could generate a “schema” file for your structs Could be some JSON based schema Could be a pre-existing schema like Apache Avro This way we get
    0 码力 | 118 页 | 14.33 MB | 6 月前
    3
  • pdf文档 Expressive Compile-time Parsers

    BOOST_METAPARSE_STRING("Hello") C++ 98: C++ 11:Boost Metaparse - Meta Functions The library uses template structs also known as meta functions to create and combine parsers. struct custom_parser { template empty_list;CTRE – LL(1) Parser The grammar rules lookup table is implemented as empty structs and function overloads struct pcre { struct backslash{}; struct hexdec_repeat {}; auto rule(backslash 115 7.834 6.709 6.274 Compile-time parsing Enabled RemovedBenchmark – Struct Parsing (1000 structs) Debug Release 0.986 1.046 1.22 1.134 15.583 15.345 0.0143 0.0142 Baseline Regular C++ Compile-time
    0 码力 | 134 页 | 1.73 MB | 6 月前
    3
  • pdf文档 The Beauty and Power of Primitive C++

    "Primitive" - CppCon 2020 24One interface – many implementations • We can’t just • Read/write structs • Interfaces to different transports differ • Some want zero-copy • Version skew • Some want guarantees demanding application • Repeated many times in many variations • Multiple compilers • Bytes, Structs, Accessors, out-of-order access: about 4 ns • Getters and setters about 9 ns Stroustrup - "Primitive"
    0 码力 | 53 页 | 1.03 MB | 6 月前
    3
共 36 条
  • 1
  • 2
  • 3
  • 4
前往
页
相关搜索词
NamedOptionalParametersJavaScriptStyleClassLayoutHiddenOverheadofFunctionAPIVectorizingCFDCodeWithstdsimdSupplementedbyTransparentLoadingandStoringRelocationBlazingFastSaveAndRestoreThenMorelC++20SQLBeyondstructProgrammingStructReplacementinReflectionBasedLibrariestoLookForwardToExpressiveCompiletimeParsersTheBeautyPowerPrimitive
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩