MCPcopy Create free account

hub / github.com/QMHTMY/RustBook / functions

Functions1,421 in github.com/QMHTMY/RustBook

↓ 2 callersMethodmax
(&self)
code/chapter07/bst.rs:160
↓ 2 callersMethodmerge
归并排序
publication/code/chapter07/tim_sort_without_gallop.rs:193
↓ 2 callersMethodmerge
归并排序
publication/code/chapter07/tim_sort.rs:224
↓ 2 callersFunctionmerge_sort
A、B、C 归并排序
publication/code/chapter07/tim_sort_without_gallop.rs:151
↓ 2 callersFunctionmerge_sort
A、B、C 归并排序
publication/code/chapter07/tim_sort.rs:139
↓ 2 callersFunctionmersenne_hash
梅森哈希 用梅森素数 127 计算哈希值 # Example ``` use hash::merhash::mersenne_hash; let seed = "jdxjp"; let hash = mersenne_hash(&seed); assert_eq!(2000375, hash)
publication/code/chapter01/PasswdGenerator/hash/src/merhash.rs:13
↓ 2 callersFunctionmersenne_hash
梅森哈希 用梅森素数 127 计算哈希值 # Example ``` use hash::merhash::mersenne_hash; let seed = "jdxjp"; let hash = mersenne_hash(&seed); assert_eq!(2000375, hash)
publication/code/chapter10/PasswdGenerator/hash/src/merhash.rs:13
↓ 2 callersMethodmin
(&self)
publication/code/chapter08/bst.rs:204
↓ 2 callersMethodmining
(&mut self, txs: &mut Vec<Transaction>)
publication/code/chapter10/blockchain/blockchain7/core/src/mine.rs:21
↓ 2 callersMethodmining
(&mut self, txs: &mut Vec<Transaction>)
publication/code/chapter10/blockchain/blockchain8/core/src/mine.rs:20
↓ 2 callersMethodmining
(&mut self, txs: &mut Vec<Transaction>)
code/chapter09/blockchain/blockchain7/core/src/mine.rs:21
↓ 2 callersMethodmining
(&mut self, txs: &mut Vec<Transaction>)
code/chapter09/blockchain/blockchain8/core/src/mine.rs:20
↓ 2 callersFunctionmove_down
大的数据项下移
publication/code/chapter07/heap_sort.rs:35
↓ 2 callersFunctionmove_down
大的数据项下移
code/chapter06/heap_sort.rs:37
↓ 2 callersMethodmove_down
大数据下沉 l(left), r(right)
publication/code/chapter08/binary_heap.rs:125
↓ 2 callersMethodmove_down
大数据下沉 l(left), r(right)
code/chapter07/binary_heap.rs:128
↓ 2 callersMethodnext
(&mut self)
publication/code/chapter04/lvec.rs:161
↓ 2 callersMethodnext
(&mut self)
code/chapter03/linked_list.rs:84
↓ 2 callersFunctionnums_sum1
(nums: &[i32])
publication/code/chapter05/nums_sum12.rs:3
↓ 2 callersFunctionnums_sum2
(nums: &[i32])
publication/code/chapter05/nums_sum12.rs:12
↓ 2 callersFunctionordered_sequential_search
(nums: &[i32], num: i32)
publication/code/chapter06/ordered_sequential_search.rs:3
↓ 2 callersFunctionordered_sequential_search
(nums: &[i32], num: i32)
code/chapter05/ordered_sequential_search.rs:3
↓ 2 callersFunctionpalindrome_checker
回文检查
publication/code/chapter04/palindrome_checker.rs:48
↓ 2 callersFunctionpar_checker1
(par: &str)
publication/code/chapter04/par_checker1.rs:33
↓ 2 callersFunctionpar_checker1
(par: &str)
code/chapter03/par_checker1.rs:31
↓ 2 callersFunctionpar_checker2
(par: &str)
publication/code/chapter04/par_checker2.rs:40
↓ 2 callersFunctionpar_checker2
(par: &str)
code/chapter03/par_checker2.rs:38
↓ 2 callersFunctionpar_checker3
(par: &str)
publication/code/chapter04/par_checker3.rs:40
↓ 2 callersFunctionpar_checker3
(par: &str)
code/chapter03/par_checker3.rs:38
↓ 2 callersMethodprint_lvec
打印 LVec,当然也可以实习 ToString 特性
code/chapter03/lvec.rs:125
↓ 2 callersMethodpush
(&mut self, val: T)
publication/code/chapter04/par_checker3.rs:17
↓ 2 callersMethodpush
(&mut self, val: T)
publication/code/chapter04/postfix_eval.rs:17
↓ 2 callersMethodpush
(&mut self, val: T)
publication/code/chapter04/par_checker2.rs:17
↓ 2 callersMethodpush
(&mut self, val: T)
publication/code/chapter04/par_checker1.rs:17
↓ 2 callersMethodpush
(&mut self, val: T)
publication/code/chapter05/num2str_stk.rs:17
↓ 2 callersMethodpush
(&mut self, val: T)
code/chapter04/num2str_stk.rs:15
↓ 2 callersMethodpush
(&mut self, val: T)
code/chapter03/par_checker3.rs:15
↓ 2 callersMethodpush
(&mut self, val: T)
code/chapter03/postfix_eval.rs:15
↓ 2 callersMethodpush
(&mut self, val: T)
code/chapter03/par_checker2.rs:15
↓ 2 callersMethodpush
(&mut self, val: T)
code/chapter03/par_checker1.rs:15
↓ 2 callersMethodremove
删除一个结点
publication/code/chapter10/conshash.rs:78
↓ 2 callersMethodremove
(&mut self, node: &T)
code/chapter09/conshash.rs:75
↓ 2 callersMethodsearch
(&self, word: &str)
code/chapter09/trie.rs:31
↓ 2 callersFunctionserialize
(value: &T)
publication/code/chapter10/blockchain/blockchain2/utils/src/serializer.rs:6
↓ 2 callersFunctionserialize
序列化数据
publication/code/chapter10/blockchain/blockchain1/utils/src/serializer.rs:7
↓ 2 callersFunctionserialize
(value: &T)
code/chapter09/blockchain/blockchain2/utils/src/serializer.rs:6
↓ 2 callersFunctionserialize
序列化数据
code/chapter09/blockchain/blockchain1/utils/src/serializer.rs:7
↓ 2 callersMethodsize
(&self, mut size: usize)
publication/code/chapter08/rbtree.rs:79
↓ 2 callersMethodsize
(&self)
code/chapter03/hot_potato.rs:34
↓ 2 callersMethodstart_with
判断是否存在以某个前缀开头的单词
publication/code/chapter10/trie.rs:39
↓ 2 callersMethodstart_with
判断是否存在以某个前缀开头的单词
code/chapter09/trie.rs:36
↓ 2 callersMethodtransfer_to
交易,此处就只是转移比特币
publication/code/chapter10/blockchain/blockchain5/core/src/account.rs:35
↓ 2 callersMethodtransfer_to
交易,此处就只是转移比特币
code/chapter09/blockchain/blockchain5/core/src/account.rs:35
↓ 2 callersMethodvertex_keys
获取所有节点的 key
publication/code/chapter09/graph_adjlist.rs:104
↓ 2 callersMethodvertex_keys
获取所有节点的 key
code/chapter08/graph_adjlist.rs:104
↓ 2 callersMethodword_node
前缀字符串 wps: word_prefix_string
publication/code/chapter10/trie.rs:45
↓ 2 callersMethodword_node
前缀字符串 wps: word_prefix_string
code/chapter09/trie.rs:42
↓ 1 callersMethodaccount_info
(&self)
publication/code/chapter10/blockchain/blockchain6/core/src/account.rs:59
↓ 1 callersMethodaccount_info
(&self)
publication/code/chapter10/blockchain/blockchain5/core/src/account.rs:60
↓ 1 callersMethodaccount_info
(&self)
publication/code/chapter10/blockchain/blockchain7/core/src/account.rs:59
↓ 1 callersMethodaccount_info
(&self)
publication/code/chapter10/blockchain/blockchain8/core/src/account.rs:59
↓ 1 callersMethodaccount_info
(&self)
code/chapter09/blockchain/blockchain6/core/src/account.rs:59
↓ 1 callersMethodaccount_info
(&self)
code/chapter09/blockchain/blockchain5/core/src/account.rs:60
↓ 1 callersMethodaccount_info
(&self)
code/chapter09/blockchain/blockchain7/core/src/account.rs:59
↓ 1 callersMethodaccount_info
(&self)
code/chapter09/blockchain/blockchain8/core/src/account.rs:59
↓ 1 callersMethodadd_block
(&mut self, block: Block)
publication/code/chapter10/blockchain/blockchain7/core/src/blockchain.rs:62
↓ 1 callersMethodadd_block
(&mut self, block: Block)
publication/code/chapter10/blockchain/blockchain8/core/src/blockchain.rs:62
↓ 1 callersMethodadd_block
(&mut self, block: Block)
code/chapter09/blockchain/blockchain7/core/src/blockchain.rs:62
↓ 1 callersMethodadd_block
(&mut self, block: Block)
code/chapter09/blockchain/blockchain8/core/src/blockchain.rs:62
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/find_province_num_bfs.rs:109
↓ 1 callersMethodadd_edge
添加边
publication/code/chapter09/word_ladder.rs:118
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/course_topological_sort.rs:62
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/find_province_num_dfs.rs:67
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/knight_tour.rs:71
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/cooking_topological_sort.rs:60
↓ 1 callersMethodadd_edge
添加边
code/chapter08/word_ladder.rs:118
↓ 1 callersMethodadd_edge
(&mut self, src: &T, des: &T)
code/chapter08/kinght_tour.rs:71
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
publication/code/chapter09/find_province_num_bfs.rs:70
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T, wt: u32)
publication/code/chapter09/word_ladder.rs:70
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
publication/code/chapter09/course_topological_sort.rs:32
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
publication/code/chapter09/find_province_num_dfs.rs:29
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
publication/code/chapter09/knight_tour.rs:34
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T, wt: i32)
publication/code/chapter09/graph_adjlist.rs:30
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
publication/code/chapter09/cooking_topological_sort.rs:31
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T, wt: u32)
code/chapter08/word_ladder.rs:70
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T, wt: i32)
code/chapter08/graph_adjlist.rs:28
↓ 1 callersMethodadd_neighbor
(&mut self, nbr: T)
code/chapter08/kinght_tour.rs:34
↓ 1 callersMethodadd_rear
(&mut self, val: T)
publication/code/chapter04/palindrome_checker.rs:17
↓ 1 callersMethodadd_rear
(&mut self, val: T)
code/chapter03/palindrome_checker.rs:15
↓ 1 callersFunctionanagram_solution2
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution2.rs:3
↓ 1 callersFunctionanagram_solution2
(s1: &str, s2: &str)
code/chapter02/anagram_solution2.rs:1
↓ 1 callersFunctionanagram_solution3
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution3.rs:3
↓ 1 callersFunctionanagram_solution3
(s1: &str, s2: &str)
code/chapter02/anagram_solution3.rs:1
↓ 1 callersFunctionanagram_solution4
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution4.rs:3
↓ 1 callersFunctionanagram_solution4
(s1: &str, s2: &str)
code/chapter02/anagram_solution4.rs:1
↓ 1 callersFunctionbasic
()
publication/code/chapter06/hashmap.rs:221
↓ 1 callersFunctionbasic
()
publication/code/chapter04/lvec.rs:192
↓ 1 callersFunctionbasic
()
publication/code/chapter04/stack.rs:118
↓ 1 callersFunctionbasic
()
publication/code/chapter04/queue.rs:121
↓ 1 callersFunctionbasic
()
publication/code/chapter04/list_stack.rs:128
← previousnext →301–400 of 1,421, ranked by callers