Java 应用与开发 - Java 语言基础与流程控制0 码力 | 37 页 | 685.82 KB | 1 年前3
Kotlin Language Documentation 1.9.20step Basic types Practice Next step Collections List Set Map Practice Next step Control flow Conditional expressions Ranges Loops Practice Next step 61 61 61 61 63 63 63 64 64 elements Coroutine scope Asynchronous Flow Representing multiple values Flows are cold Flow cancellation basics Flow builders Intermediate flow operators Terminal flow operators Flows are sequential 931 932 43 Flow context Buffering Composing multiple flows Flattening flows Flow exceptions Exception transparency Flow completion Imperative versus declarative Launching flow Flow and Reactive0 码力 | 1299 页 | 32.44 MB | 1 年前3
Compile-Time Validationvec[index] = 0; // valid vec.clear(); vec[index] = 2; // invalid }Goals – Control Flow Validate based of control flow for: if/else, for loops, etc... void foo() { my_vectorvec = { /* ... */ });Control Flow Record and validate control flow enum class control_flow { if_, else_if, for_, return_, /*...*/ }; if (cond) { M::add flow::if_>; } M::add flow::end_scope>;Macro }));Control Flow - Parsing Parse string of code into a control flow enum value constexpr control_flow parse_control(std::string_view str) { if (str == "{") return control_flow::start_scope; 0 码力 | 137 页 | 1.70 MB | 6 月前3
Kotlin Language Documentation 1.3Getting Started Basic Syntax Idioms Coding Conventions Basics Basic Types Packages Control Flow: if, when, for, while Returns and Jumps Classes and Objects Classes and Inheritance Properties Cancellation and Timeouts Composing Suspending Functions Coroutine Context and Dispatchers Asynchronous Flow Channels Exception Handling Shared mutable state and concurrency Select Expression (experimental) Basics Channels Coroutine Context and Dispatchers Shared Mutable State and Concurrency Asynchronous Flow Recommended tutorials: Your �rst coroutine with Kotlin Asynchronous Programming Introduction to0 码力 | 597 页 | 3.61 MB | 1 年前3
Go 101 (Golang 101) v1.21.0variables (both as 0). 17. var a, b int 18. // A for-loop control flow. 19. for i := 0; i < n; i++ { 20. // An if-else control flow. 21. if rand.Intn(MaxRnd) < MaxRnd/2 { 22. a = a function body, two control flows are used. One is a for loop control flow, which nests the other one, an if-else conditional control flow. Please read basic control flows (§12) for more information about fallthrough, for, goto, if, range, return, select and switch are used to control flow of code. defer and go are also control flow keywords, but in other specific manners. They modify function calls, which we'll0 码力 | 610 页 | 945.17 KB | 1 年前3
Go 101 (Golang 101) v1.21.0as 0). 17 | var a, b int 18 | // A for-loop control flow. 19 | for i := 0; i < n; i++ { 20 | // An if-else control flow. 21 | if rand.Intn(MaxRnd) < MaxRnd/2 { 22 | function body, two control flows are used. One is a for loop control flow, which nests the other one, an if-else conditional control flow. Please read basic control flows (§12) for more information about fallthrough, for, goto, if, range, return, select and switch are used to control flow of code. defer and go are also control flow keywords, but in other specific manners. They modify function calls, which0 码力 | 880 页 | 833.34 KB | 1 年前3
The Roles of Symmetry And Orthogonality In Designis destroyed Stack-based (automatic) data objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth is destroyed Stack-based (automatic) data objects • Is symmetry to define state based on control-flow (static lexical scoping) • Edge cases managed by the C++ Standard (Guaranteed!) “The compiler giveth taketh away” Heap-based (dynamic) data objects • Is symmetry to define state independent of control-flow (static lexical scoping) • Edge cases managed by the developer “The developer giveth, and the developer0 码力 | 151 页 | 3.20 MB | 6 月前3
Go 101 (Golang 101) v1.21.0(both as 0). 17| var a, b int 18| // A for-loop control flow. 19| for i := 0; i < n; i++ { 20| // An if-else control flow. 21| if rand.Intn(MaxRnd) < MaxRnd/2 { 22| a function body, two control flows are used. One is a for loop control flow, which nests the other one, an if-else conditional control flow. Please read basic control flows (§12) for more information about fallthrough, for, goto, if, range, return, select and switch are used to control flow of code. defer and go are also control flow keywords, but in other specific manners. They modify function calls, which0 码力 | 630 页 | 3.77 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.5 User ManualConnections Detecting Slow Consumers Avoiding Network Isolation Resource Manager Configuration Flow Control Guarantees of sends and commits Message Redelivery and Undelivered Messages Message Expiry number of messages a particular consumer has acknowledged. It doesn't take into account whether or not flow control has been enabled on the consumer, whether or not the consumer is streaming a large message resolved by the transaction manager. Resource Manager Configuration 113 Flow Control Flow control is used to limit the flow of data between a client and server, or a server and another server in order0 码力 | 399 页 | 1.61 MB | 1 年前3
Apache ActiveMQ Artemis 1.5.1 User ManualConnections Detecting Slow Consumers Avoiding Network Isolation Resource Manager Configuration Flow Control Guarantees of sends and commits Message Redelivery and Undelivered Messages Message Expiry number of messages a particular consumer has acknowledged. It doesn't take into account whether or not flow control has been enabled on the consumer, whether or not the consumer is streaming a large message resolved by the transaction manager. Resource Manager Configuration 113 Flow Control Flow control is used to limit the flow of data between a client and server, or a server and another server in order0 码力 | 399 页 | 1.61 MB | 1 年前3
共 953 条
- 1
- 2
- 3
- 4
- 5
- 6
- 96













