Undefined Behavior: What Every Programmer Should Know and Fear
Undefined Behavior 3 We will learn: ● What is Undefined Behavior – And what it is not – UB vs implementation-defined behavior vs unspecified behavior ● Why have UB in programming languages? ● How ● How to avoid UB? ● How to take advantage of UB in your own programs?Undefined Behavior 4 What is Undefined Behavior (UB) in C++? ● The concept is defined in the standard int f(int k) { return k requirements or restrictions on the result of any program that calls f() with k > INT_MAX-10Undefined Behavior 5 UB Lore, according to comp.std.c ● If your program exhibits UB, anything can happen, or it0 码力 | 38 页 | 2.56 MB | 5 月前3Behavior-driven Tests for Microservices-based Algo Trading System
Title : Behavior-driven Tests for Microservices-based Algo Trading System Summary : Introduction : This poster will introduce a test framework we use at Bloomberg to enable behavior-based tests ● End-to-end : The test framework validates the end (client) to end (broker/exchange) algo behavior. ● Controlled external dependencies : All external dependencies including market data,0 码力 | 1 页 | 65.24 KB | 5 月前3Zabbix 7.0 Manual
the database before uploading to Zabbix server. For these installations this remains the default behavior after the upgrade. For optimized performance, it is recommended to configure the use of memory ”Zabbix agent” in documentation stands for both - Zabbix agent and Zabbix agent 2, if the functional behavior is the same. Zabbix agent 2 is only specifically named where its functionality differs. encryption the database before uploading to Zabbix server. For these installations this remains the default behavior after upgrading to Zabbix 7.0. For optimized performance, it is recommended to configure the use0 码力 | 1949 页 | 31.91 MB | 1 年前3Zabbix 6.4 Manual
”Zabbix agent” in documentation stands for both - Zabbix agent and Zabbix agent 2, if the functional behavior is the same. Zabbix agent 2 is only specifically named where its functionality differs. encryption 0 starting to enforce special permissions for setting session variables. However, in 8.0.18 this behavior was removed: As of MySQL 8.0.18, setting the session value of this system variable is no longer item value. Normally that would lead to the item becoming unsupported, but you may modify that behavior by specifying the Custom on fail error-handling options: to discard the value, to set a specified0 码力 | 1885 页 | 29.12 MB | 1 年前3Back to Basics: The Abstract Machine
abstract machine. Rather, conforming implementations are required to emulate (only) the observable behavior of the abstract machine as explained below.4” (my emphasis) CppCon 2020 - The Abstract Machine Non-deterministic CppCon 2020 - The Abstract Machine 23 • Implementations must emulate the observable behavior of the abstract machineCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Characteristics Non-deterministic CppCon 2020 - The Abstract Machine 24 • Implementations must emulate the observable behavior of the abstract machineCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Defining the Abstract0 码力 | 91 页 | 538.90 KB | 5 月前3The Roles of Symmetry And Orthogonality In Design
Orthogonality In Design cppcon 2021 •Q: What Does “Design” Provide? •A: We “Know”: How the structure and behavior achieves a desired resultCharley Bay - charleyb123 at gmail dot com The Roles of Symmetry And Orthogonality Orthogonality In Design cppcon 2021 •Q: What Does “Design” Provide? •A: We “Know”: How the structure and behavior achieves a desired result Is “obvious” or “clear” Our “First” or “Best Guess” to any question Inviolate principle or behavior Always true • Examples: • C++ Language Specification (Is all about “Guarantees”) • System/Subsystem Design (Defines API boundaries and behavior) • Implementation details0 码力 | 151 页 | 3.20 MB | 5 月前3Kotlin Language Documentation 1.9.20
determined Reporting bugs Multiple round processing Changes to your processor Multiple round behavior Advanced KSP with Kotlin Multiplatform Compilation and processing Avoid the ksp(...) configuration to declaring properties as part of an object's characteristics, you can also define an object's behavior with member functions. In Kotlin, member functions must be declared within the class body. To call ") } } } fun main() { val start = Greeting() // Prints "Hello, Kotlin!" } The behavior is now unified with Kotlin/JVM, where a companion object is initialized when the corresponding class0 码力 | 1299 页 | 32.44 MB | 1 年前3CakePHP Cookbook 3.x
ExceptionRenderer Changing the ErrorController Class Creating your Own Error Handler Changing Fatal Error Behavior Creating your own Application Exceptions Logging Exceptions Built in Exceptions for CakePHP OptionValuesTable.php. The Entity class OptionValue would be found in a file named OptionValue.php. The Behavior class EspeciallyFunkableBehavior would be found in a file named EspeciallyFunkableBehavior.php The initialize(array $config) { $this->addBehavior('Timestamp'); } } We’ve attached the Timestamp behavior which will automatically populate the created and modified columns of our table. By naming our Table0 码力 | 1244 页 | 1.05 MB | 1 年前3pandas: powerful Python data analysis toolkit - 1.3.2
non-comprehensive overview of the fundamental data structures in pandas to get you started. The fundamental behavior about data types, indexing, and axis labeling / alignment apply across all of the objects. To get NaN NaN NaN 9 NaN NaN NaN NaN When doing an operation between DataFrame and Series, the default behavior is to align the Series index on the DataFrame columns, thus broadcasting row-wise. For example: 9 2.293786 1.856228 0.773289 -1.446531 For explicit control over the matching and broadcasting behavior, see the section on flexible binary operations. Operations with scalars are just as you would expect:0 码力 | 3509 页 | 14.01 MB | 1 年前3pandas: powerful Python data analysis toolkit - 1.3.3
non-comprehensive overview of the fundamental data structures in pandas to get you started. The fundamental behavior about data types, indexing, and axis labeling / alignment apply across all of the objects. To get NaN NaN NaN 9 NaN NaN NaN NaN When doing an operation between DataFrame and Series, the default behavior is to align the Series index on the DataFrame columns, thus broadcasting row-wise. For example: 9 2.293786 1.856228 0.773289 -1.446531 For explicit control over the matching and broadcasting behavior, see the section on flexible binary operations. Operations with scalars are just as you would expect:0 码力 | 3603 页 | 14.65 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100