Back to Basics: Concurrency
our visualization, and just show the call stack. ■ (One function calling the other, with the indentation indicating the call stack) main Foo() Bar() Baz() Execute main execution pathThis somewhat our visualization, and just show the call stack. ■ (One function calling the other, with the indentation indicating the call stack) ○ But! What if we could have a second path in our code executing. our visualization, and just show the call stack. ■ (One function calling the other, with the indentation indicating the call stack) ○ But! What if we could have a second path in our code executing.0 码力 | 141 页 | 6.02 MB | 5 月前3Code Analysis++
[-Wsizeof-pointer-memaccess] int x = 100; int *ptr = &x; memset(ptr, 0, sizeof (ptr)); [-Wmisleading-indentation] if (some_condition(cond)) foo(); bar();Compiler errors and warnings – if (MSVC)0 码力 | 61 页 | 2.70 MB | 5 月前3What's New in Visual Studio 2022
Visual Studio Unreal Engine IntegrationUE Naming Convention Checker *UI not final UE Macro Indentation Rules Unreal Header Tool Warnings Unreal Engine IntegrationUE Code Snippets *UI not final Coming0 码力 | 55 页 | 3.27 MB | 5 月前3Mastering C++ Modules
• Treat your C++ like cattle not pets = Treat your CMake code like real code, have proper indentation and comments • Be very careful with versions of things – a wrong version of cmake, ninja, compiler0 码力 | 77 页 | 9.07 MB | 5 月前3julia 1.10.10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 36 Style Guide 449 36.1 Indentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 36.2 Write functions """ " Hello,\n world.\n" In this case the final (empty) line before the closing """ sets the indentation level. The dedentation level is determined as the longest common starting sequence of spaces or in the array." foo(xs::Array) = ... Documentation is interpreted as Markdown, so you can use indentation and code fences to delimit code examples from text. Technically, any object can be associated0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 36 Style Guide 449 36.1 Indentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 36.2 Write functions """ " Hello,\n world.\n" In this case the final (empty) line before the closing """ sets the indentation level. The dedentation level is determined as the longest common starting sequence of spaces or in the array." foo(xs::Array) = ... Documentation is interpreted as Markdown, so you can use indentation and code fences to delimit code examples from text. Technically, any object can be associated0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 37 Style Guide 482 37.1 Indentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482 37.2 Write functions \n"CHAPTER 8. STRINGS 60 In this case the final (empty) line before the closing """ sets the indentation level. The dedentation level is determined as the longest common starting sequence of spaces or . 231CHAPTER 18. DOCUMENTATION 232 Documentation is interpreted as Markdown, so you can use indentation and code fences to delimit code examples from text. Technically, any object can be associated0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.5 Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 37 Style Guide 482 37.1 Indentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482 37.2 Write functions \n"CHAPTER 8. STRINGS 60 In this case the final (empty) line before the closing """ sets the indentation level. The dedentation level is determined as the longest common starting sequence of spaces or . 231CHAPTER 18. DOCUMENTATION 232 Documentation is interpreted as Markdown, so you can use indentation and code fences to delimit code examples from text. Technically, any object can be associated0 码力 | 2007 页 | 6.73 MB | 3 月前3Julia 1.11.6 Release Notes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480 37 Style Guide 482 37.1 Indentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482 37.2 Write functions \n"CHAPTER 8. STRINGS 60 In this case the final (empty) line before the closing """ sets the indentation level. The dedentation level is determined as the longest common starting sequence of spaces or . 231CHAPTER 18. DOCUMENTATION 232 Documentation is interpreted as Markdown, so you can use indentation and code fences to delimit code examples from text. Technically, any object can be associated0 码力 | 2007 页 | 6.73 MB | 3 月前3Django CMS 2.1.x Documentation
alike. Syntax and conventions We try to conform to PEP8 as much as possible. A few highlights: • Indentation should be exactly 4 spaces. Not 2, not 6, not 8. 4. Also, tabs are evil. • We try (loosely) to0 码力 | 63 页 | 485.38 KB | 6 月前3
共 27 条
- 1
- 2
- 3