 Rust 程序设计语言 简体中文版 1.85.0Rust 程序设计语言 简体中文版Rust 程序设计语言 简体中文版 目录 Rust 程序设计语言 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 2/562Rust 程序设计语言 简体中文版 11. 编写自动化测试 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 17. Async 和 await . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 17.1. Futures 和 async 语法 . .0 码力 | 562 页 | 3.23 MB | 26 天前3 Rust 程序设计语言 简体中文版 1.85.0Rust 程序设计语言 简体中文版Rust 程序设计语言 简体中文版 目录 Rust 程序设计语言 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 2/562Rust 程序设计语言 简体中文版 11. 编写自动化测试 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 17. Async 和 await . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 17.1. Futures 和 async 语法 . .0 码力 | 562 页 | 3.23 MB | 26 天前3
 julia 1.13.0 DEVinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2058 页 | 7.45 MB | 3 月前3 julia 1.13.0 DEVinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2058 页 | 7.45 MB | 3 月前3
 Julia 1.11.4install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 Documentationinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 Documentationinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.6 Release Notesinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.6 Release Notesinstall juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2007 页 | 6.73 MB | 3 月前3
 julia 1.12.0 beta1install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2047 页 | 7.41 MB | 3 月前3 julia 1.12.0 beta1install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int" 13.6 Design Patterns with0 码力 | 2047 页 | 7.41 MB | 3 月前3
 Julia 1.12.0 RC1install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 RC1install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta4install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta4install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta3install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta3install juliaup in a shell with root privileges. cargo (Windows, Mac and Linux) To install Julia via Rust's cargo, run: cargo install juliaupChapter 4 Variables A variable, in Julia, is a name associated Base.AsyncCondition() wait(cond) The callback you pass to C should only execute a ccall to :uv_async_send, passing cond.handle as the argument, taking care to avoid any allocations or other interactions interactions with the Julia runtime. Note that events may be coalesced, so multiple calls to uv_async_send may result in a single wakeup notification to the condition. 28.17 More About Callbacks For more0 码力 | 2057 页 | 7.44 MB | 3 月前3
 julia 1.10.10other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int"CHAPTER 12. METHODS 160 12 package called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end)0 码力 | 1692 页 | 6.34 MB | 3 月前3 julia 1.10.10other operations that use f(x): julia> g(x) = f(x) g (generic function with 1 method) julia> t = @async f(wait()); yield(); Now we add some new methods to f(x): julia> f(x::Int) = "definition for Int" julia> g(1) "definition for Int" julia> fetch(schedule(t, 1)) "original definition" julia> t = @async f(wait()); yield(); julia> fetch(schedule(t, 1)) "definition for Int"CHAPTER 12. METHODS 160 12 package called Sockets. Let's first create a simple server: julia> using Sockets julia> errormonitor(@async begin server = listen(2000) while true sock = accept(server) println("Hello World\n") end end)0 码力 | 1692 页 | 6.34 MB | 3 月前3
共 13 条
- 1
- 2














