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
add_vertex
(&mut self, key: &T)
publication/code/chapter09/find_province_num_dfs.rs:61
↓ 2 callers
Method
add_vertex
(&mut self, key: &T)
publication/code/chapter09/knight_tour.rs:65
↓ 2 callers
Method
add_vertex
(&mut self, key: &T)
publication/code/chapter09/cooking_topological_sort.rs:54
↓ 2 callers
Method
add_vertex
添加点
code/chapter08/word_ladder.rs:111
↓ 2 callers
Method
add_vertex
(&mut self, key: &T)
code/chapter08/kinght_tour.rs:65
↓ 2 callers
Method
adjacent_key
判断与当前点是否相邻
publication/code/chapter09/graph_adjlist.rs:22
↓ 2 callers
Method
adjacent_key
判断与当前点是否相邻
code/chapter08/graph_adjlist.rs:20
↓ 2 callers
Function
base_converter
(mut dec_num: u32, base: u32)
publication/code/chapter04/base_converter.rs:33
↓ 2 callers
Function
base_converter
(mut dec_num: u32, base: u32)
code/chapter03/base_converter.rs:31
↓ 2 callers
Function
binary_insertion_sort
二分插入排序
publication/code/chapter07/tim_sort_without_gallop.rs:115
↓ 2 callers
Function
binary_search1
(nums: &[i32], num: i32)
publication/code/chapter06/binary_search.rs:3
↓ 2 callers
Function
binary_search1
(nums: &[i32], num: i32)
code/chapter05/binary_search.rs:3
↓ 2 callers
Function
binary_search2
(nums: &[i32], num: i32)
publication/code/chapter06/binary_search.rs:27
↓ 2 callers
Function
binary_search2
(nums: &[i32], num: i32)
code/chapter05/binary_search.rs:27
↓ 2 callers
Method
clear
(&mut self)
publication/code/chapter04/lvec.rs:46
↓ 2 callers
Method
contains
数据查询
publication/code/chapter10/bloom_filter.rs:46
↓ 2 callers
Method
contains
判断单词是否存在
publication/code/chapter10/trie.rs:34
↓ 2 callers
Method
contains
(&self, key: &T)
publication/code/chapter09/word_ladder.rs:102
↓ 2 callers
Method
contains
(&self, key: &T)
publication/code/chapter09/graph_adjlist.rs:79
↓ 2 callers
Method
contains
数据查询
code/chapter09/bloom_filter.rs:44
↓ 2 callers
Method
contains
(&self, key: &T)
code/chapter08/word_ladder.rs:102
↓ 2 callers
Method
contains
(&self, key: &T)
code/chapter08/graph_adjlist.rs:81
↓ 2 callers
Function
copy_nonoverlapping_backwards
数据直接拷贝放回,无重叠
publication/code/chapter07/tim_sort.rs:413
↓ 2 callers
Function
delete_spaces
(src: &str)
publication/code/chapter01/use_cow.rs:5
↓ 2 callers
Function
delete_spaces2
(src: &'a str)
publication/code/chapter01/use_cow.rs:16
↓ 2 callers
Method
dequeue
(&mut self)
publication/code/chapter08/bst.rs:30
↓ 2 callers
Method
dequeue
(&mut self)
publication/code/chapter08/avl.rs:39
↓ 2 callers
Method
dequeue
(&mut self)
publication/code/chapter08/binary_tree.rs:38
↓ 2 callers
Function
edit_distance
(source: &str, target: &str)
publication/code/chapter10/edit_distance.rs:5
↓ 2 callers
Method
enqueue
(&mut self, val: T)
publication/code/chapter04/hot_potato.rs:17
↓ 2 callers
Method
enqueue
(&mut self, val: T)
publication/code/chapter09/find_province_num_bfs.rs:20
↓ 2 callers
Method
enqueue
(&mut self, val: T)
publication/code/chapter09/word_ladder.rs:21
↓ 2 callers
Method
enqueue
(&mut self, val: T)
code/chapter03/hot_potato.rs:17
↓ 2 callers
Method
enqueue
(&mut self, val: T)
code/chapter08/word_ladder.rs:21
↓ 2 callers
Function
gallop
跳跃式模糊查找,确定位置
publication/code/chapter07/tim_sort.rs:90
↓ 2 callers
Method
get_connects
获取相邻的点集合
code/chapter08/graph_adjlist.rs:33
↓ 2 callers
Method
get_first
(&self)
publication/code/chapter09/bfs.rs:43
↓ 2 callers
Method
get_first
(&self)
publication/code/chapter09/dfs.rs:42
↓ 2 callers
Method
get_first
(&self)
code/chapter08/bfs.rs:41
↓ 2 callers
Method
get_first
(&self)
code/chapter08/dfs.rs:40
↓ 2 callers
Method
get_index
获取比特桶某位下标
publication/code/chapter10/bloom_filter.rs:66
↓ 2 callers
Method
get_index
获取比特桶某位下标
code/chapter09/bloom_filter.rs:64
↓ 2 callers
Method
get_key
(&self)
code/chapter07/binary_tree.rs:58
↓ 2 callers
Method
get_neighbors
获取相邻的点集合
publication/code/chapter09/graph_adjlist.rs:35
↓ 2 callers
Method
get_pos
(&self, key: usize)
publication/code/chapter06/hashmap.rs:139
↓ 2 callers
Function
hamming_distance1
(source: u64, target: u64)
publication/code/chapter10/hamming_distance.rs:3
↓ 2 callers
Function
hash1
(ascii_str: &str, size: usize)
publication/code/chapter06/hash.rs:3
↓ 2 callers
Function
hash1
(ascii_str: &str, size: usize)
code/chapter05/hash.rs:1
↓ 2 callers
Function
hash2
(ascii_str: &str, size: usize)
publication/code/chapter06/hash.rs:19
↓ 2 callers
Function
hash_str
(value: &[u8])
publication/code/chapter10/blockchain/blockchain2/utils/src/serializer.rs:12
↓ 2 callers
Function
hash_str
(value: &[u8])
publication/code/chapter10/blockchain/blockchain3/utils/src/serializer.rs:12
↓ 2 callers
Function
hash_str
计算 value 哈希值并以 String 形式返回
publication/code/chapter10/blockchain/blockchain1/utils/src/serializer.rs:14
↓ 2 callers
Function
hash_str
(value: &[u8])
code/chapter09/blockchain/blockchain2/utils/src/serializer.rs:12
↓ 2 callers
Function
hash_str
(value: &[u8])
code/chapter09/blockchain/blockchain3/utils/src/serializer.rs:12
↓ 2 callers
Function
hash_str
计算 value 哈希值并以 String 形式返回
code/chapter09/blockchain/blockchain1/utils/src/serializer.rs:14
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain6/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain3/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain4/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain5/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain7/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
publication/code/chapter10/blockchain/blockchain8/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain6/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain3/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain4/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain5/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain7/utils/src/serializer.rs:18
↓ 2 callers
Function
hash_u8
(value: &[u8], mut out: &mut [u8])
code/chapter09/blockchain/blockchain8/utils/src/serializer.rs:18
↓ 2 callers
Method
insert
(&mut self, data: usize)
publication/code/chapter09/dfs.rs:46
↓ 2 callers
Method
insert
(&mut self, data: usize)
code/chapter08/dfs.rs:53
↓ 2 callers
Method
insert_left_tree
新子节点作为根节点的左子节点
publication/code/chapter08/binary_tree.rs:182
↓ 2 callers
Method
insert_right_tree
新子节点作为根节点的右子节点
publication/code/chapter08/binary_tree.rs:194
↓ 2 callers
Function
insertion_sort
(list: &mut [i32])
publication/code/chapter07/tim_sort.rs:437
↓ 2 callers
Function
interpolation_search
(nums: &[i32], target: i32)
publication/code/chapter06/interpolation_search.rs:3
↓ 2 callers
Method
into_iter
以下是实现的三种迭代功能 into_iter: 链表改变,成为迭代器 iter: 链表不变,只得到不可变迭代器 iter_mut: 链表不变,得到可变迭代器
code/chapter03/linked_list.rs:67
↓ 2 callers
Method
is_adjacent
判断两个点是否相邻
publication/code/chapter09/graph_adjlist.rs:153
↓ 2 callers
Method
is_adjacent
判断两个点是否相邻
code/chapter08/graph_adjlist.rs:155
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter04/par_checker3.rs:28
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter04/lvec.rs:38
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter04/par_checker2.rs:28
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter04/par_checker1.rs:28
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter10/cuckoofilter/src/bucket.rs:26
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter09/dfs.rs:38
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter08/bst.rs:38
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter08/avl.rs:22
↓ 2 callers
Method
is_empty
(&self)
publication/code/chapter08/binary_tree.rs:21
↓ 2 callers
Method
is_empty
(&self)
code/chapter03/par_checker3.rs:26
↓ 2 callers
Method
is_empty
(&self)
code/chapter03/lvec.rs:46
↓ 2 callers
Method
is_empty
(&self)
code/chapter03/par_checker2.rs:26
↓ 2 callers
Method
is_empty
(&self)
code/chapter03/par_checker1.rs:26
↓ 2 callers
Method
is_empty
(&self)
code/chapter09/cuckoofilter/src/bucket.rs:25
↓ 2 callers
Method
is_empty
(&self)
code/chapter08/dfs.rs:36
↓ 2 callers
Method
iter
(&self)
publication/code/chapter04/stack.rs:64
↓ 2 callers
Method
iter
(&self)
publication/code/chapter04/queue.rs:61
↓ 2 callers
Method
iter
(&self)
publication/code/chapter04/list_stack.rs:84
↓ 2 callers
Method
iter
(&self)
publication/code/chapter04/deque.rs:80
↓ 2 callers
Method
len
(&self)
publication/code/chapter08/avl.rs:26
↓ 2 callers
Method
len
(&self)
publication/code/chapter08/binary_tree.rs:25
↓ 2 callers
Method
len
(&self)
publication/code/chapter08/rbtree.rs:45
↓ 2 callers
Method
make_hash
计算哈希
publication/code/chapter10/bloom_filter.rs:55
↓ 2 callers
Method
make_hash
计算哈希
code/chapter09/bloom_filter.rs:53
← previous
next →
201–300 of 1,421, ranked by callers