Back To Basics Lifetime Management
0 码力 | 66 页 | 8.43 MB | 5 月前3Libraries: A First Step Toward Standard C++ Dependency Management
1October 3, 2023 2 Libraries: A First Step Toward Standard C++ Dependency Management Bret Brown, C++ Infrastructure Lead, Bloomberg Bill Hoffman, CTO, KitwareHello! Welcome! Bret Brown C++ Infrastructure portable as the code they contain! ● ✓ Projects should be “cattle,” not “pets”! 7Why dependency management? 8Consensus: Managing dependencies == way too hard Q: Which of these do you find frustrating names: jsonlogConfig.cmake Jsonlog-config.cmake # ... CMake gives you some dependency management tips here ... 13 Aside: Coloring and bolding added for emphasisMotivation: What would we design0 码力 | 82 页 | 4.21 MB | 5 月前3Oracle VM VirtualBox 4.2.32 User Manual
. . . . . . . 186 9.25 VirtualBox expert storage management . . . . . . . . . . . . . . . . . . . . . . . 186 9.26 Handling of host power management events . . . . . . . . . . . . . . . . . . . . 186 IDE/SATA flush requests . . . . . . . . . . . . . . . 204 12.2.3 Poor performance caused by host power management . . . . . . . . . . 204 12.2.4 GUI: 2D Video Acceleration option is grayed out . . . . . . . . to access USB devices from VirtualBox guests in the group vboxusers, either through the GUI user management tools or by running the following command as root: sudo usermod -a -G vboxusers username Note:0 码力 | 348 页 | 5.93 MB | 5 月前3Oracle VM VirtualBox 5.2.40 User Manual
. . . . . . . 232 9.25 VirtualBox expert storage management . . . . . . . . . . . . . . . . . . . . . . . 232 9.26 Handling of host power management events . . . . . . . . . . . . . . . . . . . . 233 usage reporting . . . . . . . . . . . . . . . . . 265 12.2.6 Poor performance caused by host power management . . . . . . . . . . 265 12.2.7 GUI: 2D Video Acceleration option is grayed out . . . . . . . . to access USB devices from VirtualBox guests in the group vboxusers, either through the GUI user management tools or by running the following command as root: sudo usermod -a -G vboxusers username Note:0 码力 | 387 页 | 4.27 MB | 5 月前3Oracle VM VirtualBox 5.2.12 User Manual
. . . . . . . 231 9.25 VirtualBox expert storage management . . . . . . . . . . . . . . . . . . . . . . . 231 9.26 Handling of host power management events . . . . . . . . . . . . . . . . . . . . 232 usage reporting . . . . . . . . . . . . . . . . . 264 12.2.6 Poor performance caused by host power management . . . . . . . . . . 264 12.2.7 GUI: 2D Video Acceleration option is grayed out . . . . . . . . to access USB devices from VirtualBox guests in the group vboxusers, either through the GUI user management tools or by running the following command as root: sudo usermod -a -G vboxusers username Note:0 码力 | 380 页 | 4.23 MB | 5 月前3Oracle VM VirtualBox 4.3.36 User Manual
. . . . . . . 196 9.24 VirtualBox expert storage management . . . . . . . . . . . . . . . . . . . . . . . 196 9.25 Handling of host power management events . . . . . . . . . . . . . . . . . . . . 196 usage reporting . . . . . . . . . . . . . . . . . 215 12.2.6 Poor performance caused by host power management . . . . . . . . . . 215 12.2.7 GUI: 2D Video Acceleration option is grayed out . . . . . . . . to access USB devices from VirtualBox guests in the group vboxusers, either through the GUI user management tools or by running the following command as root: sudo usermod -a -G vboxusers username Note:0 码力 | 380 页 | 3.79 MB | 5 月前3Oracle VM VirtualBox 4.1.40 User Manual
IDE/SATA flush requests . . . . . . . . . . . . . . . 183 12.2.3 Poor performance caused by host power management . . . . . . . . . . 183 12.2.4 GUI: 2D Video Acceleration option is grayed out . . . . . . . . to access USB devices from VirtualBox guests in the group vboxusers, either through the GUI user management tools or by running the following command as root: sudo usermod -a -G vboxusers username Note: member of that group. A user can be made a member of the group vboxusers through the GUI user/group management or at the command line with sudo usermod -a -G vboxusers username Note that adding an active user0 码力 | 310 页 | 4.87 MB | 5 月前3Oracle VM VirtualBox 5.2.40 Programming Guide and Reference
--keepalive (or -k): This specifies the maximum number of requests which can be sent in one web service connection, and defaults to 100. This normally does not need to be changed. • --authentication (or -A): This the same whether you use the object-oriented web service (OOWS) for JAX-WS or a raw web service connection via, say, Perl, or whether you use C++ COM bindings. Some things are different depending on your 4.2, Authenticating at web service logon, page 25. 2.1.1.4 Object management The current OOWS for JAX-WS has certain memory management related limitations. When you no longer need an object, call its0 码力 | 422 页 | 2.45 MB | 5 月前3Oracle VM VirtualBox 5.2.12 Programming Guide and Reference
--keepalive (or -k): This specifies the maximum number of requests which can be sent in one web service connection, and defaults to 100. This normally does not need to be changed. • --authentication (or -A): This the same whether you use the object-oriented web service (OOWS) for JAX-WS or a raw web service connection via, say, Perl, or whether you use C++ COM bindings. Some things are different depending on your 4.2, Authenticating at web service logon, page 25. 2.1.1.4 Object management The current OOWS for JAX-WS has certain memory management related limitations. When you no longer need an object, call its0 码力 | 421 页 | 2.43 MB | 5 月前3Exceptionally Bad: The Story on the Misuse of Exceptions and How to Do Better
and usually rethrows the exception 27 Bloomberg Exceptional Resource Management30 Bloomberg Exceptional Resource Management int process_file(const std::string& fileName_) { FILE * f = ::fopen(fileName_ ::fclose(f); throw; } ::fclose(f); return rc; } Resource release Bug31 Bloomberg Exceptional Resource Management Use RAII : struct FileManager { FileManager(const std::string& fileName_) : fptr{::fopen(fileName_ resource and usually rethrows the exception Conclusion : Use RAII over catch handlers for resource management 32 Bloomberg Exceptional Resource ManagementSituation : I have a potentially temporary problem0 码力 | 85 页 | 2.32 MB | 5 月前3
共 162 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17