Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ functions
Functions
1,421 in github.com/QMHTMY/RustBook
⨍
Functions
1,421
◇
Types & classes
297
↓ 2 callers
Method
max
(&self)
code/chapter07/bst.rs:160
↓ 2 callers
Method
merge
归并排序
publication/code/chapter07/tim_sort_without_gallop.rs:193
↓ 2 callers
Method
merge
归并排序
publication/code/chapter07/tim_sort.rs:224
↓ 2 callers
Function
merge_sort
A、B、C 归并排序
publication/code/chapter07/tim_sort_without_gallop.rs:151
↓ 2 callers
Function
merge_sort
A、B、C 归并排序
publication/code/chapter07/tim_sort.rs:139
↓ 2 callers
Function
mersenne_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 callers
Function
mersenne_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 callers
Method
min
(&self)
publication/code/chapter08/bst.rs:204
↓ 2 callers
Method
mining
(&mut self, txs: &mut Vec<Transaction>)
publication/code/chapter10/blockchain/blockchain7/core/src/mine.rs:21
↓ 2 callers
Method
mining
(&mut self, txs: &mut Vec<Transaction>)
publication/code/chapter10/blockchain/blockchain8/core/src/mine.rs:20
↓ 2 callers
Method
mining
(&mut self, txs: &mut Vec<Transaction>)
code/chapter09/blockchain/blockchain7/core/src/mine.rs:21
↓ 2 callers
Method
mining
(&mut self, txs: &mut Vec<Transaction>)
code/chapter09/blockchain/blockchain8/core/src/mine.rs:20
↓ 2 callers
Function
move_down
大的数据项下移
publication/code/chapter07/heap_sort.rs:35
↓ 2 callers
Function
move_down
大的数据项下移
code/chapter06/heap_sort.rs:37
↓ 2 callers
Method
move_down
大数据下沉 l(left), r(right)
publication/code/chapter08/binary_heap.rs:125
↓ 2 callers
Method
move_down
大数据下沉 l(left), r(right)
code/chapter07/binary_heap.rs:128
↓ 2 callers
Method
next
(&mut self)
publication/code/chapter04/lvec.rs:161
↓ 2 callers
Method
next
(&mut self)
code/chapter03/linked_list.rs:84
↓ 2 callers
Function
nums_sum1
(nums: &[i32])
publication/code/chapter05/nums_sum12.rs:3
↓ 2 callers
Function
nums_sum2
(nums: &[i32])
publication/code/chapter05/nums_sum12.rs:12
↓ 2 callers
Function
ordered_sequential_search
(nums: &[i32], num: i32)
publication/code/chapter06/ordered_sequential_search.rs:3
↓ 2 callers
Function
ordered_sequential_search
(nums: &[i32], num: i32)
code/chapter05/ordered_sequential_search.rs:3
↓ 2 callers
Function
palindrome_checker
回文检查
publication/code/chapter04/palindrome_checker.rs:48
↓ 2 callers
Function
par_checker1
(par: &str)
publication/code/chapter04/par_checker1.rs:33
↓ 2 callers
Function
par_checker1
(par: &str)
code/chapter03/par_checker1.rs:31
↓ 2 callers
Function
par_checker2
(par: &str)
publication/code/chapter04/par_checker2.rs:40
↓ 2 callers
Function
par_checker2
(par: &str)
code/chapter03/par_checker2.rs:38
↓ 2 callers
Function
par_checker3
(par: &str)
publication/code/chapter04/par_checker3.rs:40
↓ 2 callers
Function
par_checker3
(par: &str)
code/chapter03/par_checker3.rs:38
↓ 2 callers
Method
print_lvec
打印 LVec,当然也可以实习 ToString 特性
code/chapter03/lvec.rs:125
↓ 2 callers
Method
push
(&mut self, val: T)
publication/code/chapter04/par_checker3.rs:17
↓ 2 callers
Method
push
(&mut self, val: T)
publication/code/chapter04/postfix_eval.rs:17
↓ 2 callers
Method
push
(&mut self, val: T)
publication/code/chapter04/par_checker2.rs:17
↓ 2 callers
Method
push
(&mut self, val: T)
publication/code/chapter04/par_checker1.rs:17
↓ 2 callers
Method
push
(&mut self, val: T)
publication/code/chapter05/num2str_stk.rs:17
↓ 2 callers
Method
push
(&mut self, val: T)
code/chapter04/num2str_stk.rs:15
↓ 2 callers
Method
push
(&mut self, val: T)
code/chapter03/par_checker3.rs:15
↓ 2 callers
Method
push
(&mut self, val: T)
code/chapter03/postfix_eval.rs:15
↓ 2 callers
Method
push
(&mut self, val: T)
code/chapter03/par_checker2.rs:15
↓ 2 callers
Method
push
(&mut self, val: T)
code/chapter03/par_checker1.rs:15
↓ 2 callers
Method
remove
删除一个结点
publication/code/chapter10/conshash.rs:78
↓ 2 callers
Method
remove
(&mut self, node: &T)
code/chapter09/conshash.rs:75
↓ 2 callers
Method
search
(&self, word: &str)
code/chapter09/trie.rs:31
↓ 2 callers
Function
serialize
(value: &T)
publication/code/chapter10/blockchain/blockchain2/utils/src/serializer.rs:6
↓ 2 callers
Function
serialize
序列化数据
publication/code/chapter10/blockchain/blockchain1/utils/src/serializer.rs:7
↓ 2 callers
Function
serialize
(value: &T)
code/chapter09/blockchain/blockchain2/utils/src/serializer.rs:6
↓ 2 callers
Function
serialize
序列化数据
code/chapter09/blockchain/blockchain1/utils/src/serializer.rs:7
↓ 2 callers
Method
size
(&self, mut size: usize)
publication/code/chapter08/rbtree.rs:79
↓ 2 callers
Method
size
(&self)
code/chapter03/hot_potato.rs:34
↓ 2 callers
Method
start_with
判断是否存在以某个前缀开头的单词
publication/code/chapter10/trie.rs:39
↓ 2 callers
Method
start_with
判断是否存在以某个前缀开头的单词
code/chapter09/trie.rs:36
↓ 2 callers
Method
transfer_to
交易,此处就只是转移比特币
publication/code/chapter10/blockchain/blockchain5/core/src/account.rs:35
↓ 2 callers
Method
transfer_to
交易,此处就只是转移比特币
code/chapter09/blockchain/blockchain5/core/src/account.rs:35
↓ 2 callers
Method
vertex_keys
获取所有节点的 key
publication/code/chapter09/graph_adjlist.rs:104
↓ 2 callers
Method
vertex_keys
获取所有节点的 key
code/chapter08/graph_adjlist.rs:104
↓ 2 callers
Method
word_node
前缀字符串 wps: word_prefix_string
publication/code/chapter10/trie.rs:45
↓ 2 callers
Method
word_node
前缀字符串 wps: word_prefix_string
code/chapter09/trie.rs:42
↓ 1 callers
Method
account_info
(&self)
publication/code/chapter10/blockchain/blockchain6/core/src/account.rs:59
↓ 1 callers
Method
account_info
(&self)
publication/code/chapter10/blockchain/blockchain5/core/src/account.rs:60
↓ 1 callers
Method
account_info
(&self)
publication/code/chapter10/blockchain/blockchain7/core/src/account.rs:59
↓ 1 callers
Method
account_info
(&self)
publication/code/chapter10/blockchain/blockchain8/core/src/account.rs:59
↓ 1 callers
Method
account_info
(&self)
code/chapter09/blockchain/blockchain6/core/src/account.rs:59
↓ 1 callers
Method
account_info
(&self)
code/chapter09/blockchain/blockchain5/core/src/account.rs:60
↓ 1 callers
Method
account_info
(&self)
code/chapter09/blockchain/blockchain7/core/src/account.rs:59
↓ 1 callers
Method
account_info
(&self)
code/chapter09/blockchain/blockchain8/core/src/account.rs:59
↓ 1 callers
Method
add_block
(&mut self, block: Block)
publication/code/chapter10/blockchain/blockchain7/core/src/blockchain.rs:62
↓ 1 callers
Method
add_block
(&mut self, block: Block)
publication/code/chapter10/blockchain/blockchain8/core/src/blockchain.rs:62
↓ 1 callers
Method
add_block
(&mut self, block: Block)
code/chapter09/blockchain/blockchain7/core/src/blockchain.rs:62
↓ 1 callers
Method
add_block
(&mut self, block: Block)
code/chapter09/blockchain/blockchain8/core/src/blockchain.rs:62
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/find_province_num_bfs.rs:109
↓ 1 callers
Method
add_edge
添加边
publication/code/chapter09/word_ladder.rs:118
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/course_topological_sort.rs:62
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/find_province_num_dfs.rs:67
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/knight_tour.rs:71
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
publication/code/chapter09/cooking_topological_sort.rs:60
↓ 1 callers
Method
add_edge
添加边
code/chapter08/word_ladder.rs:118
↓ 1 callers
Method
add_edge
(&mut self, src: &T, des: &T)
code/chapter08/kinght_tour.rs:71
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
publication/code/chapter09/find_province_num_bfs.rs:70
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T, wt: u32)
publication/code/chapter09/word_ladder.rs:70
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
publication/code/chapter09/course_topological_sort.rs:32
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
publication/code/chapter09/find_province_num_dfs.rs:29
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
publication/code/chapter09/knight_tour.rs:34
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T, wt: i32)
publication/code/chapter09/graph_adjlist.rs:30
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
publication/code/chapter09/cooking_topological_sort.rs:31
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T, wt: u32)
code/chapter08/word_ladder.rs:70
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T, wt: i32)
code/chapter08/graph_adjlist.rs:28
↓ 1 callers
Method
add_neighbor
(&mut self, nbr: T)
code/chapter08/kinght_tour.rs:34
↓ 1 callers
Method
add_rear
(&mut self, val: T)
publication/code/chapter04/palindrome_checker.rs:17
↓ 1 callers
Method
add_rear
(&mut self, val: T)
code/chapter03/palindrome_checker.rs:15
↓ 1 callers
Function
anagram_solution2
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution2.rs:3
↓ 1 callers
Function
anagram_solution2
(s1: &str, s2: &str)
code/chapter02/anagram_solution2.rs:1
↓ 1 callers
Function
anagram_solution3
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution3.rs:3
↓ 1 callers
Function
anagram_solution3
(s1: &str, s2: &str)
code/chapter02/anagram_solution3.rs:1
↓ 1 callers
Function
anagram_solution4
(s1: &str, s2: &str)
publication/code/chapter03/anagram_solution4.rs:3
↓ 1 callers
Function
anagram_solution4
(s1: &str, s2: &str)
code/chapter02/anagram_solution4.rs:1
↓ 1 callers
Function
basic
()
publication/code/chapter06/hashmap.rs:221
↓ 1 callers
Function
basic
()
publication/code/chapter04/lvec.rs:192
↓ 1 callers
Function
basic
()
publication/code/chapter04/stack.rs:118
↓ 1 callers
Function
basic
()
publication/code/chapter04/queue.rs:121
↓ 1 callers
Function
basic
()
publication/code/chapter04/list_stack.rs:128
← previous
next →
301–400 of 1,421, ranked by callers