検索

phrase: max: clip:
target: order:
Results of 1 - 9 of about 9 for process (0.018 sec.)
パイプ - Rust By Example 日本語版 12420
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... d::error::Error; use std::io::prelude::*; use std::process::{Command, Stdio}; static PANGRAM: &'static str = ... n the `wc` command // `wc`コマンドを起動する。 let process = match Command::new("wc") .stdin(Stdio::piped()) ... r(why) => panic!("couldn't spawn wc: {}", why), Ok(process) => process, }; // Write a string to the `stdin` o ... 確かなので、いきなり`unwrap`してしまってよい。 match process.stdin.unwrap().write_all(PANGRAM.as_bytes()) { Err ...
https://man.plustar.jp/rust/example/std_misc/process/pipe.html - [similar]
子プロセス - Rust By Example 日本語版 11000
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... Coal Navy Ayu Rust By Example 日本語版 子プロセス process::Output 構造体は終了したプロセスのアウトプットを表 ... し、 process::Command 構造体はプロセスの作成を行います。 use st ... d::process::Command; fn main() { let output = Command::new("r ... t().unwrap_or_else(|e| { panic!("failed to execute process: {}", e) }); if output.status.success() { let s = ...
https://man.plustar.jp/rust/example/std_misc/process.html - [similar]
Combinators: map - Rust By Example 日本語版 10461
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ればならない場合にさらに際立ちます。 以下の例では、 process() が直前の関数全てを用いた場合と同じ機能を、よりコ ... せて、上のプロセスをシンプルにすることもできる。 fn process(food: Option<Food>) -> Option<Cooked> { food.map(| ... (peel(carrot))); // Let's try the simpler looking `process()` now. // よりシンプルな見た目の`process()`を使用 ... する。 let cooked_potato = process(potato); eat(cooked_apple); eat(cooked_carrot); ea ...
https://man.plustar.jp/rust/example/error/option_unwrap/map.html - [similar]
dropの延期 - Rust By Example 日本語版 9221
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... le 日本語版 dropの延期 If you'd like to wait for a process::Child to finish, you must call Child::wait , whic ... h will return a process::ExitStatus . use std::process::Command; fn main() ...
https://man.plustar.jp/rust/example/std_misc/process/wait.html - [similar]
Testcase: map-reduce - Rust By Example 日本語版 7962
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... reduce Rust makes it very easy to parallelise data processing, without many of the headaches traditionally as ... e `main` thread fn main() { // This is our data to process. // We will calculate the sum of all digits via a ... * Divide our data into segments, and apply initial processing *********************************************** ... ("data segment {} is \"{}\"", i, data_segment); // Process each data segment in a separate thread // // spawn ...
https://man.plustar.jp/rust/example/std_misc/threads/testcase_mapreduce.html - [similar]
impl Trait - Rust By Example 日本語版 7962
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... map(|line| { // If the line was read successfully, process it, if not, return the error line.split(',') // Sp ... map(|line| { // If the line was read successfully, process it, if not, return the error line.split(',') // Sp ...
https://man.plustar.jp/rust/example/trait/impl_trait.html - [similar]
Diverging functions - Rust By Example 日本語版 7261
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ke network servers or functions that terminate the process (e.g. exit() ). 関連キーワード: functions , type , ...
https://man.plustar.jp/rust/example/fn/diverging.html - [similar]
read lines - Rust By Example 日本語版 7261
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ines.rs && ./read_lines 127.0.0.1 192.168.0.1 This process is more efficient than creating a String in memory ...
https://man.plustar.jp/rust/example/std_misc/file/read_lines.html - [similar]
メモリ解放 - Rust By Example 日本語版 7261
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ている型の例としては Box 、 Vec 、 String 、 File 、 Process 等があげられます。 Drop トレイトは任意の型に対して ...
https://man.plustar.jp/rust/example/trait/drop.html - [similar]
PREV 1 NEXT