Rust 程序设计语言 简体中文版 1.85.0dice_roll { 3 => add_fancy_hat(), 7 => remove_fancy_hat(), other => move_player(other), } fn add_fancy_hat() {} fn remove_fancy_hat() {} fn move_player(num_spaces: match dice_roll { 3 => add_fancy_hat(), 7 => remove_fancy_hat(), _ => reroll(), } fn add_fancy_hat() {} fn remove_fancy_hat() {} fn reroll() {} 这个例子也满足穷尽性要求,因为 match dice_roll { 3 => add_fancy_hat(), 7 => remove_fancy_hat(), _ => (), } fn add_fancy_hat() {} fn remove_fancy_hat() {} 在这里,我们明确告诉 Rust 我们不会使用与前面模式不匹配的值,并且这种情况下我们不想0 码力 | 562 页 | 3.23 MB | 24 天前3
Oracle VM VirtualBox 5.2.40 User Manualrecompile the guest kernel and to select a timer frequency of 100Hz. Linux kernels shipped with Red Hat Enterprise Linux (RHEL) as of release 4.7 and 5.1 as well as kernels of related Linux distributions cursor visibility updating • Linux guests: VBox Guest Additions fail to compile on Red Hat/CentOS/OL 7.7 and Red Hat 8.1 Beta (bug #18917) • Linux guests: improve compatibility of vboxvideo.ko kernel module licenses, page 371 and Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others. 345 16 Third-party materials and licenses • VirtualBox contains libcurl which is governed0 码力 | 387 页 | 4.27 MB | 6 月前3
Oracle VM VirtualBox 4.2.32 User Manualkernel-devel package when asked by the installer (use uname -a to compare). 66 4 Guest Additions CentOS, Red Hat Enterprise Linux and Oracle Enterprise Linux 1. For versions prior to 6, add divider=10 to the kernel recompile the guest kernel and to select a timer frequency of 100Hz. Linux kernels shipped with Red Hat Enterprise Linux (RHEL) as of release 4.7 and 5.1 as well as kernels of related Linux distributions licenses, page 333 and Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others. • VirtualBox contains libcurl which is governed by the license in chapter 16.2.16, curl0 码力 | 348 页 | 5.93 MB | 6 月前3
Oracle VM VirtualBox 4.3.36 User Manualpackage when asked by the installer (use uname -a to compare). 67 4 Guest Additions Oracle Linux, Red Hat Enterprise Linux and CentOS 1. For versions prior to 6, add divider=10 to the kernel boot options recompile the guest kernel and to select a timer frequency of 100Hz. Linux kernels shipped with Red Hat Enterprise Linux (RHEL) as of release 4.7 and 5.1 as well as kernels of related Linux distributions licenses, page 365 and Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others. 339 16 Third-party materials and licenses • VirtualBox contains libcurl which is governed0 码力 | 380 页 | 3.79 MB | 6 月前3
Oracle VM VirtualBox 5.2.12 User Manualrecompile the guest kernel and to select a timer frequency of 100Hz. Linux kernels shipped with Red Hat Enterprise Linux (RHEL) as of release 4.7 and 5.1 as well as kernels of related Linux distributions licenses, page 364 and Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others. 338 16 Third-party materials and licenses • VirtualBox contains libcurl which is governed license in chapter 16.2.24, libffi license, page 370 and Copyright (c) 1996-2012 Anthony Green, Red Hat, Inc and others. See source files for details. • VirtualBox contains portions of FLTK which is governed0 码力 | 380 页 | 4.23 MB | 6 月前3
Oracle VM VirtualBox 4.1.40 User Manualthe correct kernel-devel package when asked by the installer (use uname -a to compare). CentOS, Red Hat Enterprise Linux and Oracle Enterprise Linux 1. For versions prior to 6, add divider=10 to the kernel recompile the guest kernel and to select a timer frequency of 100Hz. Linux kernels shipped with Red Hat Enterprise Linux (RHEL) as of release 4.7 and 5.1 as well as kernels of related Linux distributions licenses, page 300 and Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others. • VirtualBox contains libcurl which is governed by the license in chapter 16.2.16, curl0 码力 | 310 页 | 4.87 MB | 6 月前3
Julia 1.10.7 DocumentationFor example, the variable name δ can be entered by typing \delta-tab, or even α̂⁽²⁾ by \alpha-tab-\hat- tab-\^(2)-tab. (If you find a symbol somewhere, e.g. in someone else's code, that you don't know the section on The Julia REPL. JULIA_ERROR_COLOR The formatting Base.error_color() (default: light red, "\033[91m") that errors should have at the termi- nal. JULIA_WARN_COLOR The formatting Base.warn_color() @code_warntype is that non-concrete types are displayed in red; since this document is written in Markdown, which has no color, in this document, red text is denoted by uppercase. CHAPTER 34. PERFORMANCE0 码力 | 1691 页 | 6.34 MB | 10 月前3
Julia 1.10.6 DocumentationFor example, the variable name δ can be entered by typing \delta-tab, or even α̂⁽²⁾ by \alpha-tab-\hat- tab-\^(2)-tab. (If you find a symbol somewhere, e.g. in someone else's code, that you don't know the section on The Julia REPL. JULIA_ERROR_COLOR The formatting Base.error_color() (default: light red, "\033[91m") that errors should have at the termi- nal. JULIA_WARN_COLOR The formatting Base.warn_color() @code_warntype is that non-concrete types are displayed in red; since this document is written in Markdown, which has no color, in this document, red text is denoted by uppercase. CHAPTER 34. PERFORMANCE0 码力 | 1691 页 | 6.33 MB | 10 月前3
julia 1.10.8 documentationFor example, the variable name δ can be entered by typing \delta-tab, or even α̂⁽²⁾ by \alpha-tab-\hat- tab-\^(2)-tab. (If you find a symbol somewhere, e.g. in someone else's code, that you don't know the section on The Julia REPL. JULIA_ERROR_COLOR The formatting Base.error_color() (default: light red, "\033[91m") that errors should have at the termi- nal. JULIA_WARN_COLOR The formatting Base.warn_color() @code_warntype is that non-concrete types are displayed in red; since this document is written in Markdown, which has no color, in this document, red text is denoted by uppercase. CHAPTER 34. PERFORMANCE0 码力 | 1692 页 | 6.34 MB | 8 月前3
Julia 1.11.0-rc4 DocumentationFor example, the variable name δ can be entered by typing \delta-tab, or even α̂⁽²⁾ by \alpha-tab-\hat- tab-\^(2)-tab. (If you find a symbol somewhere, e.g. in someone else's code, that you don't know the section on The Julia REPL. JULIA_ERROR_COLOR The formatting Base.error_color() (default: light red, "\033[91m") that errors should have at the termi- nal. JULIA_WARN_COLOR The formatting Base.warn_color() @code_warntype is that non-concrete types are displayed in red; since this document is written in Markdown, which has no color, in this document, red text is denoted by uppercase. At the top, the inferred0 码力 | 1985 页 | 6.67 MB | 10 月前3
共 163 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17













