Mix Assertion, Logging, Unit Testing and Fuzzing with ZeroErrMix Assertion, Logging, Unit Testing and Fuzzing with ZeroErr Build Safer Modern C++ Application Speaker: Xiaofan Sun Date: Sep 19, 2024Self-Introduction • Got my Ph.D. from UC, Riverside Pointer: std::unique_ptrClass from third-party library: llvm::Value*Logging the Data // LOG(INFO) << Data; // ASSERT(a > b, “A > B is not true”, a, b); std::ostream& oper std::unique_ptr ptr); std::ostream& operator<<(std::ostream& out, llvm::Value* data); ......Logging the Data • Namespace pollution • Hard to implement with template • No extensibility • No customization 0 码力 | 54 页 | 961.46 KB | 6 月前3
Tornado 6.5 DocumentationAutomatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request.Override this method to perform cleanup, logging, etc. This method is primarily intended as a counterpart to prepare. However, there are a few error html#None]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.5 Documentationon_finish() → None Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is primarily intended as a counterpart to prepare. However, there are a few error Type[BaseException] | None, value: BaseException | None, tb: TracebackType | None) → None Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces result (with one argument, the RequestHandler object). The default implementation writes to the logging module’s root logger. May also be customized by overriding Application.log_request. • serve_traceback:0 码力 | 272 页 | 1.12 MB | 3 月前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . . 501 15.7 模块 logging —Python 的日志记录工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 15.8 logging.config —日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515 15.9 logging.handlers —日志处理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 15.10 getpass —便携式密码输入工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 26.5 hotshot —High performance logging profiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204 26.6 timeit —测量小代码片段的执行时间0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . . 501 15.7 模块 logging —Python 的日志记录工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 15.8 logging.config —日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515 15.9 logging.handlers —日志处理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 15.10 getpass —便携式密码输入工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 26.5 hotshot —High performance logging profiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204 26.6 timeit —测量小代码片段的执行时间0 码力 | 1552 页 | 7.42 MB | 9 月前3
Python 标准库参考指南 2.7.18 . . . . . . . . . . . . . . . . . . 501 15.7 模块 logging —Python 的日志记录工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503 15.8 logging.config —日志记录配置 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515 15.9 logging.handlers —日志处理 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 15.10 getpass —便携式密码输入工具 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 26.5 hotshot —High performance logging profiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204 26.6 timeit —测量小代码片段的执行时间0 码力 | 1552 页 | 7.42 MB | 9 月前3
Conda 25.1.x DocumentationAnaconda.org uploads (conda-build 3.0+) Tokens are a means of authenticating with Anaconda.org without logging in. You can pass your token to conda- build with this .condarc setting, or with a CLI argument. This anaconda command-line client (installed with # # �conda install anaconda-client�), and following logging into an # # Anaconda Server API site using �anaconda login�, automatically apply a # # matching private Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging. -q, --quiet Do not display progress bar. -d, --dry-run Only display0 码力 | 822 页 | 5.20 MB | 8 月前3
Conda 24.11.x DocumentationAnaconda.org uploads (conda-build 3.0+) Tokens are a means of authenticating with Anaconda.org without logging in. You can pass your token to conda- build with this .condarc setting, or with a CLI argument. This anaconda command-line client (installed with # # �conda install anaconda-client�), and following logging into an # # Anaconda Server API site using �anaconda login�, automatically apply a # # matching private Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging. -q, --quiet Do not display progress bar. -d, --dry-run Only display0 码力 | 818 页 | 5.21 MB | 8 月前3
Conda 24.9.x DocumentationAnaconda.org uploads (conda-build 3.0+) Tokens are a means of authenticating with Anaconda.org without logging in. You can pass your token to conda- build with this .condarc setting, or with a CLI argument. This anaconda command-line client (installed with # # �conda install anaconda-client�), and following logging into an # # Anaconda Server API site using �anaconda login�, automatically apply a # # matching private Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging. -q, --quiet Do not display progress bar. -d, --dry-run Only display0 码力 | 799 页 | 5.26 MB | 8 月前3
Conda 24.7.x DocumentationAnaconda.org uploads (conda-build 3.0+) Tokens are a means of authenticating with Anaconda.org without logging in. You can pass your token to conda- build with this .condarc setting, or with a CLI argument. This anaconda command-line client (installed with # # �conda install anaconda-client�), and following logging into an # # Anaconda Server API site using �anaconda login�, automatically apply a # # matching private Can be used multiple times. Once for detailed output, twice for INFO logging, thrice for DEBUG logging, four times for TRACE logging. -q, --quiet Do not display progress bar. -d, --dry-run Only display0 码力 | 808 页 | 4.97 MB | 8 月前3
共 148 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













