PlantUML 1.2019.3 言語リファレンスガイド
definition You can also define macro with arguments. @startuml !define module(x) component x <<module>> module(ABC) module(XYZ) @enduml Macro can have several arguments. @startuml !define send(a,b polymorphic with argument count. @startuml !define module(x) component x <<module>> !define module(x,y) component x as y <<module>> module(foo) module(bar, barcode) @enduml You can use system environment0 码力 | 160 页 | 1.80 MB | 1 年前3PlantUML 1.2019.2 言語リファレンスガイド
definition You can also define macro with arguments. @startuml !define module(x) component x <<module>> module(ABC) module(XYZ) @enduml Macro can have several arguments. @startuml !define send(a,b polymorphic with argument count. @startuml !define module(x) component x <<module>> !define module(x,y) component x as y <<module>> module(foo) module(bar, barcode) @enduml You can use system environment0 码力 | 160 页 | 1.80 MB | 1 年前3PlantUML を使った UML の描き方 - PlantUML 言語リファレンスガイド(Version 1.2019.1)
definition You can also define macro with arguments. @startuml !define module(x) component x <<module>> module(ABC) module(XYZ) @enduml Macro can have several arguments. @startuml !define send(a,b polymorphic with argument count. @startuml !define module(x) component x <<module>> !define module(x,y) component x as y <<module>> module(foo) module(bar, barcode) @enduml You can use system environment0 码力 | 148 页 | 1.92 MB | 1 年前3PlantUML 1.2019.4 言語リファレンスガイド
definition You can also define macro with arguments. @startuml !define module(x) component x <<module>> module(ABC) module(XYZ) @enduml Macro can have several arguments. @startuml !define send(a,b polymorphic with argument count. @startuml !define module(x) component x <<module>> !define module(x,y) component x as y <<module>> module(foo) module(bar, barcode) @enduml You can use system environment0 码力 | 168 页 | 1.90 MB | 1 年前3CurveBS IO Processing Flow
1. A CopySet, as the basic unit of a consistent replication group, contains Consensus Module and Log Module. 2. The State Machine corresponds to the chunk in the CurveBS, and it applies the operations the CurveBS Client has been optimized to decouple the application from libcurve and add a NEBD module to join the two. l Nebdclient: Forward the requests from QEMU and curve-NBD to the specified processing flow CopysetNode is essentially a wrapper around the RAFT algorithm. The Copyset module encapsulates the RAFT Node of BRaft and implements the user state machine of BRaft. Take a write0 码力 | 13 页 | 2.03 MB | 5 月前3JavaScript Promiseの本 v1
より、内部的に使われてるケースが多いでしょう。 非同期処理を行うライブラリを書く際には、まずはコールバックスタイ ルの関数を書いて公開APIとすることをオススメします。 Node.jsのCore moduleがこの方法をとっているように、ライブラリが提 供するのは基本となるコールバックスタイル関数としたほうが、 利用者 がPromiseやGenerator等の好きな方法で実装ができるためです。 最 これらの処理をまとめたモジュールを作れば今後の拡張がしやすいですし、 一つの関数が やることも小さくて済むので見通しも良くなると思います。 モジュールの作り方は色々作法(AMD,CommonJS,ES6 module etc..)があるので ここで は、先ほどの cancelableXHR をNode.jsのモジュールとして作りなおしてみます。 cancelableXHR.js "use strict"; readyState !== XMLHttpRequest.UNSENT) { request.abort(); } } module.exports.createXHRPromise = createXHRPromise; module.exports.abortPromise = abortPromise; 使い方もシンプルに createXHRPromise でXHR0 码力 | 115 页 | 1.06 MB | 1 年前3JavaScript Promiseの本 v2
より、内部的に使われてるケースが多いでしょう。 非同期処理を行うライブラリを書く際には、まずはコールバックスタイ ルの関数を書いて公開APIとすることをオススメします。 Node.jsのCore moduleがこの方法をとっているように、ライブラリが提 供するのは基本となるコールバックスタイル関数としたほうが、 利用者 がPromiseやGenerator等の好きな方法で実装ができるためです。 最 すし、 一つの関数が やることも小さくて済むので見通しも良くなると思います。 90 JavaScript Promiseの本 モジュールの作り方は色々作法(AMD,CommonJS,ES module etc..)があるので ここで は、先ほどの cancelableXHR をNode.jsのモジュールとして作りなおしてみます。 cancelableXHR.js "use strict"; readyState !== XMLHttpRequest.UNSENT) { request.abort(); } } module.exports.createXHRPromise = createXHRPromise; module.exports.abortPromise = abortPromise; 使い方もシンプルに createXHRPromise でXHR0 码力 | 137 页 | 1.17 MB | 1 年前3Comprehensive Rust(日语) 202412
。 mod foo { pub fn do_something() { println!("In the foo module"); } } mod bar { pub fn do_something() { println!("In the bar module"); } } fn main() { foo::do_something(); bar::do_something(); はそれを別のファイルで探します。 mod garden; This tells Rust that the garden module content is found at src/garden.rs. Similarly, a garden::vegetables module can be found at src/garden/vegetables.rs. crate ルートは以下の場所にあります。 十分に実っている畑で作物を収穫します。 pub fn harvest(garden: &mut Garden) { todo!() } • Rust 2018 より前では、モジュールを module.rs ではなく module/mod.rs に配置する必要 がありました。これは 2018 以降のエディションでも依然としてサポートされています。 • filename/mod.rs の代わりに filename0 码力 | 381 页 | 1.36 MB | 10 月前3KiCad 8.0 PCB Editor
reflects the internal object structure inside KiCad’s Board Editor. It is provided by the pcbnew module in Python. NOTE Because the API is tightly coupled to KiCad’s internals, the API will change over python3 import sys from pcbnew import * filename=sys.argv[1] pcb = LoadBoard(filename) # Find module U304 u304 = pcb.FindFootprintByReference('U304') pads = u304.Pads() # Iterate over pads, printing0 码力 | 204 页 | 6.90 MB | 1 年前3Debian リファレンス v2.124
aptitude search ’~n(pam|nss).*ldap’ p libnss-ldap - NSS module for using LDAP as a naming service p libpam-ldap - Pluggable Authentication Module allowing LDAP interfaces これはパッケージの正確な名前を探すときに非常に便利です。 default=ignore] pam_unix.so obscure use_authtok try_first_pass ←� yescrypt # here’s the fallback if no module succeeds password requisite pam_deny.so # prime the stack with a positive return value if there V:430, I:989 113 initramfs をビルドするツール (Debian 固有) dkms V:74, I:162 196 動的カーネルモジュールサポート (DKMS) (汎用) module-assistant V:0, I:19 406 モジュールパッケージ作成用ヘルパーツール (Debian 固有) devscripts V:6, I:40 2658 Debian パッケージメンテナ用ヘルパースクリプト0 码力 | 287 页 | 1.60 MB | 1 年前3
共 11 条
- 1
- 2