MCPcopy Create free account

hub / github.com/ZhangHanDong/tao-of-rust-codes / functions

Functions413 in github.com/ZhangHanDong/tao-of-rust-codes

↓ 21 callersMethodinsert
src/ch13/callrust/Ruby/database.rb:7
↓ 13 callersMethodlen
(&self)
src/appendix/lldb.rs:22
↓ 12 callersMethodclone
(&self)
src/ch03/tag_trait.rs:27
↓ 10 callersFunctionload_csv
# Usage: ```ignore use std::path::PathBuf; let filename = PathBuf::from("./files/challenge.csv"); let csv_data = load_csv(filename); assert!(csv_data.
src/ch10/csv_challenge/src/core/read.rs:10
↓ 9 callersFunctionf
()
src/ch06/functions.rs:71
↓ 6 callersFunctionopen
(path: PathBuf)
src/ch10/csv_challenge/src/core/read.rs:37
↓ 6 callersMethodpush16
(&mut self, data: u16)
src/appendix/lldb.rs:73
↓ 6 callersFunctionreplace_column
(data: String, column: &str, replacement: &str)
src/ch10/csv_challenge/src/core/write.rs:2
↓ 5 callersMethodpush8
(&mut self, data: u8)
src/appendix/lldb.rs:68
↓ 4 callersMethodquery
(zip)
src/ch13/callrust/Ruby/database.rb:10
↓ 4 callersFunctionwrite_csv
# Usage: ```ignore let filename = PathBuf::from("./files/challenge.csv"); let csv_data = load_csv(filename).unwrap(); let modified_data = replace_colu
src/ch10/csv_challenge/src/core/read.rs:23
↓ 3 callersMethodfly
(&self)
src/ch03/abstract_type.rs:130
↓ 3 callersMethodget
(&self, zip: &str)
src/ch13/callrust/src/lib.rs:106
↓ 3 callersMethodhas_work
(&self)
src/ch11/thread_pool/src/main.rs:30
↓ 3 callersMethodjoin
(&self)
src/ch11/thread_pool/src/main.rs:60
↓ 3 callersFunctionnew_impl
(ast: &syn::DeriveInput, fields: Option<&syn::punctuated::Punctuated<syn::Field, Token![,]>>,
src/ch12/derive-new/src/lib.rs:34
↓ 2 callersFunctionadd_quickly_fallback
(a: &[u8], b: &[u8], c: &mut [u8])
src/ch11/simd-demo/src/main.rs:29
↓ 2 callersFunctionadd_quickly_fallback
cargo run --bin auto_vector
src/ch11/simd-demo/src/auto_vector.rs:2
↓ 2 callersMethodbaz
(&self)
src/ch03/abstract_type.rs:31
↓ 2 callersFunctioncan_fly
(s: impl Fly+Debug)
src/ch03/abstract_type.rs:142
↓ 2 callersFunctiondatabase_query
(ptr: *const Database, zip: *const c_char)
src/ch13/callrust/src/lib.rs:126
↓ 2 callersMethodfly
(&self)
src/ch01/mod.rs:28
↓ 2 callersFunctionfoobar
(i: i32)
src/ch03/generics.rs:121
↓ 2 callersFunctionmove_coords
( x: (i32,i32) )
src/ch02/primitives.rs:246
↓ 2 callersMethodmy_add
(self, rhs: i32)
src/ch03/traits.rs:96
↓ 2 callersMethodno_work_notify_all
(&self)
src/ch11/thread_pool/src/main.rs:35
↓ 2 callersMethodpush_header
(&mut self, header: &Header)
src/appendix/lldb.rs:27
↓ 2 callersMethodquery
(self, zip)
src/ch13/callrust/Python/database.py:30
↓ 2 callersFunctionspawn_in_pool
(shared_data: Arc<ThreadPoolSharedData>)
src/ch11/thread_pool/src/main.rs:116
↓ 2 callersFunctionsquare
(x: T, y: T)
src/ch06/functions.rs:210
↓ 1 callersFunctionadd_quickly
LLVM为指定的平台自动向量化为AVX2,生成优化的向量化代码
src/ch11/simd-demo/src/main.rs:13
↓ 1 callersFunctionadd_quickly
LLVM为指定的平台自动向量化为AVX2,生成优化的向量化代码
src/ch11/simd-demo/src/auto_vector.rs:16
↓ 1 callersFunctionadd_quickly_avx2
(a: &[u8], b: &[u8], c: &mut [u8])
src/ch11/simd-demo/src/main.rs:25
↓ 1 callersFunctionadd_quickly_avx2
(a: &[u8], b: &[u8], c: &mut [u8])
src/ch11/simd-demo/src/auto_vector.rs:11
↓ 1 callersFunctionaddsub
(x: isize, y: isize)
src/ch06/functions.rs:167
↓ 1 callersMethodas_arg
(&self)
src/ch12/derive-new/src/lib.rs:92
↓ 1 callersMethodas_init
(&self)
src/ch12/derive-new/src/lib.rs:98
↓ 1 callersFunctionbar
(b: Box<for<'f> DoSomething<&'f usize>>)
src/ch06/closures.rs:638
↓ 1 callersFunctionbatman_song
(length: c_uint)
src/ch13/callrust/src/lib.rs:35
↓ 1 callersFunctionboxed_closure
(c: &mut Vec<Box<Fn()>>)
src/ch06/closures.rs:512
↓ 1 callersFunctionbubble_sort
(a: &mut Vec<i32>)
src/ch05/borrow.rs:73
↓ 1 callersMethodbuild
(self)
src/ch11/thread_pool/src/main.rs:91
↓ 1 callersMethodcall
(&self, args: ())
src/ch06/closures.rs:142
↓ 1 callersMethodcall_box
(self: Box<F>)
src/ch11/thread_pool/src/main.rs:12
↓ 1 callersMethodcall_mut
(&mut self, args: ())
src/ch06/closures.rs:136
↓ 1 callersMethodcall_once
(self, args: ())
src/ch06/closures.rs:130
↓ 1 callersMethodcancel
(mut self)
src/ch11/thread_pool/src/main.rs:165
↓ 1 callersFunctioncompute
(input: &u32, output: &mut u32)
src/ch05/borrow.rs:139
↓ 1 callersFunctioncompute_tuple
(tup: (u32, u32))
src/ch13/callrust/src/lib.rs:78
↓ 1 callersFunctioncounter
(i: i32)
src/ch06/closures.rs:48
↓ 1 callersFunctiondatabase_free
(ptr: *mut Database)
src/ch13/callrust/src/lib.rs:143
↓ 1 callersFunctiondatabase_insert
(ptr: *mut Database)
src/ch13/callrust/src/lib.rs:117
↓ 1 callersFunctiondatabase_new
()
src/ch13/callrust/src/lib.rs:112
↓ 1 callersMethoddo_sth
(&self, value: T)
src/ch06/closures.rs:634
↓ 1 callersFunctiondyn_can_fly
(s: impl Fly+Debug+'static)
src/ch03/abstract_type.rs:150
↓ 1 callersFunctiondynamic_dispatch
(t: &Bar)
src/ch03/abstract_type.rs:36
↓ 1 callersMethodeach
(&mut self, f: F)
src/ch06/iters.rs:356
↓ 1 callersMethodexecute
(&self, job: F)
src/ch11/thread_pool/src/main.rs:52
↓ 1 callersFunctionfind
( start_at: usize, sender: mpsc::Sender<Solution>, is_solution_found: Arc<AtomicBool> )
src/ch11/pow/src/main.rs:24
↓ 1 callersFunctionflip_things_around
(tup: Tuple)
src/ch13/callrust/src/lib.rs:84
↓ 1 callersFunctionfoo
()
src/ch12/simple_proc_macro/tests/test.rs:15
↓ 1 callersFunctionfoo
(s: &[i32])
src/ch03/type_cast.rs:31
↓ 1 callersFunctionfoo
()
src/ch03/bottom_type.rs:26
↓ 1 callersFunctionfoo
(x: &'a str, y: &'a str)
src/ch05/nll.rs:117
↓ 1 callersFunctionfoo
(mut v: [i32; 3])
src/ch05/borrow.rs:31
↓ 1 callersFunctionfoo
(x: u32)
src/ch04/general_concepts.rs:17
↓ 1 callersFunctionfree_song
(s: *mut c_char)
src/ch13/callrust/src/lib.rs:45
↓ 1 callersFunctionhello
(ptr, len)
src/ch13/wasm-bindgen-demo/define.js:1
↓ 1 callersFunctionhm_chars
(s: *const c_char)
src/ch13/callrust/src/lib.rs:22
↓ 1 callersMethodinsert
(&mut self)
src/ch13/callrust/src/lib.rs:100
↓ 1 callersMethodinsert
(self)
src/ch13/callrust/Python/database.py:28
↓ 1 callersFunctioninterop_sort
src/ch13/rustcallcapp/cpp_src/sorting.cpp:2
↓ 1 callersFunctionmodify
(mut v: Vec<u32>)
src/ch06/functions.rs:30
↓ 1 callersMethodname
(&self)
src/ch02/structs.rs:51
↓ 1 callersMethodnew
()
src/ch13/callrust/src/lib.rs:95
↓ 1 callersFunctionnew_for_struct
(ast: &syn::DeriveInput,fields: &syn::Fields)
src/ch12/derive-new/src/lib.rs:19
↓ 1 callersMethodnum_threads
(mut self, num_threads: usize)
src/ch11/thread_pool/src/main.rs:86
↓ 1 callersFunctionprint_hello_from_rust
()
src/ch13/callrust/src/lib.rs:53
↓ 1 callersMethodpush_back_bytes
(&mut self, data: &[u8])
src/appendix/lldb.rs:35
↓ 1 callersFunctionpush_ipv4
(packet: &mut Packet)
src/appendix/lldb.rs:93
↓ 1 callersFunctionpush_mac
(packet: &mut Packet)
src/appendix/lldb.rs:112
↓ 1 callersFunctionread
(path: PathBuf)
src/ch10/csv_challenge/src/core/read.rs:28
↓ 1 callersFunctionread_kv
()
src/ch10/static_hashmap/src/main.rs:22
↓ 1 callersFunctionread_kv
()
src/ch10/static_hashmap_2018/src/read_func.rs:3
↓ 1 callersFunctionread_kv
()
src/ch10/static_hashmap_2015/src/static_func/read_func.rs:2
↓ 1 callersFunctionregex_date
(text: &str)
src/ch10/use_regex/src/main.rs:16
↓ 1 callersFunctionrun
(filename: Option<String>)
src/ch09/examples/io_origin_refactor4.rs:63
↓ 1 callersFunctionrun
(filename: Option<String>)
src/ch09/examples/io_origin_refactor.rs:49
↓ 1 callersFunctionrun
(filename: &str)
src/ch09/examples/io_origin_refactor3.rs:50
↓ 1 callersFunctionrun
(filename: &str)
src/ch09/examples/io_origin.rs:7
↓ 1 callersFunctionrun
(filename: Option<String>)
src/ch09/failures_crate/src/lib.rs:59
↓ 1 callersFunctionrw_mut_kv
()
src/ch10/static_hashmap/src/main.rs:28
↓ 1 callersFunctionrw_mut_kv
()
src/ch10/static_hashmap_2018/src/read_func.rs:8
↓ 1 callersFunctionrw_mut_kv
()
src/ch10/static_hashmap_2015/src/static_func/read_func.rs:7
↓ 1 callersMethodset_page
(&self, p: i32)
src/ch03/traits.rs:246
↓ 1 callersMethodset_perpage
(&self, num: i32)
src/ch03/traits.rs:251
↓ 1 callersMethodset_skip_page
(&self, num: i32)
src/ch03/traits.rs:256
↓ 1 callersMethodshow
(&self)
src/ch06/functions.rs:254
↓ 1 callersFunctionsort_from_cpp
对interop_sort函数的安全抽象
src/ch13/rustcallcapp/src/main.rs:10
↓ 1 callersFunctionstatic_dispatch
(t: &T)
src/ch03/abstract_type.rs:33
next →1–100 of 413, ranked by callers