10 Problems Large Companies Have with Managing C++ Dependencies and How to Solve Themdependencies Solution 8: Produce a Software Bill of Materials (SBOM) •Organize and list 3rd party dependencies as individual, named packages •Produce Software Bill of Materials (SBOMs) •Two common formats: SPDX SPDX and CycloneDXA Software Bill of Materials (SBOM) is a formal record containing the details and supply chain relationships of various components used in building software. These components, including0 码力 | 46 页 | 917.72 KB | 6 月前3
Python 标准库参考指南 2.7.18 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." For 8-bit strings, this method is locale-dependent. str.translate(table[ 本模块还提供了以下常量,适用于读取和写入依赖于平台的文件: codecs.BOM codecs.BOM_BE codecs.BOM_LE codecs.BOM_UTF8 codecs.BOM_UTF16 codecs.BOM_UTF16_BE codecs.BOM_UTF16_LE codecs.BOM_UTF32 codecs.BOM_UTF32_BE 120 Chapter 7. String Services0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." For 8-bit strings, this method is locale-dependent. str.translate(table[ 本模块还提供了以下常量,适用于读取和写入依赖于平台的文件: codecs.BOM codecs.BOM_BE codecs.BOM_LE codecs.BOM_UTF8 codecs.BOM_UTF16 codecs.BOM_UTF16_BE codecs.BOM_UTF16_LE codecs.BOM_UTF32 codecs.BOM_UTF32_BE 120 Chapter 7. String Services0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." For 8-bit strings, this method is locale-dependent. str.translate(table[ 本模块还提供了以下常量,适用于读取和写入依赖于平台的文件: codecs.BOM codecs.BOM_BE codecs.BOM_LE codecs.BOM_UTF8 codecs.BOM_UTF16 codecs.BOM_UTF16_BE codecs.BOM_UTF16_LE codecs.BOM_UTF32 codecs.BOM_UTF32_BE 120 Chapter 7. String Services0 码力 | 1552 页 | 7.42 MB | 9 月前3
Building Safe and Reliable Surgical Robotics with C++needs to be verified! • Software Bill of Materials (SBOM) o Vulnerability management o Compliance and reporting o Supply chain transparency • Cybersecurity Bill of Materials (CBOM) o SBOM + Cybersecurity0 码力 | 71 页 | 4.02 MB | 6 月前3
Libraries: A First Step Toward Standard C++ Dependency ManagementFirst Step Toward Standard C++ Dependency Management Bret Brown, C++ Infrastructure Lead, Bloomberg Bill Hoffman, CTO, KitwareHello! Welcome! Bret Brown C++ Infrastructure Lead, Bloomberg mail@bretbrownjr com/bretbrownjr https://gitlab.kitware.com/bbrown105 Bill Hoffman CTO, Kitware bill.hoffman@kitware.org https://github.com/billhoffman https://gitlab.kitware.com/bill-hoffman 3Goals 4Non-goals (so far) ● Package survive a C++ modules transition ○ Cannot declare dependencies anyway! 36CPS and software bills of materials (SBOM) ● SBOM is a hot topic ○ Ensuring software transparency ○ Managing open-source software0 码力 | 82 页 | 4.21 MB | 6 月前3
Python 标准库参考指南 3.6.15 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." str.translate(table) 返 回 原 字 符 串 的 副 本, 其 中 每 个 字 符 按 给 定 的 转 换 表 进 行 映 bytearray, memoryview 59 The Python Library Reference, 发布 3.6.15 >>> b"they're bill's friends from the UK".title() b"They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s):0 码力 | 1886 页 | 8.95 MB | 9 月前3
Python 标准库参考指南 3.6.15 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." str.translate(table) 返 回 原 字 符 串 的 副 本, 其 中 每 个 字 符 按 给 定 的 转 换 表 进 行 映 bytearray, memoryview 59 The Python Library Reference, 发布 3.6.15 >>> b"they're bill's friends from the UK".title() b"They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s):0 码力 | 1886 页 | 8.95 MB | 9 月前3
Python 标准库参考指南 3.7.13 视为单词。该定义在多数情况下都很 有效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." str.translate(table) 返回原字符串的副本,其中每个字符按给定的转换表进行映射。转换表必须是一个使用 __getitem__() 为单词。该定义在多数情况下都很 有效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> b"they're bill's friends from the UK".title() b"They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s):0 码力 | 1846 页 | 9.09 MB | 9 月前3
Python 标准库参考指南 3.7.13 视为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> "they're bill's friends from the UK".title() "They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s): group(0)[0].upper() + ... mo.group(0)[1:].lower(), ... s) ... >>> titlecase("they're bill's friends.") "They're Bill's Friends." str.translate(table) 返 回 原 字 符 串 的 副 本, 其 中 每 个 字 符 按 给 定 的 转 换 表 进 行 映 为单词。该定义在多数情况下都很有 效,但它也意味着代表缩写形式与所有格的撇号也会成为单词边界,这可能导致不希望的结果: >>> b"they're bill's friends from the UK".title() b"They'Re Bill'S Friends From The Uk" 可以使用正则表达式来构建针对撇号的特别处理: >>> import re >>> def titlecase(s):0 码力 | 1961 页 | 9.14 MB | 9 月前3
共 82 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













