MACRO-FREE TESTING WITH C++20## MACRO-FREE TESTING WITH C++20 KRIS@JUSIAK.NET | @KRISJUSIAK | LINKEDIN.COM/IN/KRIS-JUSIAK ### UT - HTTPS://GITHUB.COM/BOOST-EXT/UT ### UT - HTTPS://GITHUB.COM/BOOST-EXT/UT C++20 (GCC-9+, CLANG-9.0+ APPLE CLANG-11.0.0+, MSVC-2019+*) - SINGLE header/MODULE (2K LOC) WITH NO EXTERNAL DEPENDENCIES • MACRO-FREE (✓) • (*) LIMITATIONS MAY APPLY ### UT - HTTPS://GITHUB.COM/BOOST-EXT/UT C++20 (GCC-9+, CLANG-9 APPLE CLANG-11.0.0+, MSVC-2019+*) - SINGLE header/MODULE (2K LOC) WITH NO EXTERNAL DEPENDENCIES • MACRO-FREE (✓) • FEATURES (ASSERTIONS, SUITES, TESTS, SECTIONS, BDD, MATCHERS, LOGGING, ...) • (*) LIMITATIONS0 码力 | 53 页 | 1.98 MB | 1 年前3
Julia 1.4.1 Documentation$ and \ characters 212 Functions and Methods 213 Macro 213 Types 213 Modules 214 Global Variables 214 Multiple Objects 215 Macro-generated code 216 25 Metaprogramming 217 25.1 Program 224 25.3 Macros 224 Basics 224 Hold up: why macros? 225 Macro invocation 226 Building an advanced macro 227 Hygiene 229 Macro and dispatch 231 25.4 Code Generation 231 25.5 Non-Standard 30.1 Channels 275 31 Multi-Threading (Experimental) 279 31.1 Setup 279 31.2 The @threads Macro 280 31.3 Atomic Operations 280 31.4 Side effects and mutable function arguments 282 31.5 @threadcall0 码力 | 1312 页 | 4.29 MB | 2 年前3
Julia 1.5.3 DocumentationTypes ..... 194 Modules ..... 194 Global Variables ..... 195 Multiple Objects ..... 196 Macro-generated code ..... 196 18 Metaprogramming ..... 197 18.1 Program representation ..... 197 204 Hold up: why macros? ..... 205 Macro invocation ..... 206 Building an advanced macro ..... 207 Hygiene ..... 209 Macro and dispatch ..... 211 18.4 Code Generation . Starting Julia with multiple threads ..... 261 24.2 Data-race freedom ..... 262 24.3 The @threads Macro ..... 263 24.4 Atomic Operations ..... 263 24.5 Side effects and mutable function arguments .0 码力 | 1335 页 | 4.41 MB | 2 年前3
Julia 1.10.0 beta2 Documentation24.2 Threadpools ..... 300 24.3 Communication and synchronization ..... 301 24.4 The @threads Macro ..... 302 24.5 Atomic Operations ..... 304 24.6 Per-field atomics ..... 305 24.7 Side effects For example, if you compute 2 .* A.^2 .+ sin.(A) (or equivalently @. 2A^2 + sin(A), using the @. macro) for an array A, it performs a single loop over A, computing 2^2 + sin(a) for each element a of A is possible to create a view into a string using the type SubString. More simply, using the @views macro on a block of code converts all string slices into substrings. For example: julia> str = "long0 码力 | 1682 页 | 5.96 MB | 2 年前3
Zabbix 5.0 Manualescalation schedule, recipient, media type • notifications can be made meaningful and helpful using macro variables • automatic actions include remote commands Real-time graphing • monitored items are immediately agent 2 on Windows Macros Ability to mask macro content in the frontend Macro value field now has Secret text mode. If enabled, it masks the content of a macro with asterisks to protect sensitive information User macros can now be defined for host prototypes and LLD macros can be used in the macro value fields (the LLD macro will be resolved when a host is created from the prototype). User macros supported in0 码力 | 1561 页 | 28.27 MB | 1 年前3
Computer Programming with the Nim Programming LanguageAdvanced Nim ..... 384 Macro and meta-programming ..... 385 Introduction ..... 385 Types of macro parameters ..... 389 Quote and the quote do: construct ..... 393 The genast() macro as a replacement AST manually ..... 395 The assert macro ..... 400 Pragma macros ..... 402 Pragma macros for iterators ..... 403 Macro for generating data types ..... 405 Macro to generate new operator symbols rigid OOP design. |Language|Paradigm|Typing discipline|Syntax|Execution|Memory Management|Generics|Macro, Meta-programming|Modules| |---|---|---|---|---|---|---|---|---| |C|Imperative, procedural, structured|Static0 码力 | 508 页 | 3.53 MB | 1 年前3
Computer Programming with the Nim Programming LanguageAdvanced Nim ..... 387 Macro and meta-programming ..... 388 Introduction ..... 388 Types of macro parameters ..... 392 Quote and the quote do: construct ..... 396 The genast() macro as a replacement AST manually ..... 398 The assert macro ..... 403 Pragma macros ..... 405 Pragma macros for iterators ..... 406 Macro for generating data types ..... 408 Macro to generate new operator symbols rigid OOP design. |Language|Paradigm|Typing discipline|Syntax|Execution|Memory Management|Generics|Macro, Meta-programming|Modules| |---|---|---|---|---|---|---|---|---| |C|Imperative, procedural, structured|Static0 码力 | 512 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming LanguageAdvanced Nim ..... 384 Macro and meta-programming ..... 385 Introduction ..... 385 Types of macro parameters ..... 389 Quote and the quote do: construct ..... 393 The genast() macro as a replacement AST manually ..... 395 The assert macro ..... 400 Pragma macros ..... 402 Pragma macros for iterators ..... 403 Macro for generating data types ..... 405 Macro to generate new operator symbols rigid OOP design. |Language|Paradigm|Typing discipline|Syntax|Execution|Memory Management|Generics|Macro, Meta-programming|Modules| |---|---|---|---|---|---|---|---|---| |C|Imperative, procedural, structured|Static0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming LanguageAdvanced Nim ..... 387 Macro and meta-programming ..... 388 Introduction ..... 388 Types of macro parameters ..... 392 Quote and the quote do: construct ..... 396 The genast() macro as a replacement AST manually ..... 398 The assert macro ..... 403 Pragma macros ..... 405 Pragma macros for iterators ..... 406 Macro for generating data types ..... 408 Macro to generate new operator symbols rigid OOP design. |Language|Paradigm|Typing discipline|Syntax|Execution|Memory Management|Generics|Macro, Meta-programming|Modules| |---|---|---|---|---|---|---|---|---| |C|Imperative, procedural, structured|Static0 码力 | 512 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming LanguageAdvanced Nim ..... 384 Macro and meta-programming ..... 385 Introduction ..... 385 Types of macro parameters ..... 389 Quote and the quote do: construct ..... 393 The genast() macro as a replacement AST manually ..... 395 The assert macro ..... 400 Pragma macros ..... 402 Pragma macros for iterators ..... 403 Macro for generating data types ..... 405 Macro to generate new operator symbols rigid OOP design. |Language|Paradigm|Typing discipline|Syntax|Execution|Memory Management|Generics|Macro, Meta-programming|Modules| |---|---|---|---|---|---|---|---|---| |C|Imperative, procedural, structured|Static0 码力 | 508 页 | 3.54 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













